Home
last modified time | relevance | path

Searched refs:irqstat (Results 1 – 22 of 22) 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-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-hip04.c201 u32 irqstat, irqnr; in hip04_handle_irq() local
205 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK); in hip04_handle_irq()
206 irqnr = irqstat & GICC_IAR_INT_ID_MASK; in hip04_handle_irq()
Dirq-imx-intmux.c184 unsigned long irqstat; in imx_intmux_irq_handler() local
190 irqstat = readl_relaxed(data->regs + CHANIPR(idx)); in imx_intmux_irq_handler()
192 for_each_set_bit(pos, &irqstat, 32) { in imx_intmux_irq_handler()
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.c646 u32 irqstat, irqnr; in armada_370_xp_handle_irq() local
649 irqstat = readl_relaxed(per_cpu_int_base + in armada_370_xp_handle_irq()
651 irqnr = irqstat & 0x3FF; in armada_370_xp_handle_irq()
Dirq-gic.c338 u32 irqstat, irqnr; in gic_handle_irq() local
343 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK); in gic_handle_irq()
344 irqnr = irqstat & GICC_IAR_INT_ID_MASK; in gic_handle_irq()
350 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI); in gic_handle_irq()
369 this_cpu_write(sgi_intid, irqstat); 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()
188 u32 req_bitmap = __raw_readl(&qmgr_regs->irqstat[half]); in qmgr_irq()
192 __raw_writel(req_bitmap, &qmgr_regs->irqstat[half]); /* ACK */ in qmgr_irq()
225 __raw_writel(mask, &qmgr_regs->irqstat[half]); /* clear */ in qmgr_disable_irq()
405 __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()
284 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()
365 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.c707 u8 irqstat; in cmos_interrupt() local
719 irqstat = CMOS_READ(RTC_INTR_FLAGS); in cmos_interrupt()
722 irqstat = (unsigned long)irq & 0xF0; in cmos_interrupt()
728 irqstat &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; in cmos_interrupt()
730 irqstat &= (cmos_rtc.suspend_ctrl & RTC_IRQMASK) | RTC_IRQF; in cmos_interrupt()
736 if (irqstat & RTC_AIE) { in cmos_interrupt()
746 if (is_intr(irqstat)) { in cmos_interrupt()
747 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.c2639 return sprintf(page, "TSIF: %lu\n", card->irqstat[15]); in idt77252_proc_read()
2641 return sprintf(page, "TXICP: %lu\n", card->irqstat[14]); in idt77252_proc_read()
2643 return sprintf(page, "TSQF: %lu\n", card->irqstat[12]); in idt77252_proc_read()
2645 return sprintf(page, "TMROF: %lu\n", card->irqstat[11]); in idt77252_proc_read()
2647 return sprintf(page, "PHYI: %lu\n", card->irqstat[10]); in idt77252_proc_read()
2649 return sprintf(page, "FBQ3A: %lu\n", card->irqstat[8]); in idt77252_proc_read()
2651 return sprintf(page, "FBQ2A: %lu\n", card->irqstat[7]); in idt77252_proc_read()
2653 return sprintf(page, "RSQF: %lu\n", card->irqstat[6]); in idt77252_proc_read()
2655 return sprintf(page, "EPDU: %lu\n", card->irqstat[5]); in idt77252_proc_read()
2657 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.c363 unsigned int irqstat; in bcm_uart_interrupt() local
368 irqstat = bcm_uart_readl(port, UART_IR_REG); in bcm_uart_interrupt()
369 if (irqstat & UART_RX_INT_STAT) in bcm_uart_interrupt()
372 if (irqstat & UART_TX_INT_STAT) in bcm_uart_interrupt()
375 if (irqstat & UART_IR_MASK(UART_IR_EXTIP)) { in bcm_uart_interrupt()
/drivers/gpu/drm/nouveau/nvkm/engine/sec2/
Dgp102.c214 u32 irqstat = nvkm_falcon_rd32(falcon, 0x008); in gp102_sec2_flcn_bind_context()
216 if ((irqstat & 0x00000008) && in gp102_sec2_flcn_bind_context()
/drivers/spi/
Dspi-omap2-mcspi.c1093 u32 irqstat; in omap2_mcspi_irq_handler() local
1095 irqstat = mcspi_read_reg(mcspi->master, OMAP2_MCSPI_IRQSTATUS); in omap2_mcspi_irq_handler()
1096 if (!irqstat) in omap2_mcspi_irq_handler()
1101 if (irqstat & OMAP2_MCSPI_IRQSTATUS_EOW) in omap2_mcspi_irq_handler()