Searched refs:kq (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_kernel_queue.c | 41 static bool kq_initialize(struct kernel_queue *kq, struct kfd_node *dev, in kq_initialize() argument 61 kq->dev = dev; in kq_initialize() 62 kq->nop_packet = nop.u32all; in kq_initialize() 65 kq->mqd_mgr = dev->dqm->mqd_mgrs[KFD_MQD_TYPE_DIQ]; in kq_initialize() 68 kq->mqd_mgr = dev->dqm->mqd_mgrs[KFD_MQD_TYPE_HIQ]; in kq_initialize() 75 if (!kq->mqd_mgr) in kq_initialize() 85 retval = kfd_gtt_sa_allocate(dev, queue_size, &kq->pq); in kq_initialize() 92 kq->pq_kernel_addr = kq->pq->cpu_ptr; in kq_initialize() 93 kq->pq_gpu_addr = kq->pq->gpu_addr; in kq_initialize() 97 retval = kfd_gtt_sa_allocate(dev, PAGE_SIZE, &kq->eop_mem); in kq_initialize() [all …]
|
H A D | kfd_process_queue_manager.c | 40 (pqn->kq && pqn->kq->queue->properties.queue_id == qid)) in get_queue_by_qid() 291 struct kernel_queue *kq; in pqm_create_queue() local 303 kq = NULL; in pqm_create_queue() 355 pqn->kq = NULL; in pqm_create_queue() 376 pqn->kq = NULL; in pqm_create_queue() 382 kq = kernel_queue_init(dev, KFD_QUEUE_TYPE_DIQ); in pqm_create_queue() 383 if (!kq) { in pqm_create_queue() 387 kq->queue->properties.queue_id = *qid; in pqm_create_queue() 388 pqn->kq = kq; in pqm_create_queue() 395 kq, &pdd->qpd); in pqm_create_queue() [all …]
|
H A D | kfd_kernel_queue.h | 47 int kq_acquire_packet_buffer(struct kernel_queue *kq, 50 void kq_submit_packet(struct kernel_queue *kq); 51 void kq_rollback_packet(struct kernel_queue *kq);
|
H A D | kfd_packet_manager.c | 136 struct kernel_queue *kq; in pm_create_runlist_ib() local 170 list_for_each_entry(kq, &qpd->priv_queue_list, list) { in pm_create_runlist_ib() 171 if (!kq->queue->properties.is_active) in pm_create_runlist_ib() 176 kq->queue->queue, qpd->is_debug); in pm_create_runlist_ib() 180 kq->queue, in pm_create_runlist_ib()
|
H A D | kfd_device_queue_manager.h | 158 struct kernel_queue *kq, 162 struct kernel_queue *kq,
|
H A D | kfd_device_queue_manager.c | 1743 struct kernel_queue *kq, in create_kernel_queue_cpsch() argument 1762 list_add(&kq->list, &qpd->priv_queue_list); in create_kernel_queue_cpsch() 1763 increment_queue_count(dqm, qpd, kq->queue); in create_kernel_queue_cpsch() 1773 struct kernel_queue *kq, in destroy_kernel_queue_cpsch() argument 1777 list_del(&kq->list); in destroy_kernel_queue_cpsch() 1778 decrement_queue_count(dqm, qpd, kq->queue); in destroy_kernel_queue_cpsch() 2368 struct kernel_queue *kq, *kq_next; in process_termination_cpsch() local 2380 list_for_each_entry_safe(kq, kq_next, &qpd->priv_queue_list, list) { in process_termination_cpsch() 2381 list_del(&kq->list); in process_termination_cpsch() 2382 decrement_queue_count(dqm, qpd, kq->queue); in process_termination_cpsch()
|
H A D | kfd_priv.h | 1300 void kernel_queue_uninit(struct kernel_queue *kq, bool hanging); 1306 struct kernel_queue *kq; member
|
/openbmc/linux/drivers/soc/ti/ |
H A D | knav_qmss_acc.c | 53 struct knav_queue_inst *kq, in knav_acc_set_notify() argument 64 if (!enabled || atomic_read(&kq->desc_count) <= 0) in knav_acc_set_notify() 67 kq->notify_needed = 1; in knav_acc_set_notify() 68 atomic_inc(&kq->acc->retrigger_count); in knav_acc_set_notify() 69 mask = BIT(kq->acc->channel % 32); in knav_acc_set_notify() 70 offset = ACC_INTD_OFFSET_STATUS(kq->acc->channel); in knav_acc_set_notify() 72 kq->acc->name); in knav_acc_set_notify() 80 struct knav_queue_inst *kq = NULL; in knav_acc_int_handler() local 101 kq = knav_range_offset_to_inst(kdev, range, queue); in knav_acc_int_handler() 158 kq = knav_range_offset_to_inst(kdev, range, in knav_acc_int_handler() [all …]
|