Lines Matching refs:event_queue
3844 struct pqi_event_queue *event_queue; in pqi_process_event_intr() local
3849 event_queue = &ctrl_info->event_queue; in pqi_process_event_intr()
3851 oq_ci = event_queue->oq_ci_copy; in pqi_process_event_intr()
3854 oq_pi = readl(event_queue->oq_pi); in pqi_process_event_intr()
3867 response = event_queue->oq_element_array + (oq_ci * PQI_EVENT_OQ_ELEMENT_LENGTH); in pqi_process_event_intr()
3886 event_queue->oq_ci_copy = oq_ci; in pqi_process_event_intr()
3887 writel(oq_ci, event_queue->oq_ci); in pqi_process_event_intr()
4184 ctrl_info->event_queue.oq_element_array = element_array; in pqi_alloc_operational_queues()
4185 ctrl_info->event_queue.oq_element_array_bus_addr = in pqi_alloc_operational_queues()
4222 ctrl_info->event_queue.oq_pi = next_queue_index; in pqi_alloc_operational_queues()
4223 ctrl_info->event_queue.oq_pi_bus_addr = in pqi_alloc_operational_queues()
4249 ctrl_info->event_queue.oq_id = next_oq_id++; in pqi_init_operational_queues()
4260 ctrl_info->event_queue.int_msg_num = 0; in pqi_init_operational_queues()
4809 struct pqi_event_queue *event_queue; in pqi_create_event_queue() local
4813 event_queue = &ctrl_info->event_queue; in pqi_create_event_queue()
4824 put_unaligned_le16(event_queue->oq_id, in pqi_create_event_queue()
4826 put_unaligned_le64((u64)event_queue->oq_element_array_bus_addr, in pqi_create_event_queue()
4828 put_unaligned_le64((u64)event_queue->oq_pi_bus_addr, in pqi_create_event_queue()
4835 put_unaligned_le16(event_queue->int_msg_num, in pqi_create_event_queue()
4843 event_queue->oq_ci = ctrl_info->iomem_base + in pqi_create_event_queue()
5063 put_unaligned_le16(ctrl_info->event_queue.oq_id, in pqi_configure_events()
8368 struct pqi_event_queue *event_queue; in pqi_reinit_queues() local
8385 event_queue = &ctrl_info->event_queue; in pqi_reinit_queues()
8386 writel(0, event_queue->oq_pi); in pqi_reinit_queues()
8387 event_queue->oq_ci_copy = 0; in pqi_reinit_queues()