Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_irq.c163 atomic_set(&src->enabled_types[k], 0); in amdgpu_irq_disable_all()
416 kfree(src->enabled_types); in amdgpu_irq_fini_sw()
417 src->enabled_types = NULL; in amdgpu_irq_fini_sw()
462 if (source->num_types && !source->enabled_types) { in amdgpu_irq_add_id()
470 source->enabled_types = types; in amdgpu_irq_add_id()
633 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_get()
636 if (atomic_inc_return(&src->enabled_types[type]) == 1) in amdgpu_irq_get()
663 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_put()
666 if (atomic_dec_and_test(&src->enabled_types[type])) in amdgpu_irq_put()
694 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_enabled()
[all …]
A Damdgpu_irq.h63 atomic_t *enabled_types; member

Completed in 5 milliseconds