Home
last modified time | relevance | path

Searched refs:num_types (Results 1 – 21 of 21) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c101 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()
Damdgpu_irq.h40 unsigned num_types; member
Damdgpu_cgs.c534 unsigned num_types, in amdgpu_cgs_add_irq_source() argument
552 source->num_types = num_types; in amdgpu_cgs_add_irq_source()
Dvce_v2_0.c661 adev->vce.irq.num_types = 1; in vce_v2_0_set_irq_funcs()
Dvce_v3_0.c677 adev->vce.irq.num_types = 1; in vce_v3_0_set_irq_funcs()
Duvd_v5_0.c842 adev->uvd.irq.num_types = 1; in uvd_v5_0_set_irq_funcs()
Duvd_v6_0.c826 adev->uvd.irq.num_types = 1; in uvd_v6_0_set_irq_funcs()
Duvd_v4_2.c903 adev->uvd.irq.num_types = 1; in uvd_v4_2_set_irq_funcs()
Ddce_v8_0.c3770 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()
Dgmc_v8_0.c1353 adev->mc.vm_fault.num_types = 1; in gmc_v8_0_set_irq_funcs()
Dgmc_v7_0.c1408 adev->mc.vm_fault.num_types = 1; in gmc_v7_0_set_irq_funcs()
Ddce_v10_0.c3813 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()
Ddce_v11_0.c3813 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()
Dcik_sdma.c1327 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in cik_sdma_set_irq_funcs()
Dsdma_v2_4.c1332 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in sdma_v2_4_set_irq_funcs()
Dsdma_v3_0.c1493 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in sdma_v3_0_set_irq_funcs()
Dgfx_v7_0.c5591 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()
Dgfx_v8_0.c5074 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()
Dkv_dpm.c3347 adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST; in kv_dpm_set_irq_funcs()
Dci_dpm.c6705 adev->pm.dpm.thermal.irq.num_types = AMDGPU_THERMAL_IRQ_LAST; in ci_dpm_set_irq_funcs()
/drivers/gpu/drm/amd/include/
Dcgs_linux.h70 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, \