Lines Matching refs:event_queue
3866 struct pqi_event_queue *event_queue; in pqi_process_event_intr() local
3871 event_queue = &ctrl_info->event_queue; in pqi_process_event_intr()
3873 oq_ci = event_queue->oq_ci_copy; in pqi_process_event_intr()
3876 oq_pi = readl(event_queue->oq_pi); in pqi_process_event_intr()
3889 response = event_queue->oq_element_array + (oq_ci * PQI_EVENT_OQ_ELEMENT_LENGTH); in pqi_process_event_intr()
3908 event_queue->oq_ci_copy = oq_ci; in pqi_process_event_intr()
3909 writel(oq_ci, event_queue->oq_ci); in pqi_process_event_intr()
4206 ctrl_info->event_queue.oq_element_array = element_array; in pqi_alloc_operational_queues()
4207 ctrl_info->event_queue.oq_element_array_bus_addr = in pqi_alloc_operational_queues()
4244 ctrl_info->event_queue.oq_pi = next_queue_index; in pqi_alloc_operational_queues()
4245 ctrl_info->event_queue.oq_pi_bus_addr = in pqi_alloc_operational_queues()
4271 ctrl_info->event_queue.oq_id = next_oq_id++; in pqi_init_operational_queues()
4282 ctrl_info->event_queue.int_msg_num = 0; in pqi_init_operational_queues()
4831 struct pqi_event_queue *event_queue; in pqi_create_event_queue() local
4835 event_queue = &ctrl_info->event_queue; in pqi_create_event_queue()
4846 put_unaligned_le16(event_queue->oq_id, in pqi_create_event_queue()
4848 put_unaligned_le64((u64)event_queue->oq_element_array_bus_addr, in pqi_create_event_queue()
4850 put_unaligned_le64((u64)event_queue->oq_pi_bus_addr, in pqi_create_event_queue()
4857 put_unaligned_le16(event_queue->int_msg_num, in pqi_create_event_queue()
4865 event_queue->oq_ci = ctrl_info->iomem_base + in pqi_create_event_queue()
5085 put_unaligned_le16(ctrl_info->event_queue.oq_id, in pqi_configure_events()
8450 struct pqi_event_queue *event_queue; in pqi_reinit_queues() local
8467 event_queue = &ctrl_info->event_queue; in pqi_reinit_queues()
8468 writel(0, event_queue->oq_pi); in pqi_reinit_queues()
8469 event_queue->oq_ci_copy = 0; in pqi_reinit_queues()