Home
last modified time | relevance | path

Searched refs:irq_src (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/arch/m68k/mac/
Dmacints.c191 int irq_src = IRQ_SRC(irq); in mac_irq_enable() local
193 switch(irq_src) { in mac_irq_enable()
221 int irq_src = IRQ_SRC(irq); in mac_irq_disable() local
223 switch(irq_src) { in mac_irq_disable()
Dpsc.c155 int irq_src = IRQ_SRC(irq); in psc_irq_enable() local
157 int pIER = pIERbase + (irq_src << 4); in psc_irq_enable()
163 int irq_src = IRQ_SRC(irq); in psc_irq_disable() local
165 int pIER = pIERbase + (irq_src << 4); in psc_irq_disable()
Dvia.c500 int irq_src = IRQ_SRC(irq); in via_irq_enable() local
503 if (irq_src == 1) { in via_irq_enable()
505 } else if (irq_src == 2) { in via_irq_enable()
508 } else if (irq_src == 7) { in via_irq_enable()
528 int irq_src = IRQ_SRC(irq); in via_irq_disable() local
531 if (irq_src == 1) { in via_irq_disable()
533 } else if (irq_src == 2) { in via_irq_disable()
535 } else if (irq_src == 7) { in via_irq_disable()
/linux-6.12.1/drivers/mfd/
Dmax8997-irq.c169 u8 irq_src; in max8997_irq_thread() local
173 ret = max8997_read_reg(max8997->i2c, MAX8997_REG_INTSRC, &irq_src); in max8997_irq_thread()
180 if (irq_src & MAX8997_IRQSRC_PMIC) { in max8997_irq_thread()
185 if (irq_src & MAX8997_IRQSRC_FUELGAUGE) { in max8997_irq_thread()
201 if (irq_src & MAX8997_IRQSRC_MUIC) { in max8997_irq_thread()
206 if (irq_src & MAX8997_IRQSRC_GPIO) { in max8997_irq_thread()
246 if (irq_src & MAX8997_IRQSRC_FLASH) { in max8997_irq_thread()
Dstmfx.c177 regmap_write(stmfx->map, STMFX_REG_IRQ_SRC_EN, stmfx->irq_src); in stmfx_irq_bus_sync_unlock()
186 stmfx->irq_src &= ~BIT(data->hwirq % 8); in stmfx_irq_mask()
193 stmfx->irq_src |= BIT(data->hwirq % 8); in stmfx_irq_unmask()
532 &stmfx->irq_src, sizeof(stmfx->irq_src)); in stmfx_resume()
/linux-6.12.1/drivers/usb/gadget/udc/
Domap_udc.c634 static void dma_irq(struct omap_udc *udc, u16 irq_src) in dma_irq() argument
641 if (irq_src & UDC_TXN_DONE) { in dma_irq()
660 if (irq_src & UDC_RXN_EOT) { in dma_irq()
678 if (irq_src & UDC_RXN_CNT) { in dma_irq()
1392 static void ep0_irq(struct omap_udc *udc, u16 irq_src) in ep0_irq() argument
1402 if (irq_src & UDC_SETUP) { in ep0_irq()
1403 u16 ack = irq_src & (UDC_EP0_TX|UDC_EP0_RX); in ep0_irq()
1408 irq_src = UDC_SETUP; in ep0_irq()
1424 if (irq_src & UDC_EP0_TX) { in ep0_irq()
1461 if (irq_src & UDC_EP0_RX) { in ep0_irq()
[all …]
Dfsl_qe_udc.c2226 u16 irq_src; in qe_udc_irq() local
2232 irq_src = in_be16(&udc->usb_regs->usb_usber) & in qe_udc_irq()
2235 out_be16(&udc->usb_regs->usb_usber, irq_src); in qe_udc_irq()
2237 if (irq_src & USB_E_IDLE_MASK) { in qe_udc_irq()
2239 irq_src &= ~USB_E_IDLE_MASK; in qe_udc_irq()
2243 if (irq_src & USB_E_TXB_MASK) { in qe_udc_irq()
2245 irq_src &= ~USB_E_TXB_MASK; in qe_udc_irq()
2249 if (irq_src & USB_E_RXB_MASK) { in qe_udc_irq()
2251 irq_src &= ~USB_E_RXB_MASK; in qe_udc_irq()
2255 if (irq_src & USB_E_RESET_MASK) { in qe_udc_irq()
[all …]
Dfsl_udc_core.c1871 u32 irq_src; in fsl_udc_irq() local
1879 irq_src = fsl_readl(&dr_regs->usbsts) & fsl_readl(&dr_regs->usbintr); in fsl_udc_irq()
1881 fsl_writel(irq_src, &dr_regs->usbsts); in fsl_udc_irq()
1891 if (irq_src & USB_STS_INT) { in fsl_udc_irq()
1909 if (irq_src & USB_STS_SOF) { in fsl_udc_irq()
1914 if (irq_src & USB_STS_PORT_CHANGE) { in fsl_udc_irq()
1920 if (irq_src & USB_STS_RESET) { in fsl_udc_irq()
1927 if (irq_src & USB_STS_SUSPEND) { in fsl_udc_irq()
1932 if (irq_src & (USB_STS_ERR | USB_STS_SYS_ERR)) { in fsl_udc_irq()
1933 dev_vdbg(&udc->gadget.dev, "Error IRQ %x\n", irq_src); in fsl_udc_irq()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fence.c471 struct amdgpu_irq_src *irq_src, in amdgpu_fence_driver_start_ring() argument
488 ring->fence_drv.irq_src = irq_src; in amdgpu_fence_driver_start_ring()
616 ring->fence_drv.irq_src && in amdgpu_fence_driver_hw_fini()
618 amdgpu_irq_put(adev, ring->fence_drv.irq_src, in amdgpu_fence_driver_hw_fini()
633 if (!ring || !ring->fence_drv.initialized || !ring->fence_drv.irq_src) in amdgpu_fence_driver_isr_toggle()
693 if (ring->fence_drv.irq_src && in amdgpu_fence_driver_hw_init()
695 amdgpu_irq_get(adev, ring->fence_drv.irq_src, in amdgpu_fence_driver_hw_init()
Damdgpu_ring.h121 struct amdgpu_irq_src *irq_src; member
137 struct amdgpu_irq_src *irq_src,
354 unsigned int max_dw, struct amdgpu_irq_src *irq_src,
Damdgpu_ring.c199 unsigned int max_dw, struct amdgpu_irq_src *irq_src, in amdgpu_ring_init() argument
312 r = amdgpu_fence_driver_start_ring(ring, irq_src, irq_type); in amdgpu_ring_init()
/linux-6.12.1/include/linux/mfd/
Dstmfx.h115 u8 irq_src; member
/linux-6.12.1/drivers/accel/ivpu/
Divpu_drv.c477 u8 irq_src; in ivpu_irq_thread_handler() local
482 while (kfifo_get(&vdev->hw->irq.fifo, &irq_src)) { in ivpu_irq_thread_handler()
483 switch (irq_src) { in ivpu_irq_thread_handler()
494 ivpu_err_ratelimited(vdev, "Unknown IRQ source: %u\n", irq_src); in ivpu_irq_thread_handler()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1481 struct amdgpu_irq_src *irq_src = &smu->irq_source; in smu_v11_0_register_irq_handler() local
1484 irq_src->num_types = 1; in smu_v11_0_register_irq_handler()
1485 irq_src->funcs = &smu_v11_0_irq_funcs; in smu_v11_0_register_irq_handler()
1489 irq_src); in smu_v11_0_register_irq_handler()
1495 irq_src); in smu_v11_0_register_irq_handler()
1502 irq_src); in smu_v11_0_register_irq_handler()
1508 irq_src); in smu_v11_0_register_irq_handler()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0.c977 struct amdgpu_irq_src *irq_src = &smu->irq_source; in smu_v14_0_register_irq_handler() local
983 irq_src->num_types = 1; in smu_v14_0_register_irq_handler()
984 irq_src->funcs = &smu_v14_0_irq_funcs; in smu_v14_0_register_irq_handler()
988 irq_src); in smu_v14_0_register_irq_handler()
994 irq_src); in smu_v14_0_register_irq_handler()
1000 irq_src); in smu_v14_0_register_irq_handler()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c1450 struct amdgpu_irq_src *irq_src = &smu->irq_source; in smu_v13_0_register_irq_handler() local
1456 irq_src->num_types = 1; in smu_v13_0_register_irq_handler()
1457 irq_src->funcs = &smu_v13_0_irq_funcs; in smu_v13_0_register_irq_handler()
1461 irq_src); in smu_v13_0_register_irq_handler()
1467 irq_src); in smu_v13_0_register_irq_handler()
1474 irq_src); in smu_v13_0_register_irq_handler()
1480 irq_src); in smu_v13_0_register_irq_handler()
Dsmu_v13_0_6_ppt.c1626 struct amdgpu_irq_src *irq_src = &smu->irq_source; in smu_v13_0_6_register_irq_handler() local
1632 irq_src->num_types = 1; in smu_v13_0_6_register_irq_handler()
1633 irq_src->funcs = &smu_v13_0_6_irq_funcs; in smu_v13_0_6_register_irq_handler()
1637 irq_src); in smu_v13_0_6_register_irq_handler()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.h93 enum dc_irq_source irq_src; member
Damdgpu_dm.c444 amdgpu_crtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_PFLIP); in dm_pflip_high_irq()
541 acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VUPDATE); in dm_vupdate_high_irq()
605 acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VBLANK); in dm_crtc_high_irq()
714 acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VLINE0); in dm_dcn_vertical_interrupt0_high_irq()
922 irq_params->irq_src == DC_IRQ_SOURCE_DMCUB_OUTBOX) { in dm_dmub_outbox1_low_irq()
3951 c_irq_params->irq_src = int_params.irq_source; in dce60_register_irq_handlers()
3981 c_irq_params->irq_src = int_params.irq_source; in dce60_register_irq_handlers()
4052 c_irq_params->irq_src = int_params.irq_source; in dce110_register_irq_handlers()
4081 c_irq_params->irq_src = int_params.irq_source; in dce110_register_irq_handlers()
4111 c_irq_params->irq_src = int_params.irq_source; in dce110_register_irq_handlers()
[all …]