Lines Matching refs:kq
60 struct kernel_queue *kq; in dbgdev_diq_submit_ib() local
65 BUG_ON(!dbgdev || !dbgdev->kq || !packet_buff || !size_in_bytes); in dbgdev_diq_submit_ib()
67 kq = dbgdev->kq; in dbgdev_diq_submit_ib()
77 status = kq->ops.acquire_packet_buffer(kq, in dbgdev_diq_submit_ib()
120 kq->ops.rollback_packet(kq); in dbgdev_diq_submit_ib()
157 kq->ops.submit_packet(kq); in dbgdev_diq_submit_ib()
178 dbgdev->kq = NULL; in dbgdev_register_nodiq()
187 struct kernel_queue *kq = NULL; in dbgdev_register_diq() local
203 kq = pqm_get_kernel_queue(dbgdev->pqm, qid); in dbgdev_register_diq()
205 if (kq == NULL) { in dbgdev_register_diq()
211 dbgdev->kq = kq; in dbgdev_register_diq()
230 BUG_ON(!dbgdev || !dbgdev->pqm || !dbgdev->kq); in dbgdev_unregister_diq()
233 dbgdev->kq->queue->properties.queue_id); in dbgdev_unregister_diq()
234 dbgdev->kq = NULL; in dbgdev_unregister_diq()
866 pdbgdev->kq = NULL; in kfd_dbgdev_init()