Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c128 atomic_set(&src->enabled_types[k], 0); in amdgpu_irq_disable_all()
332 kfree(src->enabled_types); in amdgpu_irq_fini()
333 src->enabled_types = NULL; in amdgpu_irq_fini()
383 if (source->num_types && !source->enabled_types) { in amdgpu_irq_add_id()
391 source->enabled_types = types; in amdgpu_irq_add_id()
531 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_get()
534 if (atomic_inc_return(&src->enabled_types[type]) == 1) in amdgpu_irq_get()
561 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_put()
564 if (atomic_dec_and_test(&src->enabled_types[type])) in amdgpu_irq_put()
592 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_enabled()
[all …]
Damdgpu_irq.h62 atomic_t *enabled_types; member