Lines Matching refs:ETH_BUFFER_SIZE
213 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()
723 &p->rx_buf[rx_search * ETH_BUFFER_SIZE], in eth_cyclonev_receive()