Lines Matching refs:admin_queues

3725 	struct pqi_admin_queues *admin_queues;  in pqi_alloc_admin_queues()  local
3740 admin_queues = &ctrl_info->admin_queues; in pqi_alloc_admin_queues()
3743 admin_queues->iq_element_array = in pqi_alloc_admin_queues()
3745 admin_queues->oq_element_array = in pqi_alloc_admin_queues()
3747 admin_queues->iq_ci = &admin_queues_aligned->iq_ci; in pqi_alloc_admin_queues()
3748 admin_queues->oq_pi = in pqi_alloc_admin_queues()
3751 admin_queues->iq_element_array_bus_addr = in pqi_alloc_admin_queues()
3753 (admin_queues->iq_element_array - in pqi_alloc_admin_queues()
3755 admin_queues->oq_element_array_bus_addr = in pqi_alloc_admin_queues()
3757 (admin_queues->oq_element_array - in pqi_alloc_admin_queues()
3759 admin_queues->iq_ci_bus_addr = in pqi_alloc_admin_queues()
3761 ((void *)admin_queues->iq_ci - in pqi_alloc_admin_queues()
3763 admin_queues->oq_pi_bus_addr = in pqi_alloc_admin_queues()
3765 ((void __iomem *)admin_queues->oq_pi - in pqi_alloc_admin_queues()
3777 struct pqi_admin_queues *admin_queues; in pqi_create_admin_queues() local
3783 admin_queues = &ctrl_info->admin_queues; in pqi_create_admin_queues()
3785 writeq((u64)admin_queues->iq_element_array_bus_addr, in pqi_create_admin_queues()
3787 writeq((u64)admin_queues->oq_element_array_bus_addr, in pqi_create_admin_queues()
3789 writeq((u64)admin_queues->iq_ci_bus_addr, in pqi_create_admin_queues()
3791 writeq((u64)admin_queues->oq_pi_bus_addr, in pqi_create_admin_queues()
3796 (admin_queues->int_msg_num << 16); in pqi_create_admin_queues()
3816 admin_queues->iq_pi = ctrl_info->iomem_base + in pqi_create_admin_queues()
3819 admin_queues->oq_ci = ctrl_info->iomem_base + in pqi_create_admin_queues()
3829 struct pqi_admin_queues *admin_queues; in pqi_submit_admin_request() local
3833 admin_queues = &ctrl_info->admin_queues; in pqi_submit_admin_request()
3834 iq_pi = admin_queues->iq_pi_copy; in pqi_submit_admin_request()
3836 next_element = admin_queues->iq_element_array + in pqi_submit_admin_request()
3842 admin_queues->iq_pi_copy = iq_pi; in pqi_submit_admin_request()
3848 writel(iq_pi, admin_queues->iq_pi); in pqi_submit_admin_request()
3856 struct pqi_admin_queues *admin_queues; in pqi_poll_for_admin_response() local
3861 admin_queues = &ctrl_info->admin_queues; in pqi_poll_for_admin_response()
3862 oq_ci = admin_queues->oq_ci_copy; in pqi_poll_for_admin_response()
3867 oq_pi = readl(admin_queues->oq_pi); in pqi_poll_for_admin_response()
3880 memcpy(response, admin_queues->oq_element_array + in pqi_poll_for_admin_response()
3884 admin_queues->oq_ci_copy = oq_ci; in pqi_poll_for_admin_response()
3885 writel(oq_ci, admin_queues->oq_ci); in pqi_poll_for_admin_response()
7350 struct pqi_admin_queues *admin_queues; in pqi_reinit_queues() local
7353 admin_queues = &ctrl_info->admin_queues; in pqi_reinit_queues()
7354 admin_queues->iq_pi_copy = 0; in pqi_reinit_queues()
7355 admin_queues->oq_ci_copy = 0; in pqi_reinit_queues()
7356 writel(0, admin_queues->oq_pi); in pqi_reinit_queues()