Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/
Deth_cyclonev.c644 uint32_t index, frame_length, rx_search, wrap, data_remaining, last_desc_index, buf_size; in eth_cyclonev_receive() local
661 rx_search = index; in eth_cyclonev_receive()
664 rx_desc = &p->rx_desc_ring[rx_search]; in eth_cyclonev_receive()
667 last_desc_index = rx_search; in eth_cyclonev_receive()
669 INC_WRAP(rx_search, NB_RX_DESCS); in eth_cyclonev_receive()
670 if (rx_search == wrap) { in eth_cyclonev_receive()
690 rx_search = index; in eth_cyclonev_receive()
693 rx_desc = &p->rx_desc_ring[rx_search]; in eth_cyclonev_receive()
700 net_pkt_write(pkt, &p->rx_buf[rx_search * ETH_BUFFER_SIZE], in eth_cyclonev_receive()
705 if (last_desc_index != rx_search) { in eth_cyclonev_receive()
[all …]