Lines Matching refs:oq_ci
3414 pqi_index_t oq_ci; in pqi_process_io_intr() local
3420 oq_ci = queue_group->oq_ci_copy; in pqi_process_io_intr()
3428 oq_pi, ctrl_info->num_elements_per_oq - 1, oq_ci); in pqi_process_io_intr()
3431 if (oq_pi == oq_ci) in pqi_process_io_intr()
3436 (oq_ci * PQI_OPERATIONAL_OQ_ELEMENT_LENGTH); in pqi_process_io_intr()
3443 request_id, ctrl_info->max_io_slots - 1, oq_pi, oq_ci); in pqi_process_io_intr()
3452 request_id, oq_pi, oq_ci); in pqi_process_io_intr()
3488 response->header.iu_type, oq_pi, oq_ci); in pqi_process_io_intr()
3498 oq_ci = (oq_ci + 1) % ctrl_info->num_elements_per_oq; in pqi_process_io_intr()
3502 queue_group->oq_ci_copy = oq_ci; in pqi_process_io_intr()
3503 writel(oq_ci, queue_group->oq_ci); in pqi_process_io_intr()
3879 pqi_index_t oq_ci; in pqi_process_event_intr() local
3887 oq_ci = event_queue->oq_ci_copy; in pqi_process_event_intr()
3895 oq_pi, PQI_NUM_EVENT_QUEUE_ELEMENTS - 1, oq_ci); in pqi_process_event_intr()
3899 if (oq_pi == oq_ci) in pqi_process_event_intr()
3903 response = event_queue->oq_element_array + (oq_ci * PQI_EVENT_OQ_ELEMENT_LENGTH); in pqi_process_event_intr()
3918 oq_ci = (oq_ci + 1) % PQI_NUM_EVENT_QUEUE_ELEMENTS; in pqi_process_event_intr()
3922 event_queue->oq_ci_copy = oq_ci; in pqi_process_event_intr()
3923 writel(oq_ci, event_queue->oq_ci); in pqi_process_event_intr()
4408 admin_queues->oq_ci = ctrl_info->iomem_base + in pqi_create_admin_queues()
4447 pqi_index_t oq_ci; in pqi_poll_for_admin_response() local
4451 oq_ci = admin_queues->oq_ci_copy; in pqi_poll_for_admin_response()
4457 if (oq_pi != oq_ci) in pqi_poll_for_admin_response()
4470 (oq_ci * PQI_ADMIN_OQ_ELEMENT_LENGTH), sizeof(*response)); in pqi_poll_for_admin_response()
4472 oq_ci = (oq_ci + 1) % PQI_ADMIN_OQ_NUM_ELEMENTS; in pqi_poll_for_admin_response()
4473 admin_queues->oq_ci_copy = oq_ci; in pqi_poll_for_admin_response()
4474 writel(oq_ci, admin_queues->oq_ci); in pqi_poll_for_admin_response()
4879 event_queue->oq_ci = ctrl_info->iomem_base + in pqi_create_event_queue()
5020 queue_group->oq_ci = ctrl_info->iomem_base + in pqi_create_queue_group()