Searched refs:dcbs (Results 1 – 6 of 6) sorted by relevance
75 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()
88 struct fdma_dcb *dcbs; member162 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()
171 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() local758 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 …]
92 struct ocelot_fdma_dcb *dcbs; member125 struct ocelot_fdma_dcb *dcbs; member
228 virt_addr = ((u8 *)fdma->dcbs + in sparx5_fdma_xmit()
580 !fdma_is_last(&tx->fdma, &tx->fdma.dcbs[i])) in lan966x_fdma_get_next_dcb()