Home
last modified time | relevance | path

Searched refs:dcbs (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdma.c120 rx->dcbs = dma_alloc_coherent(lan966x->dev, size, &rx->dma, GFP_KERNEL); in lan966x_fdma_rx_alloc()
121 if (!rx->dcbs) in lan966x_fdma_rx_alloc()
124 rx->last_entry = rx->dcbs; in lan966x_fdma_rx_alloc()
130 dcb = &rx->dcbs[i]; in lan966x_fdma_rx_alloc()
164 dma_free_coherent(lan966x->dev, size, rx->dcbs, rx->dma); in lan966x_fdma_rx_free()
256 tx->dcbs = dma_alloc_coherent(lan966x->dev, size, &tx->dma, GFP_KERNEL); in lan966x_fdma_tx_alloc()
257 if (!tx->dcbs) in lan966x_fdma_tx_alloc()
262 dcb = &tx->dcbs[i]; in lan966x_fdma_tx_alloc()
289 dma_free_coherent(lan966x->dev, size, tx->dcbs, tx->dma); in lan966x_fdma_tx_free()
411 db = &tx->dcbs[i].db[0]; in lan966x_fdma_tx_clear_buf()
[all …]
Dlan966x_main.h223 struct lan966x_rx_dcb *dcbs; member
279 struct lan966x_tx_dcb *dcbs; member
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_fdma.c171 dcb = &rx_ring->dcbs[idx]; in ocelot_fdma_alloc_rx_buffs()
230 dcb = &rx_ring->dcbs[idx]; in ocelot_fdma_rx_set_llp()
407 dcb = &rx_ring->dcbs[idx]; in ocelot_fdma_rx_get()
502 dcb = &tx_ring->dcbs[ntc]; in ocelot_fdma_tx_cleanup()
544 dcb = &tx_ring->dcbs[new_null_llp_idx]; in ocelot_fdma_tx_cleanup()
616 dcb = &tx_ring->dcbs[tx_ring->next_to_use]; in ocelot_fdma_send_skb()
746 struct ocelot_fdma_dcb *dcbs; in ocelot_fdma_rings_alloc() local
759 dcbs = fdma->dcbs_base; in ocelot_fdma_rings_alloc()
764 dcbs = (void *)dcbs + adjust; in ocelot_fdma_rings_alloc()
768 fdma->tx_ring.dcbs = dcbs; in ocelot_fdma_rings_alloc()
[all …]
Docelot_fdma.h92 struct ocelot_fdma_dcb *dcbs; member
125 struct ocelot_fdma_dcb *dcbs; member