Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/fdma/
H A Dfdma_api.c75 fdma->last_dcb = fdma->dcbs; in fdma_dcbs_init()
92 fdma->dcbs = dma_alloc_coherent(dev, in fdma_alloc_coherent()
96 if (!fdma->dcbs) in fdma_alloc_coherent()
106 fdma->dcbs = kzalloc(fdma->size, GFP_KERNEL); in fdma_alloc_phys()
107 if (!fdma->dcbs) in fdma_alloc_phys()
110 fdma->dma = virt_to_phys(fdma->dcbs); in fdma_alloc_phys()
119 dma_free_coherent(dev, fdma->size, fdma->dcbs, fdma->dma); in fdma_free_coherent()
126 kfree(fdma->dcbs); in fdma_free_phys()
H A Dfdma_api.h88 struct fdma_dcb *dcbs; member
162 return &fdma->dcbs[dcb_idx].db[db_idx]; in fdma_db_get()
174 return &fdma->dcbs[dcb_idx]; in fdma_dcb_get()
215 return (u8 *)fdma->dcbs + (sizeof(struct fdma_dcb) * fdma->n_dcbs) + in fdma_dataptr_virt_get_contiguous()
/linux/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()
745 struct ocelot_fdma_dcb *dcbs; in ocelot_fdma_rings_alloc() local
758 dcbs = fdma->dcbs_base; in ocelot_fdma_rings_alloc()
763 dcbs = (void *)dcbs + adjust; in ocelot_fdma_rings_alloc()
767 fdma->tx_ring.dcbs = dcbs; in ocelot_fdma_rings_alloc()
[all …]
H A Docelot_fdma.h92 struct ocelot_fdma_dcb *dcbs; member
125 struct ocelot_fdma_dcb *dcbs; member
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_fdma.c228 virt_addr = ((u8 *)fdma->dcbs + in sparx5_fdma_xmit()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_fdma.c580 !fdma_is_last(&tx->fdma, &tx->fdma.dcbs[i])) in lan966x_fdma_get_next_dcb()