Lines Matching refs:read_count
97 tx_queue->queue, tx_queue->read_count); in efx_dequeue_buffer()
151 txq1->old_read_count = READ_ONCE(txq1->read_count); in efx_tx_maybe_stop_queue()
152 txq2->old_read_count = READ_ONCE(txq2->read_count); in efx_tx_maybe_stop_queue()
614 read_ptr = tx_queue->read_count & tx_queue->ptr_mask; in efx_dequeue_buffers()
630 ++tx_queue->read_count; in efx_dequeue_buffers()
631 read_ptr = tx_queue->read_count & tx_queue->ptr_mask; in efx_dequeue_buffers()
773 fill_level = max(tx_queue->insert_count - tx_queue->read_count, in efx_xmit_done()
774 txq2->insert_count - txq2->read_count); in efx_xmit_done()
780 if ((int)(tx_queue->read_count - tx_queue->old_write_count) >= 0) { in efx_xmit_done()
782 if (tx_queue->read_count == tx_queue->old_write_count) { in efx_xmit_done()
785 tx_queue->read_count | EFX_EMPTY_COUNT_VALID; in efx_xmit_done()
850 tx_queue->read_count = 0; in efx_init_tx_queue()
882 while (tx_queue->read_count != tx_queue->write_count) { in efx_fini_tx_queue()
884 buffer = &tx_queue->buffer[tx_queue->read_count & tx_queue->ptr_mask]; in efx_fini_tx_queue()
887 ++tx_queue->read_count; in efx_fini_tx_queue()