Home
last modified time | relevance | path

Searched refs:tx_skbuff_dma (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dring_mode.c46 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
47 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm()
48 tx_q->tx_skbuff_dma[entry].is_jumbo = true; in jumbo_frm()
66 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
67 tx_q->tx_skbuff_dma[entry].len = len; in jumbo_frm()
68 tx_q->tx_skbuff_dma[entry].is_jumbo = true; in jumbo_frm()
80 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
81 tx_q->tx_skbuff_dma[entry].len = nopaged_len; in jumbo_frm()
82 tx_q->tx_skbuff_dma[entry].is_jumbo = true; in jumbo_frm()
125 if (unlikely(tx_q->tx_skbuff_dma[entry].is_jumbo || in clean_desc3()
[all …]
H A Dchain_mode.c41 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
42 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm()
59 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
60 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm()
72 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
73 tx_q->tx_skbuff_dma[entry].len = len; in jumbo_frm()
148 if (tx_q->tx_skbuff_dma[entry].last_segment && !priv->extend_desc && in clean_desc3()
H A Dstmmac_main.c1504 if (tx_q->tx_skbuff_dma[i].buf && in stmmac_free_tx_buffer()
1508 tx_q->tx_skbuff_dma[i].buf, in stmmac_free_tx_buffer()
1509 tx_q->tx_skbuff_dma[i].len, in stmmac_free_tx_buffer()
1513 tx_q->tx_skbuff_dma[i].buf, in stmmac_free_tx_buffer()
1514 tx_q->tx_skbuff_dma[i].len, in stmmac_free_tx_buffer()
1534 tx_q->tx_skbuff_dma[i].buf = 0; in stmmac_free_tx_buffer()
1806 tx_q->tx_skbuff_dma[i].buf = 0; in __init_dma_tx_desc_rings()
1808 tx_q->tx_skbuff_dma[i].len = 0; in __init_dma_tx_desc_rings()
1981 kfree(tx_q->tx_skbuff_dma); in __free_dma_tx_desc_resources()
2126 if (!tx_q->tx_skbuff_dma) in __alloc_dma_tx_desc_resources()
[all …]
H A Dstmmac.h73 struct stmmac_tx_info *tx_skbuff_dma; member
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_main.c411 tx_ring->tx_skbuff_dma = devm_kcalloc(dev, tx_rsize, in init_tx_ring()
413 if (!tx_ring->tx_skbuff_dma) in init_tx_ring()
622 if (txqueue->tx_skbuff_dma[dma_desc]) in tx_free_ring_skbufs()
624 txqueue->tx_skbuff_dma[dma_desc], in tx_free_ring_skbufs()
630 txqueue->tx_skbuff_dma[dma_desc] = 0; in tx_free_ring_skbufs()
762 if (likely(tqueue->tx_skbuff_dma[entry])) { in sxgbe_tx_queue_clean()
764 tqueue->tx_skbuff_dma[entry], in sxgbe_tx_queue_clean()
767 tqueue->tx_skbuff_dma[entry] = 0; in sxgbe_tx_queue_clean()
1367 tqueue->tx_skbuff_dma[entry] = tx_desc->tdes01; in sxgbe_xmit()
H A Dsxgbe_common.h381 dma_addr_t *tx_skbuff_dma; member
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-rhine.c447 dma_addr_t tx_skbuff_dma[TX_RING_SIZE]; member
1334 if (rp->tx_skbuff_dma[i]) { in free_tbufs()
1336 rp->tx_skbuff_dma[i], in free_tbufs()
1804 rp->tx_skbuff_dma[entry] = 0; in rhine_start_tx()
1809 rp->tx_skbuff_dma[entry] = in rhine_start_tx()
1812 if (dma_mapping_error(hwdev, rp->tx_skbuff_dma[entry])) { in rhine_start_tx()
1814 rp->tx_skbuff_dma[entry] = 0; in rhine_start_tx()
1818 rp->tx_ring[entry].addr = cpu_to_le32(rp->tx_skbuff_dma[entry]); in rhine_start_tx()
1972 if (rp->tx_skbuff_dma[entry]) { in rhine_tx()
1974 rp->tx_skbuff_dma[entry], in rhine_tx()