Lines Matching refs:oq_pi
3369 pqi_index_t oq_pi; in pqi_process_io_intr() local
3379 oq_pi = readl(queue_group->oq_pi); in pqi_process_io_intr()
3380 if (oq_pi >= ctrl_info->num_elements_per_oq) { 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()
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()
3819 pqi_index_t oq_pi; in pqi_process_event_intr() local
3831 oq_pi = readl(event_queue->oq_pi); in pqi_process_event_intr()
3832 if (oq_pi >= PQI_NUM_EVENT_QUEUE_ELEMENTS) { 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()
4189 queue_group->oq_pi = next_queue_index; in pqi_alloc_operational_queues()
4199 ctrl_info->event_queue.oq_pi = next_queue_index; in pqi_alloc_operational_queues()
4277 admin_queues->oq_pi = in pqi_alloc_admin_queues()
4278 (pqi_index_t __iomem *)&admin_queues_aligned->oq_pi; in pqi_alloc_admin_queues()
4294 ((void __iomem *)admin_queues->oq_pi - in pqi_alloc_admin_queues()
4387 pqi_index_t oq_pi; in pqi_poll_for_admin_response() local
4397 oq_pi = readl(admin_queues->oq_pi); in pqi_poll_for_admin_response()
4398 if (oq_pi != oq_ci) in pqi_poll_for_admin_response()
8340 writel(0, admin_queues->oq_pi); in pqi_reinit_queues()
8349 writel(0, ctrl_info->queue_groups[i].oq_pi); in pqi_reinit_queues()
8353 writel(0, event_queue->oq_pi); in pqi_reinit_queues()