Home
last modified time | relevance | path

Searched refs:irqstatus (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/omapdrm/
Domap_irq.c156 u32 irqstatus) in omap_irq_fifo_underflow() argument
177 irqstatus &= priv->irq_mask & mask; in omap_irq_fifo_underflow()
180 if (!irqstatus) in omap_irq_fifo_underflow()
189 if (sources[i].mask & irqstatus) in omap_irq_fifo_underflow()
193 pr_cont("(0x%08x)\n", irqstatus); in omap_irq_fifo_underflow()
197 u32 irqstatus) in omap_irq_ocp_error_handler() argument
199 if (!(irqstatus & DISPC_IRQ_OCP_ERR)) in omap_irq_ocp_error_handler()
212 u32 irqstatus; in omap_irq_handler() local
214 irqstatus = dispc_read_irqstatus(priv->dispc); in omap_irq_handler()
215 dispc_clear_irqstatus(priv->dispc, irqstatus); in omap_irq_handler()
[all …]
Domap_crtc.h29 void omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus);
31 void omap_crtc_framedone_irq(struct drm_crtc *crtc, uint32_t irqstatus);
Domap_crtc.c265 void omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus) in omap_crtc_error_irq() argument
270 irqstatus &= ~DISPC_IRQ_SYNC_LOST_DIGIT; in omap_crtc_error_irq()
271 if (!irqstatus) in omap_crtc_error_irq()
275 DRM_ERROR_RATELIMITED("%s: errors: %08x\n", omap_crtc->name, irqstatus); in omap_crtc_error_irq()
314 void omap_crtc_framedone_irq(struct drm_crtc *crtc, uint32_t irqstatus) in omap_crtc_framedone_irq() argument
/linux-6.6.21/drivers/gpu/drm/tidss/
Dtidss_irq.c61 dispc_irq_t irqstatus; in tidss_irq_handler() local
63 irqstatus = dispc_read_and_clear_irqstatus(tidss->dispc); in tidss_irq_handler()
70 if (irqstatus & (DSS_IRQ_VP_VSYNC_EVEN(hw_videoport) | in tidss_irq_handler()
74 if (irqstatus & (DSS_IRQ_VP_FRAME_DONE(hw_videoport))) in tidss_irq_handler()
77 if (irqstatus & DSS_IRQ_VP_SYNC_LOST(hw_videoport)) in tidss_irq_handler()
78 tidss_crtc_error_irq(crtc, irqstatus); in tidss_irq_handler()
81 if (irqstatus & DSS_IRQ_DEVICE_OCP_ERR) in tidss_irq_handler()
Dtidss_crtc.h43 void tidss_crtc_error_irq(struct drm_crtc *crtc, u64 irqstatus);
/linux-6.6.21/drivers/i2c/busses/
Di2c-at91-slave.c19 const unsigned irqstatus = status & at91_twi_read(dev, AT91_TWI_IMR); in atmel_twi_interrupt_slave() local
22 if (!irqstatus) in atmel_twi_interrupt_slave()
26 if (irqstatus & AT91_TWI_SVACC) { in atmel_twi_interrupt_slave()
43 if (irqstatus & AT91_TWI_TXRDY) { in atmel_twi_interrupt_slave()
49 if (irqstatus & AT91_TWI_RXRDY) { in atmel_twi_interrupt_slave()
55 if (irqstatus & AT91_TWI_EOSACC) { in atmel_twi_interrupt_slave()
Di2c-at91-master.c393 const unsigned irqstatus = status & at91_twi_read(dev, AT91_TWI_IMR); in atmel_twi_interrupt() local
395 if (!irqstatus) in atmel_twi_interrupt()
413 if (irqstatus & AT91_TWI_RXRDY) { in atmel_twi_interrupt()
462 if (irqstatus & (AT91_TWI_TXCOMP | AT91_TWI_NACK)) { in atmel_twi_interrupt()
465 } else if (irqstatus & AT91_TWI_TXRDY) { in atmel_twi_interrupt()
/linux-6.6.21/drivers/net/can/m_can/
Dm_can.c822 static void m_can_handle_other_err(struct net_device *dev, u32 irqstatus) in m_can_handle_other_err() argument
824 if (irqstatus & IR_WDI) in m_can_handle_other_err()
826 if (irqstatus & IR_BEU) in m_can_handle_other_err()
828 if (irqstatus & IR_BEC) in m_can_handle_other_err()
830 if (irqstatus & IR_TOO) in m_can_handle_other_err()
832 if (irqstatus & IR_MRAF) in m_can_handle_other_err()
841 static inline bool m_can_is_protocol_err(u32 irqstatus) in m_can_is_protocol_err() argument
843 return irqstatus & IR_ERR_LEC_31X; in m_can_is_protocol_err()
846 static int m_can_handle_protocol_error(struct net_device *dev, u32 irqstatus) in m_can_handle_protocol_error() argument
861 if (cdev->version >= 31 && (irqstatus & IR_PEA)) { in m_can_handle_protocol_error()
[all …]
Dm_can.h90 u32 irqstatus; member
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc-compat.c254 u32 irqstatus, irqenable; in omap_dispc_irq_handler() local
262 irqstatus = dispc_read_irqstatus(); in omap_dispc_irq_handler()
266 if (!(irqstatus & irqenable)) { in omap_dispc_irq_handler()
274 dss_collect_irq_stats(irqstatus, dispc_compat.irq_stats.irqs); in omap_dispc_irq_handler()
278 print_irq_status(irqstatus); in omap_dispc_irq_handler()
282 dispc_clear_irqstatus(irqstatus); in omap_dispc_irq_handler()
299 if (isr_data->mask & irqstatus) { in omap_dispc_irq_handler()
300 isr_data->isr(isr_data->arg, irqstatus); in omap_dispc_irq_handler()
307 unhandled_errors = irqstatus & ~handledirqs & dispc_compat.irq_error_mask; in omap_dispc_irq_handler()
Dhdmi4.c61 u32 irqstatus; in hdmi_irq_handler() local
63 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler()
64 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler()
66 if ((irqstatus & HDMI_IRQ_LINK_CONNECT) && in hdmi_irq_handler()
67 irqstatus & HDMI_IRQ_LINK_DISCONNECT) { in hdmi_irq_handler()
80 } else if (irqstatus & HDMI_IRQ_LINK_CONNECT) { in hdmi_irq_handler()
82 } else if (irqstatus & HDMI_IRQ_LINK_DISCONNECT) { in hdmi_irq_handler()
Dhdmi5.c65 u32 irqstatus; in hdmi_irq_handler() local
67 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler()
68 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler()
70 if ((irqstatus & HDMI_IRQ_LINK_CONNECT) && in hdmi_irq_handler()
71 irqstatus & HDMI_IRQ_LINK_DISCONNECT) { in hdmi_irq_handler()
99 } else if (irqstatus & HDMI_IRQ_LINK_CONNECT) { in hdmi_irq_handler()
101 } else if (irqstatus & HDMI_IRQ_LINK_DISCONNECT) { in hdmi_irq_handler()
Ddsi.c691 static void dsi_collect_irq_stats(struct platform_device *dsidev, u32 irqstatus, in dsi_collect_irq_stats() argument
700 dss_collect_irq_stats(irqstatus, dsi->irq_stats.dsi_irqs); in dsi_collect_irq_stats()
710 #define dsi_collect_irq_stats(dsidev, irqstatus, vcstatus, ciostatus) argument
715 static void dsi_handle_irq_errors(struct platform_device *dsidev, u32 irqstatus, in dsi_handle_irq_errors() argument
721 if (irqstatus & DSI_IRQ_ERROR_MASK) { in dsi_handle_irq_errors()
722 DSSERR("DSI error, irqstatus %x\n", irqstatus); in dsi_handle_irq_errors()
723 print_irq_status(irqstatus); in dsi_handle_irq_errors()
725 dsi->errors |= irqstatus & DSI_IRQ_ERROR_MASK; in dsi_handle_irq_errors()
728 print_irq_status(irqstatus); in dsi_handle_irq_errors()
750 unsigned isr_array_size, u32 irqstatus) in dsi_call_isrs() argument
[all …]
/linux-6.6.21/drivers/staging/media/omap4iss/
Diss.c205 static void iss_isr_dbg(struct iss_device *iss, u32 irqstatus) in iss_isr_dbg() argument
246 if ((1 << i) & irqstatus) in iss_isr_dbg()
252 static void iss_isp_isr_dbg(struct iss_device *iss, u32 irqstatus) in iss_isp_isr_dbg() argument
293 if ((1 << i) & irqstatus) in iss_isp_isr_dbg()
318 u32 irqstatus; in iss_isr() local
320 irqstatus = iss_reg_read(iss, OMAP4_ISS_MEM_TOP, ISS_HL_IRQSTATUS(5)); in iss_isr()
321 iss_reg_write(iss, OMAP4_ISS_MEM_TOP, ISS_HL_IRQSTATUS(5), irqstatus); in iss_isr()
323 if (irqstatus & ISS_HL_IRQ_CSIA) in iss_isr()
326 if (irqstatus & ISS_HL_IRQ_CSIB) in iss_isr()
329 if (irqstatus & ISS_HL_IRQ_ISP(0)) { in iss_isr()
[all …]
/linux-6.6.21/arch/arm/mach-omap1/
Dgpio15xx.c38 .irqstatus = OMAP_MPUIO_GPIO_INT,
79 .irqstatus = OMAP1510_GPIO_INT_STATUS,
Dgpio16xx.c45 .irqstatus = OMAP_MPUIO_GPIO_INT,
88 .irqstatus = OMAP1610_GPIO_IRQSTATUS1,
/linux-6.6.21/drivers/mailbox/
Domap-mailbox.c59 unsigned long irqstatus; member
178 u32 irqstatus = fifo->irqstatus; in ack_mbox_irq() local
180 mbox_write_reg(mbox->parent, bit, irqstatus); in ack_mbox_irq()
183 mbox_read_reg(mbox->parent, irqstatus); in ack_mbox_irq()
192 u32 irqstatus = fifo->irqstatus; in is_mbox_irq() local
195 u32 status = mbox_read_reg(mbox->parent, irqstatus); in is_mbox_irq()
796 fifo->irqstatus = MAILBOX_IRQSTATUS(intr_type, finfo->tx_usr); in omap_mbox_probe()
804 fifo->irqstatus = MAILBOX_IRQSTATUS(intr_type, finfo->rx_usr); in omap_mbox_probe()
/linux-6.6.21/drivers/gpu/drm/omapdrm/dss/
Dhdmi4.c68 u32 irqstatus; in hdmi_irq_handler() local
70 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler()
71 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler()
73 if ((irqstatus & HDMI_IRQ_LINK_CONNECT) && in hdmi_irq_handler()
74 irqstatus & HDMI_IRQ_LINK_DISCONNECT) { in hdmi_irq_handler()
87 } else if (irqstatus & HDMI_IRQ_LINK_CONNECT) { in hdmi_irq_handler()
89 } else if (irqstatus & HDMI_IRQ_LINK_DISCONNECT) { in hdmi_irq_handler()
92 if (irqstatus & HDMI_IRQ_CORE) { in hdmi_irq_handler()
Dhdmi5.c69 u32 irqstatus; in hdmi_irq_handler() local
71 irqstatus = hdmi_wp_get_irqstatus(wp); in hdmi_irq_handler()
72 hdmi_wp_set_irqstatus(wp, irqstatus); in hdmi_irq_handler()
74 if ((irqstatus & HDMI_IRQ_LINK_CONNECT) && in hdmi_irq_handler()
75 irqstatus & HDMI_IRQ_LINK_DISCONNECT) { in hdmi_irq_handler()
103 } else if (irqstatus & HDMI_IRQ_LINK_CONNECT) { in hdmi_irq_handler()
105 } else if (irqstatus & HDMI_IRQ_LINK_DISCONNECT) { in hdmi_irq_handler()
Ddsi.c315 static void dsi_collect_irq_stats(struct dsi_data *dsi, u32 irqstatus, in dsi_collect_irq_stats() argument
323 dss_collect_irq_stats(irqstatus, dsi->irq_stats.dsi_irqs); in dsi_collect_irq_stats()
333 #define dsi_collect_irq_stats(dsi, irqstatus, vcstatus, ciostatus) argument
338 static void dsi_handle_irq_errors(struct dsi_data *dsi, u32 irqstatus, in dsi_handle_irq_errors() argument
343 if (irqstatus & DSI_IRQ_ERROR_MASK) { in dsi_handle_irq_errors()
344 DSSERR("DSI error, irqstatus %x\n", irqstatus); in dsi_handle_irq_errors()
345 print_irq_status(irqstatus); in dsi_handle_irq_errors()
347 dsi->errors |= irqstatus & DSI_IRQ_ERROR_MASK; in dsi_handle_irq_errors()
350 print_irq_status(irqstatus); in dsi_handle_irq_errors()
372 unsigned int isr_array_size, u32 irqstatus) in dsi_call_isrs() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_irq.c21 static void mdp4_irq_error_handler(struct mdp_irq *irq, uint32_t irqstatus) in mdp4_irq_error_handler() argument
27 DRM_ERROR_RATELIMITED("errors: %08x\n", irqstatus); in mdp4_irq_error_handler()
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_irq.c23 static void mdp5_irq_error_handler(struct mdp_irq *irq, uint32_t irqstatus) in mdp5_irq_error_handler() argument
29 DRM_ERROR_RATELIMITED("errors: %08x\n", irqstatus); in mdp5_irq_error_handler()
/linux-6.6.21/drivers/media/platform/ti/omap3isp/
Disp.c480 u32 irqstatus) in isp_isr_dbg() argument
521 if ((1 << i) & irqstatus) in isp_isr_dbg()
599 u32 irqstatus; in isp_isr() local
601 irqstatus = isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS); in isp_isr()
602 isp_reg_writel(isp, irqstatus, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS); in isp_isr()
606 if (irqstatus & IRQ0STATUS_CSIA_IRQ) in isp_isr()
609 if (irqstatus & IRQ0STATUS_CSIB_IRQ) in isp_isr()
612 if (irqstatus & IRQ0STATUS_CCDC_VD0_IRQ) { in isp_isr()
622 if (irqstatus & ccdc_events) in isp_isr()
623 omap3isp_ccdc_isr(&isp->isp_ccdc, irqstatus & ccdc_events); in isp_isr()
[all …]
/linux-6.6.21/arch/arm/mach-footbridge/
Dcommon.c37 void __iomem *irqstatus = (void __iomem *)CSR_IRQ_STATUS; in dc21285_get_irq() local
38 u32 mask = readl(irqstatus); in dc21285_get_irq()
/linux-6.6.21/arch/arm/mach-omap2/
Dprm3xxx.c101 u32 irqstatus; in omap3_prm_vp_check_txdone() local
103 irqstatus = omap2_prm_read_mod_reg(OCP_MOD, in omap3_prm_vp_check_txdone()
105 return irqstatus & vp->tranxdone_status; in omap3_prm_vp_check_txdone()

12