Lines Matching refs:write_count
2207 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_ef10_push_tx_desc()
2385 tx_queue->write_count = 1; in efx_ef10_tx_init()
2406 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_ef10_notify_tx_desc()
2433 unsigned int old_write_count = tx_queue->write_count; in efx_ef10_tx_write()
2439 if (unlikely(tx_queue->write_count == tx_queue->insert_count)) in efx_ef10_tx_write()
2443 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_ef10_tx_write()
2446 ++tx_queue->write_count; in efx_ef10_tx_write()
2453 tx_queue->packet_write_count = tx_queue->write_count; in efx_ef10_tx_write()
2455 tx_queue->packet_write_count = tx_queue->write_count; in efx_ef10_tx_write()
2464 } while (tx_queue->write_count != tx_queue->insert_count); in efx_ef10_tx_write()
2585 unsigned int write_count; in efx_ef10_rx_write() local
2589 write_count = rx_queue->added_count & ~7; in efx_ef10_rx_write()
2590 if (rx_queue->notified_count == write_count) in efx_ef10_rx_write()
2597 while (++rx_queue->notified_count != write_count); in efx_ef10_rx_write()
2601 write_count & rx_queue->ptr_mask); in efx_ef10_rx_write()