Lines Matching refs:consumer_counter
76 u16 consumer_counter; member
152 if ((u16) (q->producer_counter - q->consumer_counter) == q->count) in mlxsw_pci_queue_elem_info_producer_get()
160 int index = q->consumer_counter & (q->count - 1); in mlxsw_pci_queue_elem_info_consumer_get()
172 return owner_bit != !!(q->consumer_counter & q->count); in mlxsw_pci_elem_hw_owned()
266 q->consumer_counter + q->count); in mlxsw_pci_queue_doorbell_consumer_ring()
274 __mlxsw_pci_queue_doorbell_arm_set(mlxsw_pci, q, q->consumer_counter); in mlxsw_pci_queue_doorbell_arm_consumer_ring()
290 q->consumer_counter = 0; in mlxsw_pci_sdq_init()
394 q->consumer_counter = 0; in mlxsw_pci_rdq_init()
466 q->consumer_counter = 0; in mlxsw_pci_cq_init()
523 if (q->consumer_counter++ != consumer_counter_limit) in mlxsw_pci_cqe_sdq_handle()
548 if (q->consumer_counter++ != consumer_counter_limit) in mlxsw_pci_cqe_rdq_handle()
590 q->consumer_counter++; in mlxsw_pci_cq_sw_cqe_get()
650 q->consumer_counter = 0; in mlxsw_pci_eq_init()
701 q->consumer_counter++; in mlxsw_pci_eq_sw_eqe_get()