Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
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 …]
Dxgbe-dev.c1776 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()
Dxgbe.h426 dma_addr_t skb_dma; /* DMA address of SKB data */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
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 …]
Ddwc-xlgmac.h208 dma_addr_t skb_dma; member
293 dma_addr_t skb_dma; member
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
Dtc35815.c433 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
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()
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()
Drt2x00queue.h107 dma_addr_t skb_dma; member
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()
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()
Drt61pci.c1313 skbdesc->skb_dma); in rt61pci_clear_entry()
1822 skbdesc->skb_dma); in rt61pci_write_tx_desc()
/kernel/linux/linux-5.10/drivers/net/ethernet/via/
Dvia-velocity.c1547 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 …]
Dvia-velocity.h222 dma_addr_t skb_dma; member
232 dma_addr_t skb_dma[7]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
Dtyphoon.c716 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()
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Ddesc.h160 dma_addr_t skb_dma; member
Ddpc.c128 dma_unmap_single(&priv->pcid->dev, rd_info->skb_dma, in vnt_receive_frame()
Ddevice_main.c792 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()