Home
last modified time | relevance | path

Searched refs:skb_dma (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-desc.c473 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 Dxgbe.h429 dma_addr_t skb_dma; /* DMA address of SKB data */ member
H A Dxgbe-dev.c1833 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 Ddwc-xlgmac-desc.c24 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 Ddwc-xlgmac.h209 dma_addr_t skb_dma; member
294 dma_addr_t skb_dma; member
H A Ddwc-xlgmac-hw.c827 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 Dtc35815.c433 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 Drt2x00queue.c77 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 Drt2800mmio.c88 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 Drt2x00queue.h107 dma_addr_t skb_dma; member
H A Drt2400pci.c743 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 Drt2500pci.c828 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 Drt61pci.c1313 skbdesc->skb_dma); in rt61pci_clear_entry()
1822 skbdesc->skb_dma); in rt61pci_write_tx_desc()
/linux/drivers/net/ethernet/3com/
H A Dtyphoon.c711 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 Dvia-velocity.h221 dma_addr_t skb_dma; member
231 dma_addr_t skb_dma[7]; member