Searched refs:sw_consumer (Results 1 – 8 of 8) sorted by relevance
1767 u32 sw_consumer, hw_consumer; in netxen_process_cmd_ring() local1779 sw_consumer = tx_ring->sw_consumer; in netxen_process_cmd_ring()1782 while (sw_consumer != hw_consumer) { in netxen_process_cmd_ring()1783 buffer = &tx_ring->cmd_buf_arr[sw_consumer]; in netxen_process_cmd_ring()1801 sw_consumer = get_next_index(sw_consumer, tx_ring->num_desc); in netxen_process_cmd_ring()1807 tx_ring->sw_consumer = sw_consumer; in netxen_process_cmd_ring()1830 done = (sw_consumer == hw_consumer); in netxen_process_cmd_ring()
659 u32 sw_consumer; member1860 tx_ring->sw_consumer, tx_ring->num_desc); in netxen_tx_avail()
139 NXWRIO(adapter, tx_ring->crb_cmd_consumer, tx_ring->sw_consumer); in netxen_nic_update_cmd_consumer()1221 tx_ring->sw_consumer = 0; in netxen_nic_attach()
598 consumer = tx_ring->sw_consumer; in netxen_send_cmd_descs()
523 u32 sw_consumer; member1554 if (likely(tx_ring->producer < tx_ring->sw_consumer)) in qlcnic_tx_avail()1555 return tx_ring->sw_consumer - tx_ring->producer; in qlcnic_tx_avail()1557 return tx_ring->sw_consumer + tx_ring->num_desc - in qlcnic_tx_avail()
2484 u32 sw_consumer, hw_consumer; in qlcnic_process_cmd_ring() local2496 sw_consumer = tx_ring->sw_consumer; in qlcnic_process_cmd_ring()2499 while (sw_consumer != hw_consumer) { in qlcnic_process_cmd_ring()2500 buffer = &tx_ring->cmd_buf_arr[sw_consumer]; in qlcnic_process_cmd_ring()2518 sw_consumer = get_next_index(sw_consumer, tx_ring->num_desc); in qlcnic_process_cmd_ring()2524 tx_ring->sw_consumer = sw_consumer; in qlcnic_process_cmd_ring()2550 done = (sw_consumer == hw_consumer); in qlcnic_process_cmd_ring()
372 tx_ring->sw_consumer = 0; in qlcnic_fw_cmd_create_tx_ctx()
321 consumer = tx_ring->sw_consumer; in qlcnic_send_cmd_descs()