Lines Matching refs:next_tx
57 static int next_tx; variable
141 fifo_tx[next_tx].len = length; in au1x00_send()
142 fifo_tx[next_tx].addr = (virt_to_phys(packet))|TX_DMA_ENABLE; in au1x00_send()
147 while(!(fifo_tx[next_tx].addr&TX_T_DONE)){ in au1x00_send()
157 fifo_tx[next_tx].addr = 0; in au1x00_send()
158 fifo_tx[next_tx].len = 0; in au1x00_send()
161 res = fifo_tx[next_tx].status; in au1x00_send()
163 next_tx++; in au1x00_send()
164 if(next_tx>=NO_OF_FIFOS){ in au1x00_send()
165 next_tx=0; in au1x00_send()
221 next_tx = TX_GET_DMA_BUFFER(fifo_tx[0].addr); in au1x00_init()