Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/irqchip/
H A 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); 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); in clps711x_irqh()
88 } while (irqstat); in clps711x_irqh()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dirq-armada-370-xp.c662 u32 irqstat, irqnr; in armada_370_xp_handle_irq() local
665 irqstat = readl_relaxed(per_cpu_int_base + in armada_370_xp_handle_irq()
667 irqnr = irqstat & 0x3FF; in armada_370_xp_handle_irq()
H A Dirq-gic.c339 u32 irqstat, irqnr; in gic_handle_irq() local
344 irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK); in gic_handle_irq()
345 irqnr = irqstat & GICC_IAR_INT_ID_MASK; in gic_handle_irq()
351 writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI); in gic_handle_irq()
370 this_cpu_write(sgi_intid, irqstat); in gic_handle_irq()
/openbmc/linux/arch/arm64/include/asm/
H A Darch_gicv3.h37 u64 irqstat; in gic_read_iar_common() local
39 irqstat = read_sysreg_s(SYS_ICC_IAR1_EL1); in gic_read_iar_common()
41 return irqstat; in gic_read_iar_common()
67 u64 irqstat, apr; in gic_read_iar_cavium_thunderx() local
71 irqstat = read_sysreg_s(SYS_ICC_IAR1_EL1); in gic_read_iar_cavium_thunderx()
77 return irqstat; in gic_read_iar_cavium_thunderx()
/openbmc/u-boot/drivers/mmc/
H A Dfsl_esdhc.c203 uint irqstat; in esdhc_pio_read_write() local
212 irqstat = esdhc_read32(&regs->irqstat); in esdhc_pio_read_write()
221 irqstat = esdhc_read32(&regs->irqstat); in esdhc_pio_read_write()
235 irqstat = esdhc_read32(&regs->irqstat); in esdhc_pio_read_write()
247 irqstat = esdhc_read32(&regs->irqstat); in esdhc_pio_read_write()
415 uint irqstat; in esdhc_send_cmd_common() local
484 irqstat = esdhc_read32(&regs->irqstat); in esdhc_send_cmd_common()
486 if (irqstat & CMD_ERR) { in esdhc_send_cmd_common()
491 if (irqstat & IRQSTAT_CTOE) { in esdhc_send_cmd_common()
550 irqstat = esdhc_read32(&regs->irqstat); in esdhc_send_cmd_common()
[all …]
/openbmc/linux/drivers/usb/host/
H A Dsl811-hcd.c592 u8 irqstat = 0; in checkdone() local
618 return irqstat; in checkdone()
625 u8 irqstat; in sl811h_irq() local
633 if (irqstat) { in sl811h_irq()
635 irqstat &= sl811->irq_enable; in sl811h_irq()
640 if (irqstat == 0) { in sl811h_irq()
641 irqstat = checkdone(sl811); in sl811h_irq()
642 if (irqstat) in sl811h_irq()
735 irqstat &= ~SL11H_INTMASK_RD; in sl811h_irq()
738 if (irqstat) { in sl811h_irq()
[all …]
H A Disp1362-hcd.c1011 u16 irqstat; in isp1362_irq() local
1024 irqstat &= isp1362_hcd->irqenb; in isp1362_irq()
1026 svc_mask = irqstat; in isp1362_irq()
1028 if (irqstat & HCuPINT_SOF) { in isp1362_irq()
1049 if (irqstat & HCuPINT_ISTL0) { in isp1362_irq()
1063 if (irqstat & HCuPINT_ISTL1) { in isp1362_irq()
1086 if (irqstat & HCuPINT_INTL) { in isp1362_irq()
1109 if (irqstat & HCuPINT_ATL) { in isp1362_irq()
1129 if (irqstat & HCuPINT_OPR) { in isp1362_irq()
1151 irqstat &= ~HCuPINT_OPR; in isp1362_irq()
[all …]
H A 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()
/openbmc/linux/tools/testing/selftests/kvm/lib/aarch64/
H A Dgic.c80 uint64_t irqstat; in gic_get_and_ack_irq() local
85 irqstat = gic_common_ops->gic_read_iar(); in gic_get_and_ack_irq()
86 intid = irqstat & GENMASK(23, 0); in gic_get_and_ack_irq()
H A Dgic_v3.c81 uint64_t irqstat = read_sysreg_s(SYS_ICC_IAR1_EL1); in gicv3_read_iar() local
84 return irqstat; in gicv3_read_iar()
/openbmc/linux/drivers/soc/ixp4xx/
H A Dixp4xx-qmgr.c147 __raw_writel(0xFFFFFFFF, &qmgr_regs->irqstat[0]); in qmgr_irq1_a0()
172 __raw_writel(0xFFFFFFFF, &qmgr_regs->irqstat[1]); in qmgr_irq2_a0()
189 u32 req_bitmap = __raw_readl(&qmgr_regs->irqstat[half]); in qmgr_irq()
193 __raw_writel(req_bitmap, &qmgr_regs->irqstat[half]); /* ACK */ in qmgr_irq()
226 __raw_writel(mask, &qmgr_regs->irqstat[half]); /* clear */ in qmgr_disable_irq()
406 __raw_writel(0xFFFFFFFF, &qmgr_regs->irqstat[i]); /* clear */ in ixp4xx_qmgr_probe()
/openbmc/linux/drivers/regulator/
H A 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()
H A Dltc3589.c356 unsigned int i, irqstat, event; in ltc3589_isr() local
358 regmap_read(ltc3589->regmap, LTC3589_IRQSTAT, &irqstat); in ltc3589_isr()
360 if (irqstat & LTC3589_IRQSTAT_THERMAL_WARN) { in ltc3589_isr()
367 if (irqstat & LTC3589_IRQSTAT_UNDERVOLT_WARN) { in ltc3589_isr()
/openbmc/linux/drivers/atm/
H A Didt77252.c2726 card->irqstat[15]++; in idt77252_interrupt()
2731 card->irqstat[14]++; in idt77252_interrupt()
2738 card->irqstat[12]++; in idt77252_interrupt()
2743 card->irqstat[11]++; in idt77252_interrupt()
2749 card->irqstat[5]++; in idt77252_interrupt()
2754 card->irqstat[1]++; in idt77252_interrupt()
2759 card->irqstat[6]++; in idt77252_interrupt()
2764 card->irqstat[4]++; in idt77252_interrupt()
2770 card->irqstat[10]++; in idt77252_interrupt()
2783 card->irqstat[2]++; in idt77252_interrupt()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-cmos.c699 u8 irqstat; in cmos_interrupt() local
711 irqstat = CMOS_READ(RTC_INTR_FLAGS); in cmos_interrupt()
714 irqstat = (unsigned long)irq & 0xF0; in cmos_interrupt()
720 irqstat &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; in cmos_interrupt()
722 irqstat &= (cmos_rtc.suspend_ctrl & RTC_IRQMASK) | RTC_IRQF; in cmos_interrupt()
728 if (irqstat & RTC_AIE) { in cmos_interrupt()
738 if (is_intr(irqstat)) { in cmos_interrupt()
739 rtc_update_irq(p, 1, irqstat); in cmos_interrupt()
H A Drtc-twl.c150 unsigned char irqstat; member
651 twl_rtc->irqstat = twl_rtc->rtc_irq_bits; in twl_rtc_suspend()
661 set_rtc_irq_bit(twl_rtc, twl_rtc->irqstat); in twl_rtc_resume()
/openbmc/linux/arch/arm/include/asm/
H A Darch_gicv3.h75 u32 irqstat = read_sysreg(ICC_IAR1); in gic_read_iar() local
79 return irqstat; in gic_read_iar()
/openbmc/linux/drivers/tty/serial/
H A Dbcm63xx_uart.c335 unsigned int irqstat; in bcm_uart_interrupt() local
340 irqstat = bcm_uart_readl(port, UART_IR_REG); in bcm_uart_interrupt()
341 if (irqstat & UART_RX_INT_STAT) in bcm_uart_interrupt()
344 if (irqstat & UART_TX_INT_STAT) in bcm_uart_interrupt()
347 if (irqstat & UART_IR_MASK(UART_IR_EXTIP)) { in bcm_uart_interrupt()
/openbmc/linux/include/linux/soc/ixp4xx/
H A Dqmgr.h52 u32 irqstat[2]; /* 0x438 - 0x43F - IRQ access only */ member
/openbmc/qemu/hw/dma/
H A Domap_dma.c119 uint32_t irqstat[4]; member
694 memset(&s->irqstat, 0, sizeof(s->irqstat));
1692 if ((s->irqstat[0] |= s->irqen[0] & bmp))
1694 if ((s->irqstat[1] |= s->irqen[1] & bmp))
1696 if ((s->irqstat[2] |= s->irqen[2] & bmp))
1698 if ((s->irqstat[3] |= s->irqen[3] & bmp))
1727 return s->irqstat[irqn];
1881 s->irqstat[irqn] &= ~value;
1882 if (!s->irqstat[irqn])
/openbmc/linux/drivers/spi/
H A Dspi-omap2-mcspi.c1100 u32 irqstat; in omap2_mcspi_irq_handler() local
1102 irqstat = mcspi_read_reg(mcspi->ctlr, OMAP2_MCSPI_IRQSTATUS); in omap2_mcspi_irq_handler()
1103 if (!irqstat) in omap2_mcspi_irq_handler()
1108 if (irqstat & OMAP2_MCSPI_IRQSTATUS_EOW) in omap2_mcspi_irq_handler()

12