Searched refs:NB_RX_DESCS (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.7.0/drivers/ethernet/ |
D | eth_dwmac.c | 263 INC_WRAP(d_idx, NB_RX_DESCS), k_sem_give(&p->free_rx_descs)) { in dwmac_receive() 387 p->rx_desc_head = INC_WRAP(d_idx, NB_RX_DESCS); in dwmac_rx_refill_thread() 534 k_sem_init(&p->free_rx_descs, NB_RX_DESCS - 1, NB_RX_DESCS - 1); in dwmac_iface_init() 602 memset(p->rx_descs, 0, NB_RX_DESCS * sizeof(struct dwmac_dma_desc)); in dwmac_probe() 614 REG_WRITE(DMA_CHn_RXDESC_RING_LENGTH(0), NB_RX_DESCS - 1); in dwmac_probe()
|
D | eth_dwmac_mmu.c | 37 dwmac_tx_rx_descriptors[NB_TX_DESCS + NB_RX_DESCS];
|
D | eth_cyclonev_priv.h | 19 #define NB_RX_DESCS CONFIG_ETH_CVSX_NB_RX_DESCS macro 42 struct eth_cyclonev_dma_desc tx_desc_ring[NB_TX_DESCS], rx_desc_ring[NB_RX_DESCS]; 45 uint8_t rx_buf[ETH_BUFFER_SIZE * NB_RX_DESCS]; /* Receive Buffer */
|
D | eth_dwmac_stm32h7x.c | 96 static struct dwmac_dma_desc dwmac_rx_descs[NB_RX_DESCS] __desc_mem;
|
D | eth_cyclonev.c | 211 for (i = 0; i < NB_RX_DESCS; i++) { in eth_cyclonev_setup_rxdesc() 220 if (i == (NB_RX_DESCS - 1)) { in eth_cyclonev_setup_rxdesc() 669 INC_WRAP(rx_search, NB_RX_DESCS); in eth_cyclonev_receive() 706 INC_WRAP(rx_search, NB_RX_DESCS); in eth_cyclonev_receive() 744 if (p->rx_current_desc_number == NB_RX_DESCS) { in eth_cyclonev_receive()
|
D | eth_dwmac_priv.h | 23 #define NB_RX_DESCS CONFIG_DWMAC_NB_RX_DESCS macro 63 struct net_buf *rx_frags[NB_RX_DESCS]; /* index shared with rx_descs */
|