Lines Matching refs:oq_ci

3370 	pqi_index_t oq_ci;  in pqi_process_io_intr()  local
3376 oq_ci = queue_group->oq_ci_copy; in pqi_process_io_intr()
3384 oq_pi, ctrl_info->num_elements_per_oq - 1, oq_ci); in pqi_process_io_intr()
3387 if (oq_pi == oq_ci) in pqi_process_io_intr()
3392 (oq_ci * PQI_OPERATIONAL_OQ_ELEMENT_LENGTH); in pqi_process_io_intr()
3399 request_id, ctrl_info->max_io_slots - 1, oq_pi, oq_ci); in pqi_process_io_intr()
3408 request_id, oq_pi, oq_ci); in pqi_process_io_intr()
3444 response->header.iu_type, oq_pi, oq_ci); in pqi_process_io_intr()
3454 oq_ci = (oq_ci + 1) % ctrl_info->num_elements_per_oq; in pqi_process_io_intr()
3458 queue_group->oq_ci_copy = oq_ci; in pqi_process_io_intr()
3459 writel(oq_ci, queue_group->oq_ci); in pqi_process_io_intr()
3820 pqi_index_t oq_ci; in pqi_process_event_intr() local
3828 oq_ci = event_queue->oq_ci_copy; in pqi_process_event_intr()
3836 oq_pi, PQI_NUM_EVENT_QUEUE_ELEMENTS - 1, oq_ci); in pqi_process_event_intr()
3840 if (oq_pi == oq_ci) in pqi_process_event_intr()
3844 response = event_queue->oq_element_array + (oq_ci * PQI_EVENT_OQ_ELEMENT_LENGTH); in pqi_process_event_intr()
3859 oq_ci = (oq_ci + 1) % PQI_NUM_EVENT_QUEUE_ELEMENTS; in pqi_process_event_intr()
3863 event_queue->oq_ci_copy = oq_ci; in pqi_process_event_intr()
3864 writel(oq_ci, event_queue->oq_ci); in pqi_process_event_intr()
4349 admin_queues->oq_ci = ctrl_info->iomem_base + in pqi_create_admin_queues()
4388 pqi_index_t oq_ci; in pqi_poll_for_admin_response() local
4392 oq_ci = admin_queues->oq_ci_copy; in pqi_poll_for_admin_response()
4398 if (oq_pi != oq_ci) in pqi_poll_for_admin_response()
4411 (oq_ci * PQI_ADMIN_OQ_ELEMENT_LENGTH), sizeof(*response)); in pqi_poll_for_admin_response()
4413 oq_ci = (oq_ci + 1) % PQI_ADMIN_OQ_NUM_ELEMENTS; in pqi_poll_for_admin_response()
4414 admin_queues->oq_ci_copy = oq_ci; in pqi_poll_for_admin_response()
4415 writel(oq_ci, admin_queues->oq_ci); in pqi_poll_for_admin_response()
4820 event_queue->oq_ci = ctrl_info->iomem_base + in pqi_create_event_queue()
4961 queue_group->oq_ci = ctrl_info->iomem_base + in pqi_create_queue_group()