/linux/drivers/net/ethernet/amd/xgbe/ |
H 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 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 …]
|
H A D | xgbe.h | 429 dma_addr_t skb_dma; /* DMA address of SKB data */ member
|
H A D | xgbe-dev.c | 1833 rdesc->desc0 = cpu_to_le32(lower_32_bits(rdata->skb_dma)); in xgbe_dev_xmit() 1834 rdesc->desc1 = cpu_to_le32(upper_32_bits(rdata->skb_dma)); in xgbe_dev_xmit() 1895 rdesc->desc0 = cpu_to_le32(lower_32_bits(rdata->skb_dma)); in xgbe_dev_xmit() 1896 rdesc->desc1 = cpu_to_le32(upper_32_bits(rdata->skb_dma)); in xgbe_dev_xmit()
|
/linux/drivers/net/ethernet/synopsys/ |
H 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 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 …]
|
H A D | dwc-xlgmac.h | 209 dma_addr_t skb_dma; member 294 dma_addr_t skb_dma; member
|
H 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/ |
H A D | tc35815.c | 433 dma_addr_t skb_dma; member 888 &lp->rx_skbs[i].skb_dma); in tc35815_init_queues() 893 lp->rx_skbs[i].skb_dma); in tc35815_init_queues() 948 lp->rx_skbs[lp->fbl_count].skb_dma = in tc35815_init_queues() 949 lp->rx_skbs[i].skb_dma; in tc35815_init_queues() 961 cpu_to_le32(lp->rx_skbs[i].skb_dma); in tc35815_init_queues() 994 lp->tx_skbs[i].skb_dma, skb->len, in tc35815_clear_queues() 997 lp->tx_skbs[i].skb_dma = 0; in tc35815_clear_queues() 1028 lp->tx_skbs[i].skb_dma, in tc35815_free_queues() 1032 lp->tx_skbs[i].skb_dma = 0; in tc35815_free_queues() [all …]
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H 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()
|
H 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()
|
H A D | rt2x00queue.h | 107 dma_addr_t skb_dma; member
|
H 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()
|
H 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()
|
H 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/3com/ |
H A D | typhoon.c | 711 dma_addr_t skb_dma; in typhoon_start_tx() local 787 skb_dma = dma_map_single(&tp->tx_pdev->dev, skb->data, in typhoon_start_tx() 791 txd->frag.addr = cpu_to_le32(skb_dma); in typhoon_start_tx() 798 skb_dma = dma_map_single(&tp->tx_pdev->dev, skb->data, len, in typhoon_start_tx() 802 txd->frag.addr = cpu_to_le32(skb_dma); in typhoon_start_tx() 816 skb_dma = dma_map_single(&tp->tx_pdev->dev, frag_addr, in typhoon_start_tx() 820 txd->frag.addr = cpu_to_le32(skb_dma); in typhoon_start_tx() 1507 dma_addr_t skb_dma; in typhoon_clean_tx() local 1524 skb_dma = (dma_addr_t) le32_to_cpu(tx->frag.addr); in typhoon_clean_tx() 1526 dma_unmap_single(&tp->pdev->dev, skb_dma, dma_len, in typhoon_clean_tx()
|
/linux/drivers/net/ethernet/via/ |
H A D | via-velocity.h | 221 dma_addr_t skb_dma; member 231 dma_addr_t skb_dma[7]; member
|