/drivers/net/ethernet/amd/xgbe/ |
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 558 skb_dma = dma_map_single(pdata->dev, skb->data, in xgbe_map_tx_skb() 560 if (dma_mapping_error(pdata->dev, skb_dma)) { in xgbe_map_tx_skb() 564 rdata->skb_dma = skb_dma; in xgbe_map_tx_skb() 568 cur_index, &skb_dma, packet->header_len); in xgbe_map_tx_skb() 582 skb_dma = dma_map_single(pdata->dev, skb->data + offset, len, in xgbe_map_tx_skb() [all …]
|
D | xgbe-dev.c | 1783 rdesc->desc0 = cpu_to_le32(lower_32_bits(rdata->skb_dma)); in xgbe_dev_xmit() 1784 rdesc->desc1 = cpu_to_le32(upper_32_bits(rdata->skb_dma)); in xgbe_dev_xmit() 1845 rdesc->desc0 = cpu_to_le32(lower_32_bits(rdata->skb_dma)); in xgbe_dev_xmit() 1846 rdesc->desc1 = cpu_to_le32(upper_32_bits(rdata->skb_dma)); in xgbe_dev_xmit()
|
D | xgbe.h | 427 dma_addr_t skb_dma; /* DMA address of SKB data */ member
|
/drivers/net/ethernet/synopsys/ |
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 534 skb_dma = dma_map_single(pdata->dev, skb->data, in xlgmac_map_tx_skb() 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() 544 cur_index, &skb_dma, pkt_info->header_len); in xlgmac_map_tx_skb() 558 skb_dma = dma_map_single(pdata->dev, skb->data + offset, len, in xlgmac_map_tx_skb() [all …]
|
D | dwc-xlgmac.h | 208 dma_addr_t skb_dma; member 293 dma_addr_t skb_dma; member
|
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()
|
/drivers/net/ethernet/toshiba/ |
D | tc35815.c | 433 dma_addr_t skb_dma; member 887 &lp->rx_skbs[i].skb_dma); in tc35815_init_queues() 892 lp->rx_skbs[i].skb_dma); in tc35815_init_queues() 947 lp->rx_skbs[lp->fbl_count].skb_dma = in tc35815_init_queues() 948 lp->rx_skbs[i].skb_dma; in tc35815_init_queues() 960 cpu_to_le32(lp->rx_skbs[i].skb_dma); in tc35815_init_queues() 993 lp->tx_skbs[i].skb_dma, skb->len, in tc35815_clear_queues() 996 lp->tx_skbs[i].skb_dma = 0; in tc35815_clear_queues() 1027 lp->tx_skbs[i].skb_dma, in tc35815_free_queues() 1031 lp->tx_skbs[i].skb_dma = 0; in tc35815_free_queues() [all …]
|
/drivers/net/wireless/ralink/rt2x00/ |
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()
|
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()
|
D | rt2x00queue.h | 107 dma_addr_t skb_dma; member
|
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()
|
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()
|
D | rt61pci.c | 1313 skbdesc->skb_dma); in rt61pci_clear_entry() 1822 skbdesc->skb_dma); in rt61pci_write_tx_desc()
|
/drivers/net/ethernet/via/ |
D | via-velocity.c | 1547 rd_info->skb_dma = dma_map_single(vptr->dev, rd_info->skb->data, in velocity_alloc_rx_buf() 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() 2075 dma_unmap_single(vptr->dev, rd_info->skb_dma, vptr->rx.buf_sz, in velocity_receive_frame() [all …]
|
D | via-velocity.h | 222 dma_addr_t skb_dma; member 232 dma_addr_t skb_dma[7]; member
|
/drivers/net/ethernet/3com/ |
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()
|
/drivers/staging/vt6655/ |
D | desc.h | 160 dma_addr_t skb_dma; member
|
D | dpc.c | 128 dma_unmap_single(&priv->pcid->dev, rd_info->skb_dma, in vnt_receive_frame()
|
D | device_main.c | 792 rd_info->skb_dma = in device_alloc_rx_buf() 796 if (dma_mapping_error(&priv->pcid->dev, rd_info->skb_dma)) { in device_alloc_rx_buf() 807 rd->buff_addr = cpu_to_le32(rd_info->skb_dma); in device_alloc_rx_buf() 817 dma_unmap_single(&priv->pcid->dev, rd_info->skb_dma, in device_free_rx_buf()
|