Home
last modified time | relevance | path

Searched full:dcbs (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/mscc/
H A Docelot_fdma.h82 * struct ocelot_fdma_tx_ring - TX ring description of DCBs
84 * @dcbs: DCBs allocated for the ring
85 * @dcbs_dma: DMA base address of the DCBs
86 * @bufs: List of TX buffer associated to the DCBs
92 struct ocelot_fdma_dcb *dcbs; member
114 * struct ocelot_fdma_rx_ring - TX ring description of DCBs
116 * @dcbs: DCBs allocated for the ring
117 * @dcbs_dma: DMA base address of the DCBs
118 * @bufs: List of RX buffer associated to the DCBs
125 struct ocelot_fdma_dcb *dcbs; member
[all …]
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()
255 * we processed some DCBs in RX, there is free space, and we must set in ocelot_fdma_rx_restart()
407 dcb = &rx_ring->dcbs[idx]; in ocelot_fdma_rx_get()
502 dcb = &tx_ring->dcbs[ntc]; in ocelot_fdma_tx_cleanup()
528 /* If there is still some DCBs to be processed by the FDMA or if the 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()
633 /* Chain the DCBs */ in ocelot_fdma_send_skb()
745 struct ocelot_fdma_dcb *dcbs; in ocelot_fdma_rings_alloc() local
[all …]
/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/microchip/sparx5/lan969x/
H A Dlan969x_fdma.c47 if (!tx->dbs[i].used && !fdma_is_last(fdma, &fdma->dcbs[i])) in lan969x_fdma_get_next_dcb()
111 db = &fdma->dcbs[fdma->dcb_index].db[fdma->db_index]; in lan969x_fdma_rx_get_frame()
/linux/arch/microblaze/include/asm/
H A Dpvr.h91 #define PVR5_DCACHE_BYTE_SIZE_MASK 0x001F0000 /* DCBS */
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.h184 * DCBs are chained using the DCBs nextptr field.
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.h239 /* Array of dcbs that are given to the HW */
H A Dlan966x_fdma.c583 !fdma_is_last(&tx->fdma, &tx->fdma.dcbs[i])) in lan966x_fdma_get_next_dcb()
/linux/drivers/scsi/
H A Ddc395x.c3873 seq_printf(m, "Nr of DCBs: %i\n", list_size(&acb->dcb_list)); in dc395x_show_info()