Searched refs:cur_tx_index (Results 1 – 2 of 2) sorted by relevance
34 int cur_tx_index; member
313 uint8_t *bufp = dma->tx_buf + dma->cur_tx_index * TX_BUF_SIZE_ALIGNED; in gmac_tx_packet()317 int txout = dma->cur_tx_index; in gmac_tx_packet()366 dma->cur_tx_index = (txout + 1) & (TX_BUF_NUM - 1); in gmac_tx_packet()531 dma->cur_tx_index = 0; in gmac_enable_dma()