Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c360 kfree(src->enabled_types); in amdgpu_irq_fini_sw()
361 src->enabled_types = NULL; in amdgpu_irq_fini_sw()
406 if (source->num_types && !source->enabled_types) { in amdgpu_irq_add_id()
414 source->enabled_types = types; in amdgpu_irq_add_id()
582 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_get()
585 if (atomic_inc_return(&src->enabled_types[type]) == 1) in amdgpu_irq_get()
612 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_put()
618 if (atomic_dec_and_test(&src->enabled_types[type])) in amdgpu_irq_put()
646 if (!src->enabled_types || !src->funcs->set) in amdgpu_irq_enabled()
649 return !!atomic_read(&src->enabled_types[type]); in amdgpu_irq_enabled()
Damdgpu_irq.h63 atomic_t *enabled_types; member