Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/ethernet/
Deth_cyclonev.c213 rx_desc->buffer1_addr = (uint32_t)&p->rx_buf[i * ETH_BUFFER_SIZE]; in eth_cyclonev_setup_rxdesc()
214 rx_desc->control_buffer_size = ETH_DMARXDESC_RCH | ETH_BUFFER_SIZE; in eth_cyclonev_setup_rxdesc()
250 tx_desc->buffer1_addr = (uint32_t)&p->tx_buf[i * ETH_BUFFER_SIZE]; in eth_cyclonev_setup_txdesc()
429 if (len >= ETH_BUFFER_SIZE) { in eth_cyclonev_send()
437 memcpy(&p->tx_buf[p->tx_current_desc_number * ETH_BUFFER_SIZE], frag->data, in eth_cyclonev_send()
694 if (data_remaining < ETH_BUFFER_SIZE) { in eth_cyclonev_receive()
697 buf_size = ETH_BUFFER_SIZE; in eth_cyclonev_receive()
700 net_pkt_write(pkt, &p->rx_buf[rx_search * ETH_BUFFER_SIZE], in eth_cyclonev_receive()
715 if (data_remaining < ETH_BUFFER_SIZE) { in eth_cyclonev_receive()
718 buf_size = ETH_BUFFER_SIZE; in eth_cyclonev_receive()
[all …]
Deth_cyclonev_priv.h21 #define ETH_BUFFER_SIZE 1536 macro
45 uint8_t rx_buf[ETH_BUFFER_SIZE * NB_RX_DESCS]; /* Receive Buffer */
46 uint8_t tx_buf[ETH_BUFFER_SIZE * NB_TX_DESCS]; /* Transmit Buffer */