Home
last modified time | relevance | path

Searched refs:irqstat (Results 1 – 21 of 21) sorted by relevance

/drivers/irqchip/
Dirq-clps711x.c74 u32 irqstat; in clps711x_irqh() local
77 irqstat = readw_relaxed(clps711x_intc->intmr[0]) & in clps711x_irqh()
79 if (irqstat) in clps711x_irqh()
81 fls(irqstat) - 1, regs); in clps711x_irqh()
83 irqstat = readw_relaxed(clps711x_intc->intmr[1]) & in clps711x_irqh()
85 if (irqstat) in clps711x_irqh()
87 fls(irqstat) - 1 + 16, regs); in clps711x_irqh()
88 } while (irqstat); in clps711x_irqh()
Dirq-sirfsoc.c61 u32 irqstat; in sirfsoc_handle_irq() local
63 irqstat = readl_relaxed(base + SIRFSOC_INIT_IRQ_ID); in sirfsoc_handle_irq()
64 handle_domain_irq(sirfsoc_irqdomain, irqstat & 0xff, regs); in sirfsoc_handle_irq()
Dirq-hip04.c178 u32 irqstat, irqnr; in hip04_handle_irq() local
182 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK); in hip04_handle_irq()
183 irqnr = irqstat & GICC_IAR_INT_ID_MASK; in hip04_handle_irq()
190 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI); in hip04_handle_irq()
Dirq-atmel-aic.c66 u32 irqstat; in aic_handle() local
69 irqstat = irq_reg_readl(gc, AT91_AIC_ISR); in aic_handle()
71 if (!irqstat) in aic_handle()
Dirq-atmel-aic5.c75 u32 irqstat; in aic5_handle() local
78 irqstat = irq_reg_readl(bgc, AT91_AIC5_ISR); in aic5_handle()
80 if (!irqstat) in aic5_handle()
Dirq-armada-370-xp.c542 u32 irqstat, irqnr; in armada_370_xp_handle_irq() local
545 irqstat = readl_relaxed(per_cpu_int_base + in armada_370_xp_handle_irq()
547 irqnr = irqstat & 0x3FF; in armada_370_xp_handle_irq()
Dirq-gic.c360 u32 irqstat, irqnr; in gic_handle_irq() local
365 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK); in gic_handle_irq()
366 irqnr = irqstat & GICC_IAR_INT_ID_MASK; in gic_handle_irq()
370 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI); in gic_handle_irq()
376 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI); in gic_handle_irq()
378 writel_relaxed(irqstat, cpu_base + GIC_CPU_DEACTIVATE); in gic_handle_irq()
/drivers/usb/host/
Dsl811-hcd.c591 u8 irqstat = 0; in checkdone() local
602 irqstat |= SL11H_INTMASK_DONE_A; in checkdone()
614 irqstat |= SL11H_INTMASK_DONE_A; in checkdone()
617 return irqstat; in checkdone()
623 u8 irqstat; in sl811h_irq() local
630 irqstat = sl811_read(sl811, SL11H_IRQ_STATUS) & ~SL11H_INTMASK_DP; in sl811h_irq()
631 if (irqstat) { in sl811h_irq()
632 sl811_write(sl811, SL11H_IRQ_STATUS, irqstat); in sl811h_irq()
633 irqstat &= sl811->irq_enable; in sl811h_irq()
638 if (irqstat == 0) { in sl811h_irq()
[all …]
Disp1362-hcd.c1011 u16 irqstat; in isp1362_irq() local
1020 irqstat = isp1362_read_reg16(isp1362_hcd, HCuPINT); in isp1362_irq()
1021 DBG(3, "%s: got IRQ %04x:%04x\n", __func__, irqstat, isp1362_hcd->irqenb); in isp1362_irq()
1024 irqstat &= isp1362_hcd->irqenb; in isp1362_irq()
1025 isp1362_write_reg16(isp1362_hcd, HCuPINT, irqstat); in isp1362_irq()
1026 svc_mask = irqstat; in isp1362_irq()
1028 if (irqstat & HCuPINT_SOF) { in isp1362_irq()
1037 if (!list_empty(&isp1362_hcd->async) && !(irqstat & HCuPINT_ATL)) { in isp1362_irq()
1049 if (irqstat & HCuPINT_ISTL0) { in isp1362_irq()
1063 if (irqstat & HCuPINT_ISTL1) { in isp1362_irq()
[all …]
Disp116x-hcd.c594 u16 irqstat; in isp116x_irq() local
599 irqstat = isp116x_read_reg16(isp116x, HCuPINT); in isp116x_irq()
600 isp116x_write_reg16(isp116x, HCuPINT, irqstat); in isp116x_irq()
602 if (irqstat & (HCuPINT_ATL | HCuPINT_SOF)) { in isp116x_irq()
607 if (irqstat & HCuPINT_OPR) { in isp116x_irq()
629 irqstat &= ~HCuPINT_OPR; in isp116x_irq()
633 if (irqstat & (HCuPINT_ATL | HCuPINT_SOF)) { in isp116x_irq()
/drivers/soc/ixp4xx/
Dixp4xx-qmgr.c146 __raw_writel(0xFFFFFFFF, &qmgr_regs->irqstat[0]); in qmgr_irq1_a0()
171 __raw_writel(0xFFFFFFFF, &qmgr_regs->irqstat[1]); in qmgr_irq2_a0()
187 u32 req_bitmap = __raw_readl(&qmgr_regs->irqstat[half]); in qmgr_irq()
191 __raw_writel(req_bitmap, &qmgr_regs->irqstat[half]); /* ACK */ in qmgr_irq()
224 __raw_writel(mask, &qmgr_regs->irqstat[half]); /* clear */ in qmgr_disable_irq()
404 __raw_writel(0xFFFFFFFF, &qmgr_regs->irqstat[i]); /* clear */ in ixp4xx_qmgr_probe()
/drivers/regulator/
Dltc3676.c271 unsigned int i, irqstat, event; in ltc3676_isr() local
273 regmap_read(ltc3676->regmap, LTC3676_IRQSTAT, &irqstat); in ltc3676_isr()
275 dev_dbg(dev, "irq%d irqstat=0x%02x\n", irq, irqstat); in ltc3676_isr()
276 if (irqstat & LTC3676_IRQSTAT_THERMAL_WARN) { in ltc3676_isr()
287 if (irqstat & LTC3676_IRQSTAT_UNDERVOLT_WARN) { in ltc3676_isr()
Dltc3589.c354 unsigned int i, irqstat, event; in ltc3589_isr() local
356 regmap_read(ltc3589->regmap, LTC3589_IRQSTAT, &irqstat); in ltc3589_isr()
358 if (irqstat & LTC3589_IRQSTAT_THERMAL_WARN) { in ltc3589_isr()
368 if (irqstat & LTC3589_IRQSTAT_UNDERVOLT_WARN) { in ltc3589_isr()
/drivers/rtc/
Drtc-mrst.c298 u8 irqstat; in mrst_rtc_irq() local
302 irqstat = vrtc_cmos_read(RTC_INTR_FLAGS); in mrst_rtc_irq()
305 irqstat &= RTC_IRQMASK | RTC_IRQF; in mrst_rtc_irq()
306 if (is_intr(irqstat)) { in mrst_rtc_irq()
307 rtc_update_irq(p, 1, irqstat); in mrst_rtc_irq()
Drtc-cmos.c652 u8 irqstat; in cmos_interrupt() local
664 irqstat = CMOS_READ(RTC_INTR_FLAGS); in cmos_interrupt()
667 irqstat = (unsigned long)irq & 0xF0; in cmos_interrupt()
673 irqstat &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; in cmos_interrupt()
675 irqstat &= (cmos_rtc.suspend_ctrl & RTC_IRQMASK) | RTC_IRQF; in cmos_interrupt()
681 if (irqstat & RTC_AIE) { in cmos_interrupt()
691 if (is_intr(irqstat)) { in cmos_interrupt()
692 rtc_update_irq(p, 1, irqstat); in cmos_interrupt()
Drtc-twl.c150 unsigned char irqstat; member
620 twl_rtc->irqstat = twl_rtc->rtc_irq_bits; in twl_rtc_suspend()
630 set_rtc_irq_bit(twl_rtc, twl_rtc->irqstat); in twl_rtc_resume()
/drivers/atm/
Didt77252.c2638 return sprintf(page, "TSIF: %lu\n", card->irqstat[15]); in idt77252_proc_read()
2640 return sprintf(page, "TXICP: %lu\n", card->irqstat[14]); in idt77252_proc_read()
2642 return sprintf(page, "TSQF: %lu\n", card->irqstat[12]); in idt77252_proc_read()
2644 return sprintf(page, "TMROF: %lu\n", card->irqstat[11]); in idt77252_proc_read()
2646 return sprintf(page, "PHYI: %lu\n", card->irqstat[10]); in idt77252_proc_read()
2648 return sprintf(page, "FBQ3A: %lu\n", card->irqstat[8]); in idt77252_proc_read()
2650 return sprintf(page, "FBQ2A: %lu\n", card->irqstat[7]); in idt77252_proc_read()
2652 return sprintf(page, "RSQF: %lu\n", card->irqstat[6]); in idt77252_proc_read()
2654 return sprintf(page, "EPDU: %lu\n", card->irqstat[5]); in idt77252_proc_read()
2656 return sprintf(page, "RAWCF: %lu\n", card->irqstat[4]); in idt77252_proc_read()
[all …]
Didt77252.h375 unsigned long irqstat[16]; member
/drivers/tty/serial/
Dbcm63xx_uart.c367 unsigned int irqstat; in bcm_uart_interrupt() local
372 irqstat = bcm_uart_readl(port, UART_IR_REG); in bcm_uart_interrupt()
373 if (irqstat & UART_RX_INT_STAT) in bcm_uart_interrupt()
376 if (irqstat & UART_TX_INT_STAT) in bcm_uart_interrupt()
379 if (irqstat & UART_IR_MASK(UART_IR_EXTIP)) { in bcm_uart_interrupt()
/drivers/gpu/drm/nouveau/nvkm/falcon/
Dv1.c253 u32 irqstat = nvkm_falcon_rd32(falcon, 0x008); in nvkm_falcon_v1_bind_context()
255 if ((irqstat & 0x00000008) && in nvkm_falcon_v1_bind_context()
/drivers/spi/
Dspi-omap2-mcspi.c1113 u32 irqstat; in omap2_mcspi_irq_handler() local
1115 irqstat = mcspi_read_reg(mcspi->master, OMAP2_MCSPI_IRQSTATUS); in omap2_mcspi_irq_handler()
1116 if (!irqstat) in omap2_mcspi_irq_handler()
1121 if (irqstat & OMAP2_MCSPI_IRQSTATUS_EOW) in omap2_mcspi_irq_handler()