Home
last modified time | relevance | path

Searched refs:sw_consumer (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c1767 u32 sw_consumer, hw_consumer; in netxen_process_cmd_ring() local
1779 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()
Dnetxen_nic.h659 u32 sw_consumer; member
1860 tx_ring->sw_consumer, tx_ring->num_desc); in netxen_tx_avail()
Dnetxen_nic_main.c139 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()
Dnetxen_nic_hw.c598 consumer = tx_ring->sw_consumer; in netxen_send_cmd_descs()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h523 u32 sw_consumer; member
1554 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()
Dqlcnic_main.c2484 u32 sw_consumer, hw_consumer; in qlcnic_process_cmd_ring() local
2496 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()
Dqlcnic_ctx.c372 tx_ring->sw_consumer = 0; in qlcnic_fw_cmd_create_tx_ctx()
Dqlcnic_hw.c321 consumer = tx_ring->sw_consumer; in qlcnic_send_cmd_descs()