/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-desc.c | 473 if (rdata->skb_dma) { in xgbe_unmap_rdata() 475 dma_unmap_page(pdata->dev, rdata->skb_dma, in xgbe_unmap_rdata() 478 dma_unmap_single(pdata->dev, rdata->skb_dma, in xgbe_unmap_rdata() 481 rdata->skb_dma = 0; in xgbe_unmap_rdata() 530 dma_addr_t skb_dma; in xgbe_map_tx_skb() local 564 rdata->skb_dma = skb_dma; in xgbe_map_tx_skb() 568 cur_index, &skb_dma, packet->header_len); in xgbe_map_tx_skb() 588 rdata->skb_dma = skb_dma; in xgbe_map_tx_skb() 592 cur_index, &skb_dma, len); in xgbe_map_tx_skb() 621 rdata->skb_dma = skb_dma; in xgbe_map_tx_skb() [all …]
|
A D | xgbe-dev.c | 1776 rdesc->desc0 = cpu_to_le32(lower_32_bits(rdata->skb_dma)); in xgbe_dev_xmit() 1777 rdesc->desc1 = cpu_to_le32(upper_32_bits(rdata->skb_dma)); in xgbe_dev_xmit() 1838 rdesc->desc0 = cpu_to_le32(lower_32_bits(rdata->skb_dma)); in xgbe_dev_xmit() 1839 rdesc->desc1 = cpu_to_le32(upper_32_bits(rdata->skb_dma)); in xgbe_dev_xmit()
|
A D | xgbe.h | 426 dma_addr_t skb_dma; /* DMA address of SKB data */ member
|
/linux/drivers/net/ethernet/synopsys/ |
A D | dwc-xlgmac-desc.c | 24 if (desc_data->skb_dma) { in xlgmac_unmap_desc_data() 26 dma_unmap_page(pdata->dev, desc_data->skb_dma, in xlgmac_unmap_desc_data() 29 dma_unmap_single(pdata->dev, desc_data->skb_dma, in xlgmac_unmap_desc_data() 32 desc_data->skb_dma = 0; in xlgmac_unmap_desc_data() 508 dma_addr_t skb_dma; in xlgmac_map_tx_skb() local 536 if (dma_mapping_error(pdata->dev, skb_dma)) { in xlgmac_map_tx_skb() 540 desc_data->skb_dma = skb_dma; in xlgmac_map_tx_skb() 564 desc_data->skb_dma = skb_dma; in xlgmac_map_tx_skb() 568 cur_index, &skb_dma, len); in xlgmac_map_tx_skb() 597 desc_data->skb_dma = skb_dma; in xlgmac_map_tx_skb() [all …]
|
A D | dwc-xlgmac.h | 208 dma_addr_t skb_dma; member 293 dma_addr_t skb_dma; member
|
A D | dwc-xlgmac-hw.c | 827 dma_desc->desc0 = cpu_to_le32(lower_32_bits(desc_data->skb_dma)); in xlgmac_dev_xmit() 828 dma_desc->desc1 = cpu_to_le32(upper_32_bits(desc_data->skb_dma)); in xlgmac_dev_xmit() 927 cpu_to_le32(lower_32_bits(desc_data->skb_dma)); in xlgmac_dev_xmit() 929 cpu_to_le32(upper_32_bits(desc_data->skb_dma)); in xlgmac_dev_xmit()
|
/linux/drivers/net/ethernet/toshiba/ |
A D | tc35815.c | 433 dma_addr_t skb_dma; member 889 &lp->rx_skbs[i].skb_dma); in tc35815_init_queues() 894 lp->rx_skbs[i].skb_dma); in tc35815_init_queues() 950 lp->rx_skbs[i].skb_dma; in tc35815_init_queues() 962 cpu_to_le32(lp->rx_skbs[i].skb_dma); in tc35815_init_queues() 998 lp->tx_skbs[i].skb_dma = 0; in tc35815_clear_queues() 1029 lp->tx_skbs[i].skb_dma, in tc35815_free_queues() 1033 lp->tx_skbs[i].skb_dma = 0; in tc35815_free_queues() 1047 lp->rx_skbs[i].skb_dma); in tc35815_free_queues() 1512 lp->rx_skbs[cur_bd].skb_dma, in tc35815_rx() [all …]
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00queue.c | 77 dma_addr_t skb_dma; in rt2x00queue_alloc_rxskb() local 79 skb_dma = dma_map_single(rt2x00dev->dev, skb->data, skb->len, in rt2x00queue_alloc_rxskb() 81 if (unlikely(dma_mapping_error(rt2x00dev->dev, skb_dma))) { in rt2x00queue_alloc_rxskb() 86 skbdesc->skb_dma = skb_dma; in rt2x00queue_alloc_rxskb() 98 skbdesc->skb_dma = in rt2x00queue_map_txskb() 101 if (unlikely(dma_mapping_error(dev, skbdesc->skb_dma))) in rt2x00queue_map_txskb() 116 dma_unmap_single(dev, skbdesc->skb_dma, entry->skb->len, in rt2x00queue_unmap_skb() 120 dma_unmap_single(dev, skbdesc->skb_dma, entry->skb->len, in rt2x00queue_unmap_skb()
|
A D | rt2800mmio.c | 88 rt2x00_set_field32(&word, TXD_W0_SD_PTR0, skbdesc->skb_dma); in rt2800mmio_write_tx_desc() 104 skbdesc->skb_dma + txwi_size); in rt2800mmio_write_tx_desc() 636 rt2x00_set_field32(&word, RXD_W0_SDP0, skbdesc->skb_dma); in rt2800mmio_clear_entry()
|
A D | rt2x00queue.h | 107 dma_addr_t skb_dma; member
|
A D | rt2400pci.c | 743 rt2x00_set_field32(&word, RXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2400pci_clear_entry() 1106 rt2x00_set_field32(&word, TXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2400pci_write_tx_desc()
|
A D | rt2500pci.c | 828 rt2x00_set_field32(&word, RXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2500pci_clear_entry() 1259 rt2x00_set_field32(&word, TXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); in rt2500pci_write_tx_desc()
|
A D | rt61pci.c | 1313 skbdesc->skb_dma); in rt61pci_clear_entry() 1822 skbdesc->skb_dma); in rt61pci_write_tx_desc()
|
/linux/drivers/net/ethernet/via/ |
A D | via-velocity.c | 1556 rd->pa_low = cpu_to_le32(rd_info->skb_dma); in velocity_alloc_rx_buf() 1611 dma_unmap_single(vptr->dev, rd_info->skb_dma, vptr->rx.buf_sz, in velocity_free_rd_ring() 1613 rd_info->skb_dma = 0; in velocity_free_rd_ring() 1748 dma_unmap_single(vptr->dev, tdinfo->skb_dma[i], in velocity_free_tx_buf() 1769 if (td_info->skb_dma[i]) { in velocity_free_td_ring_entry() 1770 dma_unmap_single(vptr->dev, td_info->skb_dma[i], in velocity_free_td_ring_entry() 1772 td_info->skb_dma[i] = 0; in velocity_free_td_ring_entry() 2067 dma_sync_single_for_cpu(vptr->dev, rd_info->skb_dma, in velocity_receive_frame() 2078 dma_sync_single_for_device(vptr->dev, rd_info->skb_dma, in velocity_receive_frame() 2574 td_ptr->td_buf[0].pa_low = cpu_to_le32(tdinfo->skb_dma[0]); in velocity_xmit() [all …]
|
A D | via-velocity.h | 222 dma_addr_t skb_dma; member 232 dma_addr_t skb_dma[7]; member
|
/linux/drivers/net/ethernet/3com/ |
A D | typhoon.c | 716 dma_addr_t skb_dma; in typhoon_start_tx() local 792 skb_dma = dma_map_single(&tp->tx_pdev->dev, skb->data, in typhoon_start_tx() 796 txd->frag.addr = cpu_to_le32(skb_dma); in typhoon_start_tx() 803 skb_dma = dma_map_single(&tp->tx_pdev->dev, skb->data, len, in typhoon_start_tx() 807 txd->frag.addr = cpu_to_le32(skb_dma); in typhoon_start_tx() 821 skb_dma = dma_map_single(&tp->tx_pdev->dev, frag_addr, in typhoon_start_tx() 825 txd->frag.addr = cpu_to_le32(skb_dma); in typhoon_start_tx() 1510 dma_addr_t skb_dma; in typhoon_clean_tx() local 1527 skb_dma = (dma_addr_t) le32_to_cpu(tx->frag.addr); in typhoon_clean_tx() 1529 dma_unmap_single(&tp->pdev->dev, skb_dma, dma_len, in typhoon_clean_tx()
|
/linux/drivers/staging/vt6655/ |
A D | desc.h | 158 dma_addr_t skb_dma; member
|
A D | dpc.c | 126 dma_unmap_single(&priv->pcid->dev, rd_info->skb_dma, in vnt_receive_frame()
|
A D | device_main.c | 793 rd_info->skb_dma = in device_alloc_rx_buf() 797 if (dma_mapping_error(&priv->pcid->dev, rd_info->skb_dma)) { in device_alloc_rx_buf() 808 rd->buff_addr = cpu_to_le32(rd_info->skb_dma); in device_alloc_rx_buf() 818 dma_unmap_single(&priv->pcid->dev, rd_info->skb_dma, in device_free_rx_buf()
|