Home
last modified time | relevance | path

Searched refs:enabled_types (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c163 atomic_set(&src->enabled_types[k], 0); in amdgpu_irq_disable_all()
403 kfree(src->enabled_types); in amdgpu_irq_fini_sw()
404 src->enabled_types = NULL; in amdgpu_irq_fini_sw()
449 if (source->num_types && !source->enabled_types) { in amdgpu_irq_add_id()
457 source->enabled_types = types; in amdgpu_irq_add_id()
623 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_get()
626 if (atomic_inc_return(&src->enabled_types[type]) == 1) in amdgpu_irq_get()
653 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_put()
656 if (atomic_dec_and_test(&src->enabled_types[type])) in amdgpu_irq_put()
684 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_enabled()
[all …]
Damdgpu_irq.h63 atomic_t *enabled_types; member