Home
last modified time | relevance | path

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

/drivers/crypto/ux500/cryp/
Dcryp_irq.c20 void cryp_enable_irq_src(struct cryp_device_data *device_data, u32 irq_src) in cryp_enable_irq_src() argument
27 i = i | irq_src; in cryp_enable_irq_src()
31 void cryp_disable_irq_src(struct cryp_device_data *device_data, u32 irq_src) in cryp_disable_irq_src() argument
38 i = i & ~irq_src; in cryp_disable_irq_src()
42 bool cryp_pending_irq_src(struct cryp_device_data *device_data, u32 irq_src) in cryp_pending_irq_src() argument
44 return (readl_relaxed(&device_data->base->mis) & irq_src) > 0; in cryp_pending_irq_src()
Dcryp_irq.h25 void cryp_enable_irq_src(struct cryp_device_data *device_data, u32 irq_src);
27 void cryp_disable_irq_src(struct cryp_device_data *device_data, u32 irq_src);
29 bool cryp_pending_irq_src(struct cryp_device_data *device_data, u32 irq_src);
/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()
534 &stmfx->irq_src, sizeof(stmfx->irq_src)); in stmfx_resume()
/drivers/usb/gadget/udc/
Domap_udc.c636 static void dma_irq(struct omap_udc *udc, u16 irq_src) in dma_irq() argument
643 if (irq_src & UDC_TXN_DONE) { in dma_irq()
662 if (irq_src & UDC_RXN_EOT) { in dma_irq()
680 if (irq_src & UDC_RXN_CNT) { in dma_irq()
1394 static void ep0_irq(struct omap_udc *udc, u16 irq_src) in ep0_irq() argument
1404 if (irq_src & UDC_SETUP) { in ep0_irq()
1405 u16 ack = irq_src & (UDC_EP0_TX|UDC_EP0_RX); in ep0_irq()
1410 irq_src = UDC_SETUP; in ep0_irq()
1426 if (irq_src & UDC_EP0_TX) { in ep0_irq()
1463 if (irq_src & UDC_EP0_RX) { in ep0_irq()
[all …]
Dfsl_qe_udc.c2227 u16 irq_src; in qe_udc_irq() local
2233 irq_src = in_be16(&udc->usb_regs->usb_usber) & in qe_udc_irq()
2236 out_be16(&udc->usb_regs->usb_usber, irq_src); in qe_udc_irq()
2238 if (irq_src & USB_E_IDLE_MASK) { in qe_udc_irq()
2240 irq_src &= ~USB_E_IDLE_MASK; in qe_udc_irq()
2244 if (irq_src & USB_E_TXB_MASK) { in qe_udc_irq()
2246 irq_src &= ~USB_E_TXB_MASK; in qe_udc_irq()
2250 if (irq_src & USB_E_RXB_MASK) { in qe_udc_irq()
2252 irq_src &= ~USB_E_RXB_MASK; in qe_udc_irq()
2256 if (irq_src & USB_E_RESET_MASK) { in qe_udc_irq()
[all …]
Dfsl_udc_core.c1864 u32 irq_src; in fsl_udc_irq() local
1872 irq_src = fsl_readl(&dr_regs->usbsts) & fsl_readl(&dr_regs->usbintr); in fsl_udc_irq()
1874 fsl_writel(irq_src, &dr_regs->usbsts); in fsl_udc_irq()
1884 if (irq_src & USB_STS_INT) { in fsl_udc_irq()
1902 if (irq_src & USB_STS_SOF) { in fsl_udc_irq()
1907 if (irq_src & USB_STS_PORT_CHANGE) { in fsl_udc_irq()
1913 if (irq_src & USB_STS_RESET) { in fsl_udc_irq()
1920 if (irq_src & USB_STS_SUSPEND) { in fsl_udc_irq()
1925 if (irq_src & (USB_STS_ERR | USB_STS_SYS_ERR)) { in fsl_udc_irq()
1926 VDBG("Error IRQ %x", irq_src); in fsl_udc_irq()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fence.c423 struct amdgpu_irq_src *irq_src, in amdgpu_fence_driver_start_ring() argument
440 ring->fence_drv.irq_src = irq_src; in amdgpu_fence_driver_start_ring()
567 ring->fence_drv.irq_src && in amdgpu_fence_driver_hw_fini()
569 amdgpu_irq_put(adev, ring->fence_drv.irq_src, in amdgpu_fence_driver_hw_fini()
584 if (!ring || !ring->fence_drv.initialized || !ring->fence_drv.irq_src) in amdgpu_fence_driver_isr_toggle()
643 if (ring->fence_drv.irq_src && in amdgpu_fence_driver_hw_init()
645 amdgpu_irq_get(adev, ring->fence_drv.irq_src, in amdgpu_fence_driver_hw_init()
Damdgpu_ring.h115 struct amdgpu_irq_src *irq_src; member
130 struct amdgpu_irq_src *irq_src,
315 unsigned int max_dw, struct amdgpu_irq_src *irq_src,
Damdgpu_ring.c177 unsigned int max_dw, struct amdgpu_irq_src *irq_src, in amdgpu_ring_init() argument
287 r = amdgpu_fence_driver_start_ring(ring, irq_src, irq_type); in amdgpu_ring_init()
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1506 struct amdgpu_irq_src *irq_src = &smu->irq_source; in smu_v11_0_register_irq_handler() local
1509 irq_src->num_types = 1; in smu_v11_0_register_irq_handler()
1510 irq_src->funcs = &smu_v11_0_irq_funcs; in smu_v11_0_register_irq_handler()
1514 irq_src); in smu_v11_0_register_irq_handler()
1520 irq_src); in smu_v11_0_register_irq_handler()
1527 irq_src); in smu_v11_0_register_irq_handler()
1533 irq_src); in smu_v11_0_register_irq_handler()
/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c1484 struct amdgpu_irq_src *irq_src = &smu->irq_source; in smu_v13_0_register_irq_handler() local
1490 irq_src->num_types = 1; in smu_v13_0_register_irq_handler()
1491 irq_src->funcs = &smu_v13_0_irq_funcs; in smu_v13_0_register_irq_handler()
1495 irq_src); in smu_v13_0_register_irq_handler()
1501 irq_src); in smu_v13_0_register_irq_handler()
1508 irq_src); in smu_v13_0_register_irq_handler()
1514 irq_src); in smu_v13_0_register_irq_handler()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.h79 enum dc_irq_source irq_src; member
Damdgpu_dm.c415 amdgpu_crtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_PFLIP); in dm_pflip_high_irq()
513 acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VUPDATE); in dm_vupdate_high_irq()
576 acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VBLANK); in dm_crtc_high_irq()
656 acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VLINE0); in dm_dcn_vertical_interrupt0_high_irq()
805 irq_params->irq_src == DC_IRQ_SOURCE_DMCUB_OUTBOX) { in dm_dmub_outbox1_low_irq()
3569 c_irq_params->irq_src = int_params.irq_source; in dce60_register_irq_handlers()
3591 c_irq_params->irq_src = int_params.irq_source; in dce60_register_irq_handlers()
3655 c_irq_params->irq_src = int_params.irq_source; in dce110_register_irq_handlers()
3676 c_irq_params->irq_src = int_params.irq_source; in dce110_register_irq_handlers()
3698 c_irq_params->irq_src = int_params.irq_source; in dce110_register_irq_handlers()
[all …]