Searched refs:old_write_count (Results 1 – 10 of 10) sorted by relevance
79 tx_queue->old_write_count = 0; in efx_siena_init_tx_queue()229 if ((int)(tx_queue->read_count - tx_queue->old_write_count) >= 0) { in efx_siena_xmit_done_check_empty()230 tx_queue->old_write_count = READ_ONCE(tx_queue->write_count); in efx_siena_xmit_done_check_empty()231 if (tx_queue->read_count == tx_queue->old_write_count) { in efx_siena_xmit_done_check_empty()
322 unsigned old_write_count = tx_queue->write_count; in efx_farch_tx_write() local348 if (efx_nic_may_push_tx_desc(tx_queue, old_write_count)) { in efx_farch_tx_write()350 old_write_count & tx_queue->ptr_mask); in efx_farch_tx_write()
279 unsigned int old_write_count; member
79 tx_queue->old_write_count = 0; in efx_init_tx_queue()242 if ((int)(tx_queue->read_count - tx_queue->old_write_count) >= 0) { in efx_xmit_done_check_empty()243 tx_queue->old_write_count = READ_ONCE(tx_queue->write_count); in efx_xmit_done_check_empty()244 if (tx_queue->read_count == tx_queue->old_write_count) { in efx_xmit_done_check_empty()
260 unsigned int old_write_count = tx_queue->write_count; in ef100_tx_make_descriptors() local261 unsigned int new_write_count = old_write_count; in ef100_tx_make_descriptors()266 unsigned int nr_descs = tx_queue->insert_count - old_write_count; in ef100_tx_make_descriptors()
261 unsigned int old_write_count; member
2451 unsigned int old_write_count = tx_queue->write_count; in efx_ef10_tx_write() local2486 if (efx_nic_may_push_tx_desc(tx_queue, old_write_count)) { in efx_ef10_tx_write()2488 old_write_count & tx_queue->ptr_mask); in efx_ef10_tx_write()
524 if ((int)(tx_queue->read_count - tx_queue->old_write_count) >= 0) { in ef4_xmit_done()525 tx_queue->old_write_count = READ_ONCE(tx_queue->write_count); in ef4_xmit_done()526 if (tx_queue->read_count == tx_queue->old_write_count) { in ef4_xmit_done()592 tx_queue->old_write_count = 0; in ef4_init_tx_queue()
230 unsigned int old_write_count; member
311 unsigned old_write_count = tx_queue->write_count; in ef4_farch_tx_write() local337 if (ef4_nic_may_push_tx_desc(tx_queue, old_write_count)) { in ef4_farch_tx_write()339 old_write_count & tx_queue->ptr_mask); in ef4_farch_tx_write()