Lines Matching defs:queue
29 * @ptr: the current ci or pi value of the completion queue
31 * Increment ptr by 1. If it reaches the number of completion queue
45 * @ptr: the current ci value of the event queue
47 * Increment ptr by 1. If it reaches the number of event queue
70 * hl_irq_handler_cq - irq handler for completion queue
73 * @arg: pointer to completion queue structure
80 struct hl_hw_queue *queue;
118 queue = &hdev->kernel_queues[cq->hw_queue_id];
121 job = queue->shadow_queue[hl_pi_2_offset(shadow_index)];
125 atomic_inc(&queue->ci);
141 * hl_irq_handler_eq - irq handler for event queue
144 * @arg: pointer to event queue structure
209 * @hw_queue_id: The H/W queue ID this completion queue belongs to
211 * Allocate dma-able memory for the completion queue and initialize fields
235 * hl_cq_fini - destroy completion queue
240 * Free the completion queue memory
267 * hl_eq_init - main initialization function for an event queue object
272 * Allocate dma-able memory for the event queue and initialize fields
293 * hl_eq_fini - destroy event queue
298 * Free the event queue memory