Home
last modified time | relevance | path

Searched refs:irq_source (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_irq.c85 enum dc_irq_source irq_source; member
140 enum dc_irq_source irq_source; in remove_irq_handler() local
144 irq_source = int_params->irq_source; in remove_irq_handler()
148 hnd_list = &adev->dm.irq_handler_list_high_tab[irq_source]; in remove_irq_handler()
152 hnd_list = &adev->dm.irq_handler_list_low_tab[irq_source]; in remove_irq_handler()
185 ih, int_params->irq_source, int_params->int_context); in remove_irq_handler()
254 if (!DAL_VALID_IRQ_SRC_NUM(int_params->irq_source)) { in validate_irq_registration_params()
256 int_params->irq_source); in validate_irq_registration_params()
263 static bool validate_irq_unregistration_params(enum dc_irq_source irq_source, in validate_irq_unregistration_params() argument
271 if (!DAL_VALID_IRQ_SRC_NUM(irq_source)) { in validate_irq_unregistration_params()
[all …]
H A Damdgpu_dm_irq.h80 enum dc_irq_source irq_source,
H A Damdgpu_dm_crtc.c75 enum dc_irq_source irq_source; in amdgpu_dm_crtc_set_vupdate_irq() local
83 irq_source = IRQ_TYPE_VUPDATE + acrtc->otg_inst; in amdgpu_dm_crtc_set_vupdate_irq()
85 rc = dc_interrupt_set(adev->dm.dc, irq_source, enable) ? 0 : -EBUSY; in amdgpu_dm_crtc_set_vupdate_irq()
H A Damdgpu_dm.c2534 enum dc_irq_source irq_source; in dm_gpureset_toggle_interrupts() local
2544 irq_source = IRQ_TYPE_PFLIP + acrtc->otg_inst; in dm_gpureset_toggle_interrupts()
2545 rc = dc_interrupt_set(adev->dm.dc, irq_source, enable) ? 0 : -EBUSY; in dm_gpureset_toggle_interrupts()
2559 irq_source = IRQ_TYPE_VBLANK + acrtc->otg_inst; in dm_gpureset_toggle_interrupts()
2563 if (!dc_interrupt_set(adev->dm.dc, irq_source, enable)) in dm_gpureset_toggle_interrupts()
3505 int_params.irq_source = dc_link->irq_source_hpd; in register_hpd_handlers()
3516 int_params.irq_source = dc_link->irq_source_hpd_rx; in register_hpd_handlers()
3560 int_params.irq_source = in dce60_register_irq_handlers()
3563 c_irq_params = &adev->dm.vblank_params[int_params.irq_source - DC_IRQ_SOURCE_VBLANK1]; in dce60_register_irq_handlers()
3566 c_irq_params->irq_src = int_params.irq_source; in dce60_register_irq_handlers()
[all …]
H A Damdgpu_dm_helpers.c1075 enum dc_irq_source irq_source; in dm_helpers_dmub_outbox_interrupt_control() local
1078 irq_source = DC_IRQ_SOURCE_DMCUB_OUTBOX; in dm_helpers_dmub_outbox_interrupt_control()
1080 ret = dc_interrupt_set(ctx->dc, irq_source, enable); in dm_helpers_dmub_outbox_interrupt_control()
/openbmc/linux/arch/powerpc/kvm/
H A Dmpic.c146 struct irq_source { struct
221 struct irq_source src[MAX_IRQ];
327 struct irq_source *src; in IRQ_local_pipe()
413 struct irq_source *src; in openpic_update_irq()
478 struct irq_source *src; in openpic_set_irq()
582 struct irq_source *src = &opp->src[n_IRQ]; in write_IRQreg_idr()
628 struct irq_source *src = &opp->src[n_IRQ]; in write_IRQreg_ilr()
1027 struct irq_source *src; in openpic_cpu_write_internal()
1129 struct irq_source *src; in openpic_iack()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Dirq_types.h208 enum dc_irq_source irq_source; member
H A Ddc.h1254 enum dc_irq_source irq_source; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_surface.c100 plane_state->irq_source = controller_id + DC_IRQ_SOURCE_PFLIP1 - 1; in enable_surface_flip_reporting()
/openbmc/linux/drivers/spi/
H A Dspi-bcm-qspi.c197 enum irq_source { enum
205 int irq_source; member
1382 .irq_source = MUXED_L1,
1618 if (qspi_irq_tab[val].irq_source == SINGLE_L2) { in bcm_qspi_probe()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c1035 if (!smu->irq_source.num_types) in smu_v13_0_enable_thermal_alert()
1038 ret = amdgpu_irq_get(smu->adev, &smu->irq_source, 0); in smu_v13_0_enable_thermal_alert()
1047 if (!smu->irq_source.num_types) in smu_v13_0_disable_thermal_alert()
1050 return amdgpu_irq_put(smu->adev, &smu->irq_source, 0); in smu_v13_0_disable_thermal_alert()
1445 struct amdgpu_irq_src *irq_src = &smu->irq_source; in smu_v13_0_register_irq_handler()
H A Dsmu_v13_0_6_ppt.c1363 struct amdgpu_irq_src *irq_src = &smu->irq_source; in smu_v13_0_6_register_irq_handler()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c1010 ret = amdgpu_irq_get(smu->adev, &smu->irq_source, 0); in smu_v11_0_enable_thermal_alert()
1024 return amdgpu_irq_put(smu->adev, &smu->irq_source, 0); in smu_v11_0_disable_thermal_alert()
1480 struct amdgpu_irq_src *irq_src = &smu->irq_source; in smu_v11_0_register_irq_handler()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h472 struct amdgpu_irq_src irq_source; member