Searched refs:num_types (Results 1 – 21 of 21) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_irq.c | 101 if (!src || !src->funcs->set || !src->num_types) in amdgpu_irq_disable_all() 104 for (j = 0; j < src->num_types; ++j) { in amdgpu_irq_disable_all() 304 if (source->num_types && !source->enabled_types) { in amdgpu_irq_add_id() 307 types = kcalloc(source->num_types, sizeof(atomic_t), in amdgpu_irq_add_id() 395 if (type >= src->num_types) in amdgpu_irq_get() 411 if ((type >= src->num_types) || !src->enabled_types) in amdgpu_irq_get_delayed() 431 if (type >= src->num_types) in amdgpu_irq_put() 457 if (type >= src->num_types) in amdgpu_irq_enabled()
|
D | amdgpu_irq.h | 40 unsigned num_types; member
|
D | amdgpu_cgs.c | 534 unsigned num_types, in amdgpu_cgs_add_irq_source() argument 552 source->num_types = num_types; in amdgpu_cgs_add_irq_source()
|
D | vce_v2_0.c | 661 adev->vce.irq.num_types = 1; in vce_v2_0_set_irq_funcs()
|
D | vce_v3_0.c | 677 adev->vce.irq.num_types = 1; in vce_v3_0_set_irq_funcs()
|
D | uvd_v5_0.c | 842 adev->uvd.irq.num_types = 1; in uvd_v5_0_set_irq_funcs()
|
D | uvd_v6_0.c | 826 adev->uvd.irq.num_types = 1; in uvd_v6_0_set_irq_funcs()
|
D | uvd_v4_2.c | 903 adev->uvd.irq.num_types = 1; in uvd_v4_2_set_irq_funcs()
|
D | dce_v8_0.c | 3770 adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_LAST; in dce_v8_0_set_irq_funcs() 3773 adev->pageflip_irq.num_types = AMDGPU_PAGEFLIP_IRQ_LAST; in dce_v8_0_set_irq_funcs() 3776 adev->hpd_irq.num_types = AMDGPU_HPD_LAST; in dce_v8_0_set_irq_funcs()
|
D | gmc_v8_0.c | 1353 adev->mc.vm_fault.num_types = 1; in gmc_v8_0_set_irq_funcs()
|
D | gmc_v7_0.c | 1408 adev->mc.vm_fault.num_types = 1; in gmc_v7_0_set_irq_funcs()
|
D | dce_v10_0.c | 3813 adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_LAST; in dce_v10_0_set_irq_funcs() 3816 adev->pageflip_irq.num_types = AMDGPU_PAGEFLIP_IRQ_LAST; in dce_v10_0_set_irq_funcs() 3819 adev->hpd_irq.num_types = AMDGPU_HPD_LAST; in dce_v10_0_set_irq_funcs()
|
D | dce_v11_0.c | 3813 adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_LAST; in dce_v11_0_set_irq_funcs() 3816 adev->pageflip_irq.num_types = AMDGPU_PAGEFLIP_IRQ_LAST; in dce_v11_0_set_irq_funcs() 3819 adev->hpd_irq.num_types = AMDGPU_HPD_LAST; in dce_v11_0_set_irq_funcs()
|
D | cik_sdma.c | 1327 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in cik_sdma_set_irq_funcs()
|
D | sdma_v2_4.c | 1332 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in sdma_v2_4_set_irq_funcs()
|
D | sdma_v3_0.c | 1493 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in sdma_v3_0_set_irq_funcs()
|
D | gfx_v7_0.c | 5591 adev->gfx.eop_irq.num_types = AMDGPU_CP_IRQ_LAST; in gfx_v7_0_set_irq_funcs() 5594 adev->gfx.priv_reg_irq.num_types = 1; in gfx_v7_0_set_irq_funcs() 5597 adev->gfx.priv_inst_irq.num_types = 1; in gfx_v7_0_set_irq_funcs()
|
D | gfx_v8_0.c | 5074 adev->gfx.eop_irq.num_types = AMDGPU_CP_IRQ_LAST; in gfx_v8_0_set_irq_funcs() 5077 adev->gfx.priv_reg_irq.num_types = 1; in gfx_v8_0_set_irq_funcs() 5080 adev->gfx.priv_inst_irq.num_types = 1; in gfx_v8_0_set_irq_funcs()
|
D | kv_dpm.c | 3347 adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST; in kv_dpm_set_irq_funcs()
|
D | ci_dpm.c | 6705 adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST; in ci_dpm_set_irq_funcs()
|
/drivers/gpu/drm/amd/include/ |
D | cgs_linux.h | 70 unsigned num_types, 110 #define cgs_add_irq_source(dev,src_id,num_types,set,handler,private_data) \ argument 111 CGS_OS_CALL(add_irq_source,dev,src_id,num_types,set,handler, \
|