/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_irq.c | 138 if (!src || !src->funcs->set || !src->num_types) in amdgpu_irq_disable_all() 141 for (k = 0; k < src->num_types; ++k) { in amdgpu_irq_disable_all() 406 if (source->num_types && !source->enabled_types) { in amdgpu_irq_add_id() 409 types = kcalloc(source->num_types, sizeof(atomic_t), in amdgpu_irq_add_id() 555 for (k = 0; k < src->num_types; k++) in amdgpu_irq_gpu_reset_resume_helper() 579 if (type >= src->num_types) in amdgpu_irq_get() 609 if (type >= src->num_types) in amdgpu_irq_put() 643 if (type >= src->num_types) in amdgpu_irq_enabled()
|
D | amdgpu_pmu.c | 94 unsigned int num_types; member 140 .num_types = ARRAY_SIZE(vega20_types) 175 .num_types = 0 205 .num_types = ARRAY_SIZE(arcturus_types) 519 for (i = 0; i < config->num_types; i++) { in init_pmu_entry_by_type_and_add()
|
D | mxgpu_ai.c | 355 adev->virt.ack_irq.num_types = 1; in xgpu_ai_mailbox_set_irq_funcs() 357 adev->virt.rcv_irq.num_types = 1; in xgpu_ai_mailbox_set_irq_funcs()
|
D | mxgpu_nv.c | 380 adev->virt.ack_irq.num_types = 1; in xgpu_nv_mailbox_set_irq_funcs() 382 adev->virt.rcv_irq.num_types = 1; in xgpu_nv_mailbox_set_irq_funcs()
|
D | amdgpu_irq.h | 62 unsigned num_types; member
|
D | mxgpu_vi.c | 585 adev->virt.ack_irq.num_types = 1; in xgpu_vi_mailbox_set_irq_funcs() 587 adev->virt.rcv_irq.num_types = 1; in xgpu_vi_mailbox_set_irq_funcs()
|
D | nbio_v7_9.c | 696 adev->nbio.ras_controller_irq.num_types = 1; in nbio_v7_9_init_ras_controller_interrupt() 714 adev->nbio.ras_err_event_athub_irq.num_types = 1; in nbio_v7_9_init_ras_err_event_athub_interrupt()
|
D | sdma_v4_4_2.c | 1940 adev->sdma.trap_irq.num_types = adev->sdma.num_instances; in sdma_v4_4_2_set_irq_funcs() 1941 adev->sdma.ecc_irq.num_types = adev->sdma.num_instances; in sdma_v4_4_2_set_irq_funcs() 1942 adev->sdma.vm_hole_irq.num_types = adev->sdma.num_instances; in sdma_v4_4_2_set_irq_funcs() 1943 adev->sdma.doorbell_invalid_irq.num_types = adev->sdma.num_instances; in sdma_v4_4_2_set_irq_funcs() 1944 adev->sdma.pool_timeout_irq.num_types = adev->sdma.num_instances; in sdma_v4_4_2_set_irq_funcs() 1945 adev->sdma.srbm_write_irq.num_types = adev->sdma.num_instances; in sdma_v4_4_2_set_irq_funcs()
|
D | jpeg_v2_5.c | 749 adev->jpeg.inst[i].irq.num_types = 1; in jpeg_v2_5_set_irq_funcs() 752 adev->jpeg.inst[i].ras_poison_irq.num_types = 1; in jpeg_v2_5_set_irq_funcs()
|
D | jpeg_v4_0.c | 769 adev->jpeg.inst->irq.num_types = 1; in jpeg_v4_0_set_irq_funcs() 772 adev->jpeg.inst->ras_poison_irq.num_types = 1; in jpeg_v4_0_set_irq_funcs()
|
D | nbio_v7_4.c | 555 adev->nbio.ras_controller_irq.num_types = 1; in nbio_v7_4_init_ras_controller_interrupt() 573 adev->nbio.ras_err_event_athub_irq.num_types = 1; in nbio_v7_4_init_ras_err_event_athub_interrupt()
|
D | sdma_v4_0.c | 2424 adev->sdma.trap_irq.num_types = adev->sdma.num_instances; in sdma_v4_0_set_irq_funcs() 2425 adev->sdma.ecc_irq.num_types = adev->sdma.num_instances; in sdma_v4_0_set_irq_funcs() 2430 adev->sdma.vm_hole_irq.num_types = adev->sdma.num_instances; in sdma_v4_0_set_irq_funcs() 2431 adev->sdma.doorbell_invalid_irq.num_types = adev->sdma.num_instances; in sdma_v4_0_set_irq_funcs() 2432 adev->sdma.pool_timeout_irq.num_types = adev->sdma.num_instances; in sdma_v4_0_set_irq_funcs() 2433 adev->sdma.srbm_write_irq.num_types = adev->sdma.num_instances; in sdma_v4_0_set_irq_funcs()
|
D | gmc_v11_0.c | 155 adev->gmc.vm_fault.num_types = 1; in gmc_v11_0_set_irq_funcs() 159 adev->gmc.ecc_irq.num_types = 1; in gmc_v11_0_set_irq_funcs()
|
D | uvd_v6_0.c | 406 adev->uvd.inst->irq.num_types = 1; in uvd_v6_0_sw_init() 1655 adev->uvd.inst->irq.num_types = adev->uvd.num_enc_rings + 1; in uvd_v6_0_set_irq_funcs() 1657 adev->uvd.inst->irq.num_types = 1; in uvd_v6_0_set_irq_funcs()
|
D | jpeg_v3_0.c | 604 adev->jpeg.inst->irq.num_types = 1; in jpeg_v3_0_set_irq_funcs()
|
D | gmc_v10_0.c | 190 adev->gmc.vm_fault.num_types = 1; in gmc_v10_0_set_irq_funcs() 194 adev->gmc.ecc_irq.num_types = 1; in gmc_v10_0_set_irq_funcs()
|
D | vce_v2_0.c | 672 adev->vce.irq.num_types = 1; in vce_v2_0_set_irq_funcs()
|
D | nbio_v4_3.c | 608 adev->nbio.ras_err_event_athub_irq.num_types = 1; in nbio_v4_3_init_ras_err_event_athub_interrupt()
|
D | vega10_ih.c | 471 adev->irq.self_irq.num_types = 0; in vega10_ih_set_self_irq_funcs()
|
D | uvd_v3_1.c | 529 adev->uvd.inst->irq.num_types = 1; in uvd_v3_1_set_irq_funcs()
|
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ |
D | vgpu.c | 108 unsigned int num_types = ARRAY_SIZE(intel_vgpu_configs); in intel_gvt_init_vgpu_types() local 111 gvt->types = kcalloc(num_types, sizeof(struct intel_vgpu_type), in intel_gvt_init_vgpu_types() 116 gvt->mdev_types = kcalloc(num_types, sizeof(*gvt->mdev_types), in intel_gvt_init_vgpu_types() 121 for (i = 0; i < num_types; ++i) { in intel_gvt_init_vgpu_types() 144 gvt->num_types = i; in intel_gvt_init_vgpu_types()
|
D | gvt.h | 347 unsigned int num_types; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_irq.c | 853 adev->crtc_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs() 856 adev->vline0_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs() 859 adev->dmub_outbox_irq.num_types = 1; in amdgpu_dm_set_irq_funcs() 862 adev->vupdate_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs() 865 adev->dmub_trace_irq.num_types = 1; in amdgpu_dm_set_irq_funcs() 868 adev->pageflip_irq.num_types = adev->mode_info.num_crtc; in amdgpu_dm_set_irq_funcs() 871 adev->hpd_irq.num_types = adev->mode_info.num_hpd; in amdgpu_dm_set_irq_funcs()
|
/linux-6.6.21/drivers/usb/host/ |
D | xhci-tegra.c | 229 unsigned int num_types; member 1330 for (i = 0; i < tegra->soc->num_types; i++) { in tegra_xusb_get_phy() 1711 for (i = 0; i < tegra->soc->num_types; i++) { in tegra_xusb_probe() 1724 for (i = 0, k = 0; i < tegra->soc->num_types; i++) { in tegra_xusb_probe() 2069 for (i = 0, k = 0; i < tegra->soc->num_types; i++) { in tegra_xhci_enable_phy_sleepwalk_wake() 2147 for (i = 0; i < tegra->soc->num_types; i++) { in tegra_xhci_program_utmi_power_lp0_exit() 2487 .num_types = ARRAY_SIZE(tegra124_phy_types), 2525 .num_types = ARRAY_SIZE(tegra210_phy_types), 2568 .num_types = ARRAY_SIZE(tegra186_phy_types), 2602 .num_types = ARRAY_SIZE(tegra194_phy_types), [all …]
|
/linux-6.6.21/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()
|