Lines Matching refs:iq_pi

3068 	pqi_index_t iq_pi;  in pqi_send_event_ack()  local
3080 iq_pi = queue_group->iq_pi_copy[RAID_PATH]; in pqi_send_event_ack()
3083 if (pqi_num_elements_free(iq_pi, iq_ci, in pqi_send_event_ack()
3095 (iq_pi * PQI_OPERATIONAL_IQ_ELEMENT_LENGTH); in pqi_send_event_ack()
3099 iq_pi = (iq_pi + 1) % ctrl_info->num_elements_per_iq; in pqi_send_event_ack()
3100 queue_group->iq_pi_copy[RAID_PATH] = iq_pi; in pqi_send_event_ack()
3106 writel(iq_pi, queue_group->iq_pi[RAID_PATH]); in pqi_send_event_ack()
3865 admin_queues->iq_pi = ctrl_info->iomem_base + in pqi_create_admin_queues()
3880 pqi_index_t iq_pi; in pqi_submit_admin_request() local
3883 iq_pi = admin_queues->iq_pi_copy; in pqi_submit_admin_request()
3886 (iq_pi * PQI_ADMIN_IQ_ELEMENT_LENGTH); in pqi_submit_admin_request()
3890 iq_pi = (iq_pi + 1) % PQI_ADMIN_IQ_NUM_ELEMENTS; in pqi_submit_admin_request()
3891 admin_queues->iq_pi_copy = iq_pi; in pqi_submit_admin_request()
3897 writel(iq_pi, admin_queues->iq_pi); in pqi_submit_admin_request()
3945 pqi_index_t iq_pi; in pqi_start_io() local
3962 iq_pi = queue_group->iq_pi_copy[path]; in pqi_start_io()
3977 if (num_elements_needed > pqi_num_elements_free(iq_pi, iq_ci, in pqi_start_io()
3985 (iq_pi * PQI_OPERATIONAL_IQ_ELEMENT_LENGTH); in pqi_start_io()
3988 ctrl_info->num_elements_per_iq - iq_pi; in pqi_start_io()
4001 iq_pi = (iq_pi + num_elements_needed) % in pqi_start_io()
4007 if (iq_pi != queue_group->iq_pi_copy[path]) { in pqi_start_io()
4008 queue_group->iq_pi_copy[path] = iq_pi; in pqi_start_io()
4013 writel(iq_pi, queue_group->iq_pi[path]); in pqi_start_io()
4419 queue_group->iq_pi[RAID_PATH] = ctrl_info->iomem_base + in pqi_create_queue_group()
4454 queue_group->iq_pi[AIO_PATH] = ctrl_info->iomem_base + in pqi_create_queue_group()
5481 pqi_index_t iq_pi; in pqi_wait_until_inbound_queues_empty() local
5492 iq_pi = queue_group->iq_pi_copy[path]; in pqi_wait_until_inbound_queues_empty()
5496 if (iq_ci == iq_pi) in pqi_wait_until_inbound_queues_empty()