Lines Matching refs: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 * job_finish - queue job finish work
74 * @cq: completion queue
80 struct hl_hw_queue *queue;
83 queue = &hdev->kernel_queues[cq->hw_queue_id];
84 job = queue->shadow_queue[hl_pi_2_offset(cs_seq)];
88 atomic_inc(&queue->ci);
92 * cs_finish - queue all cs jobs finish work
102 struct hl_hw_queue *queue;
115 queue = &hdev->kernel_queues[job->hw_queue_id];
116 atomic_inc(&queue->ci);
124 * hl_irq_handler_cq - irq handler for completion queue
127 * @arg: pointer to completion queue structure
173 * 2. Interrupt per CS job completion in queue: (CQ per queue)
174 * CQ entry represents a completed job in a certain queue
490 * hl_irq_handler_eq - irq handler for event queue
493 * @arg: pointer to event queue structure
520 "EQE %#x in queue is ready but index does not match %d!=%d",
588 * @hw_queue_id: The H/W queue ID this completion queue belongs to
589 * HL_INVALID_QUEUE if cq is not attached to any specific queue
591 * Allocate dma-able memory for the completion queue and initialize fields
615 * hl_cq_fini - destroy completion queue
620 * Free the completion queue memory
645 * hl_eq_init - main initialization function for an event queue object
650 * Allocate dma-able memory for the event queue and initialize fields
670 * hl_eq_fini - destroy event queue
675 * Free the event queue memory