Searched refs:free_tx_descs (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/drivers/ethernet/ |
D | eth_dwmac.c | 149 k_sem_count_get(&p->free_tx_descs), in dwmac_send() 153 if (k_sem_take(&p->free_tx_descs, TX_AVAIL_WAIT) != 0) { in dwmac_send() 162 k_sem_give(&p->free_tx_descs); in dwmac_send() 208 k_sem_give(&p->free_tx_descs); in dwmac_send() 222 INC_WRAP(d_idx, NB_TX_DESCS), k_sem_give(&p->free_tx_descs)) { in dwmac_tx_release() 225 k_sem_count_get(&p->free_tx_descs), in dwmac_tx_release() 533 k_sem_init(&p->free_tx_descs, NB_TX_DESCS - 1, NB_TX_DESCS - 1); in dwmac_iface_init()
|
D | eth_cyclonev.c | 294 k_sem_init(&p->free_tx_descs, NB_TX_DESCS - 1, NB_TX_DESCS - 1); in eth_cyclonev_iface_init() 414 if (k_sem_take(&p->free_tx_descs, TX_AVAIL_WAIT) != 0) { in eth_cyclonev_send() 534 k_sem_give(&p->free_tx_descs); /* Multi-descriptor package release (?) */ in eth_cyclonev_send() 767 INC_WRAP(d_idx, NB_TX_DESCS), k_sem_give(&p->free_tx_descs)) { in eth_cyclonev_tx_release()
|
D | eth_cyclonev_priv.h | 48 struct k_sem free_tx_descs; member
|
D | eth_dwmac_priv.h | 54 struct k_sem free_tx_descs, free_rx_descs; member
|