Lines Matching refs:read_count
79 tx_queue->read_count = 0; in efx_init_tx_queue()
108 while (tx_queue->read_count != tx_queue->write_count) { in efx_fini_tx_queue()
111 buffer = &tx_queue->buffer[tx_queue->read_count & tx_queue->ptr_mask]; in efx_fini_tx_queue()
114 ++tx_queue->read_count; in efx_fini_tx_queue()
183 tx_queue->queue, tx_queue->read_count); in efx_dequeue_buffer()
206 read_ptr = tx_queue->read_count & tx_queue->ptr_mask; in efx_dequeue_buffers()
221 ++tx_queue->read_count; in efx_dequeue_buffers()
222 read_ptr = tx_queue->read_count & tx_queue->ptr_mask; in efx_dequeue_buffers()
228 if ((int)(tx_queue->read_count - tx_queue->old_write_count) >= 0) { in efx_xmit_done_check_empty()
230 if (tx_queue->read_count == tx_queue->old_write_count) { in efx_xmit_done_check_empty()
234 tx_queue->read_count | EFX_EMPTY_COUNT_VALID; in efx_xmit_done_check_empty()