Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/microchip/fdma/
Dfdma_api.c79 for (i = 0; i < fdma->n_dcbs; i++) { in fdma_dcbs_init()
133 return ALIGN(sizeof(struct fdma_dcb) * fdma->n_dcbs, PAGE_SIZE); in fdma_get_size()
142 return ALIGN(fdma->n_dcbs * sizeof(struct fdma_dcb) + in fdma_get_size_contiguous()
143 fdma->n_dcbs * fdma->n_dbs * fdma->db_size, in fdma_get_size_contiguous()
Dfdma_api.h102 u32 n_dcbs; member
118 if (fdma->dcb_index >= fdma->n_dcbs) in fdma_dcb_advance()
203 return fdma->dma + (sizeof(struct fdma_dcb) * fdma->n_dcbs) + in fdma_dataptr_get_contiguous()
215 return (u8 *)fdma->dcbs + (sizeof(struct fdma_dcb) * fdma->n_dcbs) + in fdma_dataptr_virt_get_contiguous()
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdma.c56 for (i = 0; i < fdma->n_dcbs; ++i) { in lan966x_fdma_rx_free_pages()
81 .pool_size = rx->fdma.n_dcbs, in lan966x_fdma_rx_alloc_page_pool()
203 tx->dcbs_buf = kcalloc(fdma->n_dcbs, sizeof(struct lan966x_tx_dcb_buf), in lan966x_fdma_tx_alloc()
344 for (i = 0; i < fdma->n_dcbs; ++i) { in lan966x_fdma_tx_clear_buf()
527 dcb_reload &= fdma->n_dcbs - 1; in lan966x_fdma_napi_poll()
577 for (i = 0; i < fdma->n_dcbs; ++i) { in lan966x_fdma_get_next_dcb()
934 lan966x->rx.fdma.n_dcbs = FDMA_DCB_MAX; in lan966x_fdma_init()
944 lan966x->tx.fdma.n_dcbs = FDMA_DCB_MAX; in lan966x_fdma_init()
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_fdma.c30 *dataptr = fdma->dma + (sizeof(struct fdma_dcb) * fdma->n_dcbs) + in sparx5_fdma_tx_dataptr_cb()
227 (sizeof(struct fdma_dcb) * fdma->n_dcbs) + in sparx5_fdma_xmit()
291 fdma->n_dcbs = FDMA_DCB_MAX; in sparx5_fdma_rx_init()
315 fdma->n_dcbs = FDMA_DCB_MAX; in sparx5_fdma_tx_init()