Home
last modified time | relevance | path

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

/linux-6.1.9/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); 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()
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-imx-intmux.c183 unsigned long irqstat; in imx_intmux_irq_handler() local
189 irqstat = readl_relaxed(data->regs + CHANIPR(idx)); in imx_intmux_irq_handler()
191 for_each_set_bit(pos, &irqstat, 32) in imx_intmux_irq_handler()
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-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.c659 u32 irqstat, irqnr; in armada_370_xp_handle_irq() local
662 irqstat = readl_relaxed(per_cpu_int_base + in armada_370_xp_handle_irq()
664 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()
/linux-6.1.9/arch/arm64/include/asm/
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()
/linux-6.1.9/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()
/linux-6.1.9/tools/testing/selftests/kvm/lib/aarch64/
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()
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()
/linux-6.1.9/drivers/soc/ixp4xx/
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()
/linux-6.1.9/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.c357 unsigned int i, irqstat, event; in ltc3589_isr() local
359 regmap_read(ltc3589->regmap, LTC3589_IRQSTAT, &irqstat); in ltc3589_isr()
361 if (irqstat & LTC3589_IRQSTAT_THERMAL_WARN) { in ltc3589_isr()
368 if (irqstat & LTC3589_IRQSTAT_UNDERVOLT_WARN) { in ltc3589_isr()
/linux-6.1.9/drivers/atm/
Didt77252.c2633 return sprintf(page, "TSIF: %lu\n", card->irqstat[15]); in idt77252_proc_read()
2635 return sprintf(page, "TXICP: %lu\n", card->irqstat[14]); in idt77252_proc_read()
2637 return sprintf(page, "TSQF: %lu\n", card->irqstat[12]); in idt77252_proc_read()
2639 return sprintf(page, "TMROF: %lu\n", card->irqstat[11]); in idt77252_proc_read()
2641 return sprintf(page, "PHYI: %lu\n", card->irqstat[10]); in idt77252_proc_read()
2643 return sprintf(page, "FBQ3A: %lu\n", card->irqstat[8]); in idt77252_proc_read()
2645 return sprintf(page, "FBQ2A: %lu\n", card->irqstat[7]); in idt77252_proc_read()
2647 return sprintf(page, "RSQF: %lu\n", card->irqstat[6]); in idt77252_proc_read()
2649 return sprintf(page, "EPDU: %lu\n", card->irqstat[5]); in idt77252_proc_read()
2651 return sprintf(page, "RAWCF: %lu\n", card->irqstat[4]); in idt77252_proc_read()
[all …]
Didt77252.h375 unsigned long irqstat[16]; member
/linux-6.1.9/drivers/rtc/
Drtc-cmos.c701 u8 irqstat; in cmos_interrupt() local
713 irqstat = CMOS_READ(RTC_INTR_FLAGS); in cmos_interrupt()
716 irqstat = (unsigned long)irq & 0xF0; in cmos_interrupt()
722 irqstat &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; in cmos_interrupt()
724 irqstat &= (cmos_rtc.suspend_ctrl & RTC_IRQMASK) | RTC_IRQF; in cmos_interrupt()
730 if (irqstat & RTC_AIE) { in cmos_interrupt()
740 if (is_intr(irqstat)) { in cmos_interrupt()
741 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()
/linux-6.1.9/arch/arm/include/asm/
Darch_gicv3.h75 u32 irqstat = read_sysreg(ICC_IAR1); in gic_read_iar() local
79 return irqstat; in gic_read_iar()
/linux-6.1.9/drivers/tty/serial/
Dbcm63xx_uart.c361 unsigned int irqstat; in bcm_uart_interrupt() local
366 irqstat = bcm_uart_readl(port, UART_IR_REG); in bcm_uart_interrupt()
367 if (irqstat & UART_RX_INT_STAT) in bcm_uart_interrupt()
370 if (irqstat & UART_TX_INT_STAT) in bcm_uart_interrupt()
373 if (irqstat & UART_IR_MASK(UART_IR_EXTIP)) { in bcm_uart_interrupt()
/linux-6.1.9/include/linux/soc/ixp4xx/
Dqmgr.h52 u32 irqstat[2]; /* 0x438 - 0x43F - IRQ access only */ member
/linux-6.1.9/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()
/linux-6.1.9/drivers/spi/
Dspi-omap2-mcspi.c1097 u32 irqstat; in omap2_mcspi_irq_handler() local
1099 irqstat = mcspi_read_reg(mcspi->master, OMAP2_MCSPI_IRQSTATUS); in omap2_mcspi_irq_handler()
1100 if (!irqstat) in omap2_mcspi_irq_handler()
1105 if (irqstat & OMAP2_MCSPI_IRQSTATUS_EOW) in omap2_mcspi_irq_handler()