Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdma.c44 dcb = &rx->dcbs[i]; in lan966x_fdma_rx_free_pages()
89 rx->dcbs = dma_alloc_coherent(lan966x->dev, size, &rx->dma, GFP_KERNEL); in lan966x_fdma_rx_alloc()
90 if (!rx->dcbs) in lan966x_fdma_rx_alloc()
93 rx->last_entry = rx->dcbs; in lan966x_fdma_rx_alloc()
99 dcb = &rx->dcbs[i]; in lan966x_fdma_rx_alloc()
127 dma_free_coherent(lan966x->dev, size, rx->dcbs, rx->dma); in lan966x_fdma_rx_free()
219 tx->dcbs = dma_alloc_coherent(lan966x->dev, size, &tx->dma, GFP_KERNEL); in lan966x_fdma_tx_alloc()
220 if (!tx->dcbs) in lan966x_fdma_tx_alloc()
225 dcb = &tx->dcbs[i]; in lan966x_fdma_tx_alloc()
252 dma_free_coherent(lan966x->dev, size, tx->dcbs, tx->dma); in lan966x_fdma_tx_free()
[all …]
Dlan966x_main.h126 struct lan966x_rx_dcb *dcbs; member
168 struct lan966x_tx_dcb *dcbs; member
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_fdma.c172 dcb = &rx_ring->dcbs[idx]; in ocelot_fdma_alloc_rx_buffs()
231 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