Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/microchip/fdma/
Dfdma_api.h103 u32 n_dbs; member
137 return fdma->db_index != fdma->n_dbs; in fdma_dcb_is_reusable()
204 (dcb_idx * fdma->n_dbs + db_idx) * fdma->db_size + in fdma_dataptr_get_contiguous()
216 (dcb_idx * fdma->n_dbs + db_idx) * fdma->db_size + in fdma_dataptr_virt_get_contiguous()
Dfdma_api.c40 for (i = 0; i < fdma->n_dbs; i++) { in __fdma_dcb_add()
143 fdma->n_dcbs * fdma->n_dbs * fdma->db_size, in fdma_get_size_contiguous()
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_fdma.c31 ((dcb * fdma->n_dbs + db) * fdma->db_size); in sparx5_fdma_tx_dataptr_cb()
65 spx5_wr(FDMA_CH_CFG_CH_DCB_DB_CNT_SET(fdma->n_dbs) | in sparx5_fdma_rx_activate()
116 spx5_wr(FDMA_CH_CFG_CH_DCB_DB_CNT_SET(fdma->n_dbs) | in sparx5_fdma_tx_activate()
228 ((fdma->dcb_index * fdma->n_dbs) * fdma->db_size)); in sparx5_fdma_xmit()
292 fdma->n_dbs = FDMA_RX_DCB_MAX_DBS; in sparx5_fdma_rx_init()
316 fdma->n_dbs = FDMA_TX_DCB_MAX_DBS; in sparx5_fdma_tx_init()
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdma.c57 for (j = 0; j < fdma->n_dbs; ++j) in lan966x_fdma_rx_free_pages()
143 lan_wr(FDMA_CH_CFG_CH_DCB_DB_CNT_SET(fdma->n_dbs) | in lan966x_fdma_rx_start()
243 lan_wr(FDMA_CH_CFG_CH_DCB_DB_CNT_SET(fdma->n_dbs) | in lan966x_fdma_tx_activate()
935 lan966x->rx.fdma.n_dbs = FDMA_RX_DCB_MAX_DBS; in lan966x_fdma_init()
945 lan966x->tx.fdma.n_dbs = FDMA_TX_DCB_MAX_DBS; in lan966x_fdma_init()