Searched refs:free_rx_descs (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/ethernet/ |
D | eth_dwmac.c | 263 INC_WRAP(d_idx, NB_RX_DESCS), k_sem_give(&p->free_rx_descs)) { in dwmac_receive() 266 k_sem_count_get(&p->free_rx_descs), in dwmac_receive() 343 k_sem_count_get(&p->free_rx_descs), in dwmac_rx_refill_thread() 347 if (k_sem_take(&p->free_rx_descs, K_FOREVER) != 0) { in dwmac_rx_refill_thread() 356 d_idx, d->des3, k_sem_count_get(&p->free_rx_descs), in dwmac_rx_refill_thread() 366 k_sem_give(&p->free_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()
|
D | eth_dwmac_priv.h | 54 struct k_sem free_tx_descs, free_rx_descs; member
|