Searched refs:sw_consumer (Results 1 – 8 of 8) sorted by relevance
1719 u32 sw_consumer, hw_consumer; in netxen_process_cmd_ring() local1731 sw_consumer = tx_ring->sw_consumer; in netxen_process_cmd_ring()1734 while (sw_consumer != hw_consumer) { in netxen_process_cmd_ring()1735 buffer = &tx_ring->cmd_buf_arr[sw_consumer]; in netxen_process_cmd_ring()1753 sw_consumer = get_next_index(sw_consumer, tx_ring->num_desc); in netxen_process_cmd_ring()1759 tx_ring->sw_consumer = sw_consumer; in netxen_process_cmd_ring()1782 done = (sw_consumer == hw_consumer); in netxen_process_cmd_ring()
659 u32 sw_consumer; member1422 tx_ring->sw_consumer, tx_ring->num_desc); in netxen_tx_avail()
138 NXWRIO(adapter, tx_ring->crb_cmd_consumer, tx_ring->sw_consumer); in netxen_nic_update_cmd_consumer()1106 tx_ring->sw_consumer = 0; in netxen_nic_attach()
599 consumer = tx_ring->sw_consumer; in netxen_send_cmd_descs()
479 u32 sw_consumer; member1383 if (tx_ring->producer < tx_ring->sw_consumer) in qlcnic_tx_avail()1384 return tx_ring->sw_consumer - tx_ring->producer; in qlcnic_tx_avail()1386 return tx_ring->sw_consumer + tx_ring->num_desc - in qlcnic_tx_avail()
2388 u32 sw_consumer, hw_consumer; in qlcnic_process_cmd_ring() local2400 sw_consumer = tx_ring->sw_consumer; in qlcnic_process_cmd_ring()2403 while (sw_consumer != hw_consumer) { in qlcnic_process_cmd_ring()2404 buffer = &tx_ring->cmd_buf_arr[sw_consumer]; in qlcnic_process_cmd_ring()2422 sw_consumer = get_next_index(sw_consumer, tx_ring->num_desc); in qlcnic_process_cmd_ring()2428 tx_ring->sw_consumer = sw_consumer; in qlcnic_process_cmd_ring()2454 done = (sw_consumer == hw_consumer); in qlcnic_process_cmd_ring()
320 consumer = tx_ring->sw_consumer; in qlcnic_send_cmd_descs()
273 tx_ring->sw_consumer = 0; in qlcnic_fw_cmd_create_tx_ctx()