Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/netxen/
Dnetxen_nic_init.c1719 u32 sw_consumer, hw_consumer; in netxen_process_cmd_ring() local
1731 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()
Dnetxen_nic.h659 u32 sw_consumer; member
1422 tx_ring->sw_consumer, tx_ring->num_desc); in netxen_tx_avail()
Dnetxen_nic_main.c138 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()
Dnetxen_nic_hw.c599 consumer = tx_ring->sw_consumer; in netxen_send_cmd_descs()
/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic.h479 u32 sw_consumer; member
1383 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()
Dqlcnic_main.c2388 u32 sw_consumer, hw_consumer; in qlcnic_process_cmd_ring() local
2400 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()
Dqlcnic_hw.c320 consumer = tx_ring->sw_consumer; in qlcnic_send_cmd_descs()
Dqlcnic_ctx.c273 tx_ring->sw_consumer = 0; in qlcnic_fw_cmd_create_tx_ctx()