Home
last modified time | relevance | path

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

/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdma.c43 for (i = 0; i < FDMA_DCB_MAX; ++i) { in lan966x_fdma_rx_free_pages()
86 size = sizeof(struct lan966x_rx_dcb) * FDMA_DCB_MAX; in lan966x_fdma_rx_alloc()
98 for (i = 0; i < FDMA_DCB_MAX; ++i) { in lan966x_fdma_rx_alloc()
125 size = sizeof(struct lan966x_tx_dcb) * FDMA_DCB_MAX; in lan966x_fdma_rx_free()
211 tx->dcbs_buf = kcalloc(FDMA_DCB_MAX, sizeof(struct lan966x_tx_dcb_buf), in lan966x_fdma_tx_alloc()
217 size = sizeof(struct lan966x_tx_dcb) * FDMA_DCB_MAX; in lan966x_fdma_tx_alloc()
224 for (i = 0; i < FDMA_DCB_MAX; ++i) { in lan966x_fdma_tx_alloc()
250 size = sizeof(struct lan966x_tx_dcb) * FDMA_DCB_MAX; in lan966x_fdma_tx_free()
364 for (i = 0; i < FDMA_DCB_MAX; ++i) { in lan966x_fdma_tx_clear_buf()
494 rx->dcb_index &= FDMA_DCB_MAX - 1; in lan966x_fdma_napi_poll()
[all …]
Dlan966x_main.h85 #define FDMA_DCB_MAX 512 macro
132 struct page *page[FDMA_DCB_MAX][FDMA_RX_DCB_MAX_DBS];
/drivers/net/ethernet/microchip/sparx5/
Dsparx5_fdma.c278 rx->dcb_index &= FDMA_DCB_MAX - 1; in sparx5_fdma_napi_callback()
304 ((unsigned long)tx->first_entry + FDMA_DCB_MAX * sizeof(*dcb))) in sparx5_fdma_next_dcb()
351 size = sizeof(struct sparx5_rx_dcb_hw) * FDMA_DCB_MAX; in sparx5_fdma_rx_alloc()
361 for (idx = 0; idx < FDMA_DCB_MAX; ++idx) { in sparx5_fdma_rx_alloc()
398 size = sizeof(struct sparx5_tx_dcb_hw) * FDMA_DCB_MAX; in sparx5_fdma_tx_alloc()
407 for (idx = 0; idx < FDMA_DCB_MAX; ++idx) { in sparx5_fdma_tx_alloc()
433 if (idx == FDMA_DCB_MAX - 1) in sparx5_fdma_tx_alloc()
Dsparx5_main.h83 #define FDMA_DCB_MAX 64 macro
127 struct sk_buff *skb[FDMA_DCB_MAX][FDMA_RX_DCB_MAX_DBS];