Searched refs:TX_BUF_COUNT (Results 1 – 2 of 2) sorted by relevance
50 uint8_t *tx_buf[TX_BUF_COUNT];240 …ESP_GOTO_ON_FALSE(length < DMA_BUF_SIZE * TX_BUF_COUNT, ESP_ERR_INVALID_SIZE, err, TAG, "insuffici… in emac_opencores_transmit()251 desc_val.wr = (emac->cur_tx_desc == TX_BUF_COUNT - 1); in emac_opencores_transmit()259 emac->cur_tx_desc = (emac->cur_tx_desc + 1) % TX_BUF_COUNT; in emac_opencores_transmit()308 openeth_set_tx_desc_cnt(TX_BUF_COUNT); in emac_opencores_init()345 for (int i = 0; i < TX_BUF_COUNT; i++) { in emac_opencores_del()371 for (int i = 0; i < TX_BUF_COUNT; i++) { in esp_eth_mac_new_openeth()378 openeth_tx_desc(TX_BUF_COUNT - 1)->wr = 1; in esp_eth_mac_new_openeth()421 for (int i = 0; i < TX_BUF_COUNT; i++) { in esp_eth_mac_new_openeth()
32 #define TX_BUF_COUNT CONFIG_ETH_OPENETH_DMA_TX_BUFFER_NUM macro163 assert(idx < TX_BUF_COUNT); in openeth_tx_desc()169 assert(idx < OPENETH_DESC_CNT - TX_BUF_COUNT); in openeth_rx_desc()170 return &((openeth_rx_desc_t*)OPENETH_DESC_BASE)[idx + TX_BUF_COUNT]; in openeth_rx_desc()