Searched refs:sw_consumer (Results 1 – 9 of 9) sorted by relevance
1738 u32 sw_consumer, hw_consumer; in netxen_process_cmd_ring() local1750 sw_consumer = tx_ring->sw_consumer; in netxen_process_cmd_ring()1753 while (sw_consumer != hw_consumer) { in netxen_process_cmd_ring()1754 buffer = &tx_ring->cmd_buf_arr[sw_consumer]; in netxen_process_cmd_ring()1772 sw_consumer = get_next_index(sw_consumer, tx_ring->num_desc); in netxen_process_cmd_ring()1777 tx_ring->sw_consumer = sw_consumer; in netxen_process_cmd_ring()1801 done = (sw_consumer == hw_consumer); in netxen_process_cmd_ring()
643 u32 sw_consumer; member1859 tx_ring->sw_consumer, tx_ring->num_desc); in netxen_tx_avail()
118 NXWRIO(adapter, tx_ring->crb_cmd_consumer, tx_ring->sw_consumer); in netxen_nic_update_cmd_consumer()1243 tx_ring->sw_consumer = 0; in netxen_nic_attach()
890 u32 sw_consumer, hw_consumer; in qlcnic_process_cmd_ring() local900 sw_consumer = tx_ring->sw_consumer; in qlcnic_process_cmd_ring()903 while (sw_consumer != hw_consumer) { in qlcnic_process_cmd_ring()904 buffer = &tx_ring->cmd_buf_arr[sw_consumer]; in qlcnic_process_cmd_ring()921 sw_consumer = get_next_index(sw_consumer, tx_ring->num_desc); in qlcnic_process_cmd_ring()926 tx_ring->sw_consumer = sw_consumer; in qlcnic_process_cmd_ring()953 done = (sw_consumer == hw_consumer); in qlcnic_process_cmd_ring()
621 u32 sw_consumer; member1724 if (likely(tx_ring->producer < tx_ring->sw_consumer)) in qlcnic_tx_avail()1725 return tx_ring->sw_consumer - tx_ring->producer; in qlcnic_tx_avail()1727 return tx_ring->sw_consumer + tx_ring->num_desc - in qlcnic_tx_avail()
432 tx_ring->sw_consumer = 0; in qlcnic_82xx_fw_cmd_create_tx_ctx()
565 regs_buff[i++] = tx_ring->sw_consumer; in qlcnic_get_regs()
3009 tx_ring->producer, tx_ring->sw_consumer, in qlcnic_dump_rings()
1332 tx->sw_consumer = 0; in qlcnic_83xx_create_tx_ctx()