/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_irq.c | 120 if (!src || !src->funcs->set || !src->num_types) in amdgpu_irq_disable_all() 123 for (k = 0; k < src->num_types; ++k) { in amdgpu_irq_disable_all() 353 if (source->num_types && !source->enabled_types) { in amdgpu_irq_add_id() 356 types = kcalloc(source->num_types, sizeof(atomic_t), in amdgpu_irq_add_id() 474 for (k = 0; k < src->num_types; k++) in amdgpu_irq_gpu_reset_resume_helper() 498 if (type >= src->num_types) in amdgpu_irq_get() 528 if (type >= src->num_types) in amdgpu_irq_put() 559 if (type >= src->num_types) in amdgpu_irq_enabled()
|
D | amdgpu_irq.h | 61 unsigned num_types; member
|
D | mxgpu_ai.c | 405 adev->virt.ack_irq.num_types = 1; in xgpu_ai_mailbox_set_irq_funcs() 407 adev->virt.rcv_irq.num_types = 1; in xgpu_ai_mailbox_set_irq_funcs()
|
D | mxgpu_vi.c | 572 adev->virt.ack_irq.num_types = 1; in xgpu_vi_mailbox_set_irq_funcs() 574 adev->virt.rcv_irq.num_types = 1; in xgpu_vi_mailbox_set_irq_funcs()
|
D | sdma_v4_0.c | 2430 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_INSTANCE1; in sdma_v4_0_set_irq_funcs() 2431 adev->sdma.ecc_irq.num_types = AMDGPU_SDMA_IRQ_INSTANCE1; in sdma_v4_0_set_irq_funcs() 2434 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in sdma_v4_0_set_irq_funcs() 2435 adev->sdma.ecc_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in sdma_v4_0_set_irq_funcs() 2439 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_INSTANCE2; in sdma_v4_0_set_irq_funcs() 2440 adev->sdma.ecc_irq.num_types = AMDGPU_SDMA_IRQ_INSTANCE2; in sdma_v4_0_set_irq_funcs()
|
D | uvd_v6_0.c | 411 adev->uvd.inst->irq.num_types = 1; in uvd_v6_0_sw_init() 1626 adev->uvd.inst->irq.num_types = adev->uvd.num_enc_rings + 1; in uvd_v6_0_set_irq_funcs() 1628 adev->uvd.inst->irq.num_types = 1; in uvd_v6_0_set_irq_funcs()
|
D | vce_v2_0.c | 642 adev->vce.irq.num_types = 1; in vce_v2_0_set_irq_funcs()
|
D | gmc_v9_0.c | 425 adev->gmc.vm_fault.num_types = 1; in gmc_v9_0_set_irq_funcs() 428 adev->gmc.ecc_irq.num_types = 1; in gmc_v9_0_set_irq_funcs()
|
D | dce_virtual.c | 751 adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_VBLANK6 + 1; in dce_virtual_set_irq_funcs()
|
D | uvd_v4_2.c | 774 adev->uvd.inst->irq.num_types = 1; in uvd_v4_2_set_irq_funcs()
|
D | uvd_v5_0.c | 883 adev->uvd.inst->irq.num_types = 1; in uvd_v5_0_set_irq_funcs()
|
D | vega10_ih.c | 563 adev->irq.self_irq.num_types = 0; in vega10_ih_set_self_irq_funcs()
|
D | dce_v8_0.c | 3489 adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_VLINE1 + adev->mode_info.num_crtc; in dce_v8_0_set_irq_funcs() 3491 adev->crtc_irq.num_types = 0; in dce_v8_0_set_irq_funcs() 3494 adev->pageflip_irq.num_types = adev->mode_info.num_crtc; in dce_v8_0_set_irq_funcs() 3497 adev->hpd_irq.num_types = adev->mode_info.num_hpd; in dce_v8_0_set_irq_funcs()
|
D | gmc_v10_0.c | 198 adev->gmc.vm_fault.num_types = 1; in gmc_v10_0_set_irq_funcs()
|
D | dce_v6_0.c | 3410 adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_VLINE1 + adev->mode_info.num_crtc; in dce_v6_0_set_irq_funcs() 3412 adev->crtc_irq.num_types = 0; in dce_v6_0_set_irq_funcs() 3415 adev->pageflip_irq.num_types = adev->mode_info.num_crtc; in dce_v6_0_set_irq_funcs() 3418 adev->hpd_irq.num_types = adev->mode_info.num_hpd; in dce_v6_0_set_irq_funcs()
|
D | si_dma.c | 759 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in si_dma_set_irq_funcs()
|
D | dce_v10_0.c | 3601 adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_VLINE1 + adev->mode_info.num_crtc; in dce_v10_0_set_irq_funcs() 3603 adev->crtc_irq.num_types = 0; in dce_v10_0_set_irq_funcs() 3606 adev->pageflip_irq.num_types = adev->mode_info.num_crtc; in dce_v10_0_set_irq_funcs() 3609 adev->hpd_irq.num_types = adev->mode_info.num_hpd; in dce_v10_0_set_irq_funcs()
|
D | dce_v11_0.c | 3733 adev->crtc_irq.num_types = AMDGPU_CRTC_IRQ_VLINE1 + adev->mode_info.num_crtc; in dce_v11_0_set_irq_funcs() 3735 adev->crtc_irq.num_types = 0; in dce_v11_0_set_irq_funcs() 3738 adev->pageflip_irq.num_types = adev->mode_info.num_crtc; in dce_v11_0_set_irq_funcs() 3741 adev->hpd_irq.num_types = adev->mode_info.num_hpd; in dce_v11_0_set_irq_funcs()
|
/Linux-v5.4/kernel/gcov/ |
D | gcc_3_4.c | 354 int num_types; member 416 iter->num_types = 0; in gcov_iter_start() 419 iter->type_info[iter->num_types].ctr_type = i; in gcov_iter_start() 420 iter->type_info[iter->num_types++].offset = 0; in gcov_iter_start() 470 if (iter->type < iter->num_types) { in gcov_iter_next()
|
/Linux-v5.4/drivers/gpu/drm/i915/gvt/ |
D | vgpu.c | 108 unsigned int num_types; in intel_gvt_init_vgpu_types() local 126 num_types = sizeof(vgpu_types) / sizeof(vgpu_types[0]); in intel_gvt_init_vgpu_types() 128 gvt->types = kcalloc(num_types, sizeof(struct intel_vgpu_type), in intel_gvt_init_vgpu_types() 134 for (i = 0; i < num_types; ++i) { in intel_gvt_init_vgpu_types() 167 gvt->num_types = i; in intel_gvt_init_vgpu_types() 192 for (i = 0; i < gvt->num_types; i++) { in intel_gvt_update_vgpu_types()
|
D | gvt.c | 57 for (i = 0; i < gvt->num_types; i++) { in intel_gvt_find_vgpu_type() 137 for (i = 0; i < gvt->num_types; i++) { in intel_gvt_init_vgpu_type_groups() 165 for (i = 0; i < gvt->num_types; i++) { in intel_gvt_cleanup_vgpu_type_groups()
|
D | gvt.h | 323 unsigned int num_types; member
|
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_irq.c | 710 adev->crtc_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs() 713 adev->vupdate_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs() 716 adev->pageflip_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs() 719 adev->hpd_irq.num_types = adev->mode_info.num_hpd; in amdgpu_dm_set_irq_funcs()
|
/Linux-v5.4/drivers/usb/host/ |
D | xhci-tegra.c | 154 unsigned int num_types; member 1141 for (i = 0; i < tegra->soc->num_types; i++) in tegra_xusb_probe() 1151 for (i = 0, k = 0; i < tegra->soc->num_types; i++) { in tegra_xusb_probe() 1370 .num_types = ARRAY_SIZE(tegra124_phy_types), 1402 .num_types = ARRAY_SIZE(tegra210_phy_types), 1427 .num_types = ARRAY_SIZE(tegra186_phy_types),
|
/Linux-v5.4/net/sctp/ |
D | sm_make_chunk.c | 217 int num_types, addrs_len = 0; in sctp_make_init() local 243 num_types = sp->pf->supported_addrs(sp, types); in sctp_make_init() 246 chunksize += SCTP_PAD4(SCTP_SAT_LEN(num_types)); in sctp_make_init() 336 sat.param_hdr.length = htons(SCTP_SAT_LEN(num_types)); in sctp_make_init() 338 sctp_addto_chunk(retval, num_types * sizeof(__u16), &types); in sctp_make_init()
|