Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c128 atomic_set(&src->enabled_types[k], 0); in amdgpu_irq_disable_all()
331 kfree(src->enabled_types); in amdgpu_irq_fini()
332 src->enabled_types = NULL; in amdgpu_irq_fini()
382 if (source->num_types && !source->enabled_types) { in amdgpu_irq_add_id()
390 source->enabled_types = types; in amdgpu_irq_add_id()
530 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_get()
533 if (atomic_inc_return(&src->enabled_types[type]) == 1) in amdgpu_irq_get()
560 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_put()
563 if (atomic_dec_and_test(&src->enabled_types[type])) in amdgpu_irq_put()
591 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_enabled()
[all …]
Damdgpu_irq.h62 atomic_t *enabled_types; member