Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_fdma.c116 /* calculate how many pages are needed to allocate the dcbs */ in lan966x_fdma_rx_alloc()
120 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()
253 /* calculate how many pages are needed to allocate the dcbs */ in lan966x_fdma_tx_alloc()
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[ in lan966x_fdma_tx_alloc()
[all...]
H A Dlan966x_main.h222 /* Pointer to the array of hardware dcbs. */
223 struct lan966x_rx_dcb *dcbs; member
225 /* Pointer to the last address in the dcbs. */
237 /* Represents the index in the dcbs. It has a value between 0 and
242 /* Represents the dma address to the dcbs array */
279 struct lan966x_tx_dcb *dcbs; member
285 /* Array of dcbs that are given to the HW */
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A 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 in ocelot_fdma_rings_alloc()
[all...]
H A Docelot_fdma.h84 * @dcbs: DCBs allocated for the ring
92 struct ocelot_fdma_dcb *dcbs; member
116 * @dcbs: DCBs allocated for the ring
125 struct ocelot_fdma_dcb *dcbs; member

Completed in 5 milliseconds