Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/esp_eth/src/
Desp_eth_mac_openeth.c47 int cur_tx_desc; member
248 memcpy(emac->tx_buf[emac->cur_tx_desc], buf, will_write); in emac_opencores_transmit()
249 openeth_tx_desc_t *desc_ptr = openeth_tx_desc(emac->cur_tx_desc); in emac_opencores_transmit()
251 desc_val.wr = (emac->cur_tx_desc == TX_BUF_COUNT - 1); in emac_opencores_transmit()
255 …ESP_LOGV(TAG, "%s: desc %d (%p) len=%d wr=%d", __func__, emac->cur_tx_desc, desc_ptr, will_write, … in emac_opencores_transmit()
259 emac->cur_tx_desc = (emac->cur_tx_desc + 1) % TX_BUF_COUNT; in emac_opencores_transmit()
379 emac->cur_tx_desc = 0; in esp_eth_mac_new_openeth()