Home
last modified time | relevance | path

Searched refs:tx_current_desc_number (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/drivers/ethernet/
Deth_cyclonev.c260 p->tx_current_desc_number = 0; in eth_cyclonev_setup_txdesc()
419 tx_desc = &p->tx_desc_ring[p->tx_current_desc_number]; in eth_cyclonev_send()
437 memcpy(&p->tx_buf[p->tx_current_desc_number * ETH_BUFFER_SIZE], frag->data, in eth_cyclonev_send()
445 p->tx_current_desc_number, in eth_cyclonev_send()
446 (unsigned int)&p->tx_desc_ring[p->tx_current_desc_number], frag->len, in eth_cyclonev_send()
461 index = p->tx_current_desc_number; in eth_cyclonev_send()
465 p->tx_current_desc_number = (p->tx_current_desc_number + 1); in eth_cyclonev_send()
466 if (p->tx_current_desc_number >= NB_TX_DESCS) { in eth_cyclonev_send()
467 p->tx_current_desc_number = 0; in eth_cyclonev_send()
766 for (d_idx = p->tx_tail; d_idx != p->tx_current_desc_number; in eth_cyclonev_tx_release()
Deth_cyclonev_priv.h36 uint32_t tx_current_desc_number; member