Searched refs:consumer_counter (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
H A Dpci.c144 u16 consumer_counter; member in struct:mlxsw_pci_queue
218 if ((q->producer_counter - q->consumer_counter) == q->count) mlxsw_pci_queue_elem_info_producer_get()
226 int index = q->consumer_counter & (q->count - 1); mlxsw_pci_queue_elem_info_consumer_get()
238 return owner_bit != !!(q->consumer_counter & q->count); mlxsw_pci_elem_hw_owned()
253 q->consumer_counter++; mlxsw_pci_queue_sw_elem_get()
359 q->consumer_counter + q->count); mlxsw_pci_queue_doorbell_consumer_ring()
367 __mlxsw_pci_queue_doorbell_arm_set(mlxsw_pci, q, q->consumer_counter); mlxsw_pci_queue_doorbell_arm_consumer_ring()
383 q->consumer_counter = 0; mlxsw_pci_sdq_init()
421 i, q->producer_counter, q->consumer_counter, mlxsw_pci_sdq_dbg_read()
507 q->consumer_counter = 0; mlxsw_pci_rdq_init()
575 i, q->producer_counter, q->consumer_counter, mlxsw_pci_rdq_dbg_read()
588 q->consumer_counter = 0; mlxsw_pci_cq_init()
634 i, q->consumer_counter, q->u.cq.comp_sdq_count, mlxsw_pci_cq_dbg_read()
661 if (q->consumer_counter++ != consumer_counter_limit) mlxsw_pci_cqe_sdq_handle()
686 if (q->consumer_counter++ != consumer_counter_limit) mlxsw_pci_cqe_rdq_handle()
765 q->consumer_counter = 0; mlxsw_pci_eq_init()
809 i, q->consumer_counter, q->u.eq.ev_cmd_count, mlxsw_pci_eq_dbg_read()
/linux-4.4.14/include/linux/mlx5/
H A Ddevice.h765 __be32 consumer_counter; member in struct:mlx5_cq_context
856 __be32 consumer_counter; member in struct:mlx5_eq_context
H A Dmlx5_ifc.h2307 u8 consumer_counter[0x18]; member in struct:mlx5_ifc_eqc_bits
2457 u8 consumer_counter[0x18]; member in struct:mlx5_ifc_cqc_bits

Completed in 276 milliseconds