Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c1738 u32 sw_consumer, hw_consumer; in netxen_process_cmd_ring() local
1750 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()
Dnetxen_nic.h643 u32 sw_consumer; member
1859 tx_ring->sw_consumer, tx_ring->num_desc); in netxen_tx_avail()
Dnetxen_nic_main.c118 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()
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c890 u32 sw_consumer, hw_consumer; in qlcnic_process_cmd_ring() local
900 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()
Dqlcnic.h621 u32 sw_consumer; member
1724 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()
Dqlcnic_ctx.c432 tx_ring->sw_consumer = 0; in qlcnic_82xx_fw_cmd_create_tx_ctx()
Dqlcnic_ethtool.c565 regs_buff[i++] = tx_ring->sw_consumer; in qlcnic_get_regs()
Dqlcnic_main.c3009 tx_ring->producer, tx_ring->sw_consumer, in qlcnic_dump_rings()
Dqlcnic_83xx_hw.c1332 tx->sw_consumer = 0; in qlcnic_83xx_create_tx_ctx()