Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/arm/mach-omap1/
Dirq.c146 u32 irqnr; in omap1_handle_irq() local
149 irqnr = readl_relaxed(l1 + IRQ_ITR_REG_OFFSET); in omap1_handle_irq()
150 irqnr &= ~(readl_relaxed(l1 + IRQ_MIR_REG_OFFSET) & 0xffffffff); in omap1_handle_irq()
151 if (!irqnr) in omap1_handle_irq()
154 irqnr = readl_relaxed(l1 + IRQ_SIR_FIQ_REG_OFFSET); in omap1_handle_irq()
155 if (irqnr) in omap1_handle_irq()
158 irqnr = readl_relaxed(l1 + IRQ_SIR_IRQ_REG_OFFSET); in omap1_handle_irq()
159 if (irqnr == omap_l2_irq) { in omap1_handle_irq()
160 irqnr = readl_relaxed(l2 + IRQ_SIR_IRQ_REG_OFFSET); in omap1_handle_irq()
161 if (irqnr) in omap1_handle_irq()
[all …]
/Linux-v6.1/drivers/iio/proximity/
Dping.c54 int irqnr; member
119 data->irqnr = gpiod_to_irq(data->gpiod_ping); in ping_read()
120 if (data->irqnr < 0) { in ping_read()
121 dev_err(data->dev, "gpiod_to_irq: %d\n", data->irqnr); in ping_read()
123 return data->irqnr; in ping_read()
126 ret = request_irq(data->irqnr, ping_handle_irq, in ping_read()
155 free_irq(data->irqnr, indio_dev); in ping_read()
218 free_irq(data->irqnr, indio_dev); in ping_read()
Dmb1232.c44 int irqnr; member
79 if (data->irqnr >= 0) { in mb1232_read_distance()
214 data->irqnr = fwnode_irq_get(dev_fwnode(&client->dev), 0); in mb1232_probe()
215 if (data->irqnr <= 0) { in mb1232_probe()
217 data->irqnr = -1; in mb1232_probe()
219 ret = devm_request_irq(dev, data->irqnr, mb1232_handle_irq, in mb1232_probe()
Dsrf04.c61 int irqnr; member
302 data->irqnr = gpiod_to_irq(data->gpiod_echo); in srf04_probe()
303 if (data->irqnr < 0) { in srf04_probe()
304 dev_err(data->dev, "gpiod_to_irq: %d\n", data->irqnr); in srf04_probe()
305 return data->irqnr; in srf04_probe()
308 ret = devm_request_irq(dev, data->irqnr, srf04_handle_irq, in srf04_probe()
/Linux-v6.1/drivers/irqchip/
Dirq-davinci-aintc.c67 int irqnr = davinci_aintc_readl(DAVINCI_AINTC_IRQ_IRQENTRY); in davinci_aintc_handle_irq() local
73 irqnr >>= 2; in davinci_aintc_handle_irq()
74 irqnr -= 1; in davinci_aintc_handle_irq()
76 generic_handle_domain_irq(davinci_aintc_irq_domain, irqnr); in davinci_aintc_handle_irq()
Dirq-gic-v3.c637 static void gic_deactivate_unhandled(u32 irqnr) in gic_deactivate_unhandled() argument
640 if (irqnr < 8192) in gic_deactivate_unhandled()
641 gic_write_dir(irqnr); in gic_deactivate_unhandled()
643 write_gicreg(irqnr, ICC_EOIR1_EL1); in gic_deactivate_unhandled()
667 static inline void gic_complete_ack(u32 irqnr) in gic_complete_ack() argument
670 write_gicreg(irqnr, ICC_EOIR1_EL1); in gic_complete_ack()
683 static bool gic_irqnr_is_special(u32 irqnr) in gic_irqnr_is_special() argument
685 return irqnr >= 1020 && irqnr <= 1023; in gic_irqnr_is_special()
688 static void __gic_handle_irq(u32 irqnr, struct pt_regs *regs) in __gic_handle_irq() argument
690 if (gic_irqnr_is_special(irqnr)) in __gic_handle_irq()
[all …]
Dirq-mxs.c135 u32 irqnr; in icoll_handle_irq() local
137 irqnr = __raw_readl(icoll_priv.stat); in icoll_handle_irq()
138 __raw_writel(irqnr, icoll_priv.vector); in icoll_handle_irq()
139 generic_handle_domain_irq(icoll_domain, irqnr); in icoll_handle_irq()
Dirq-zevio.c49 int irqnr; in zevio_handle_irq() local
52 irqnr = readl(zevio_irq_io + IO_CURRENT); in zevio_handle_irq()
53 generic_handle_domain_irq(zevio_irq_domain, irqnr); in zevio_handle_irq()
Dirq-vt8500.c169 int irqnr; in vt8500_handle_irq() local
175 irqnr = readl_relaxed(base) & 0x3F; in vt8500_handle_irq()
180 if (irqnr == 63) { in vt8500_handle_irq()
186 generic_handle_domain_irq(intc[i].domain, irqnr); in vt8500_handle_irq()
Dirq-omap-intc.c332 u32 irqnr; in omap_intc_handle_irq() local
334 irqnr = intc_readl(INTC_SIR); in omap_intc_handle_irq()
352 if (unlikely((irqnr & SPURIOUSIRQ_MASK) == SPURIOUSIRQ_MASK)) { in omap_intc_handle_irq()
359 irqnr &= ACTIVEIRQ_MASK; in omap_intc_handle_irq()
360 generic_handle_domain_irq(domain, irqnr); in omap_intc_handle_irq()
Dirq-hip04.c201 u32 irqstat, irqnr; in hip04_handle_irq() local
206 irqnr = irqstat & GICC_IAR_INT_ID_MASK; in hip04_handle_irq()
208 if (irqnr <= HIP04_MAX_IRQS) in hip04_handle_irq()
209 generic_handle_domain_irq(hip04_data.domain, irqnr); in hip04_handle_irq()
210 } while (irqnr > HIP04_MAX_IRQS); in hip04_handle_irq()
Dirq-armada-370-xp.c659 u32 irqstat, irqnr; in armada_370_xp_handle_irq() local
664 irqnr = irqstat & 0x3FF; in armada_370_xp_handle_irq()
666 if (irqnr > 1022) in armada_370_xp_handle_irq()
669 if (irqnr > 1) { in armada_370_xp_handle_irq()
671 irqnr); in armada_370_xp_handle_irq()
676 if (irqnr == 1) in armada_370_xp_handle_irq()
681 if (irqnr == 0) { in armada_370_xp_handle_irq()
Dirq-davinci-cp-intc.c122 int gpir, irqnr, none; in davinci_cp_intc_handle_irq() local
130 irqnr = gpir & DAVINCI_CP_INTC_PRI_INDX_MASK; in davinci_cp_intc_handle_irq()
138 generic_handle_domain_irq(davinci_cp_intc_irq_domain, irqnr); in davinci_cp_intc_handle_irq()
Dirq-atmel-aic.c65 u32 irqnr; in aic_handle() local
68 irqnr = irq_reg_readl(gc, AT91_AIC_IVR); in aic_handle()
74 generic_handle_domain_irq(aic_domain, irqnr); in aic_handle()
Dirq-atmel-aic5.c74 u32 irqnr; in aic5_handle() local
77 irqnr = irq_reg_readl(bgc, AT91_AIC5_IVR); in aic5_handle()
83 generic_handle_domain_irq(aic5_domain, irqnr); in aic5_handle()
Dirq-gic.c338 u32 irqstat, irqnr; in gic_handle_irq() local
344 irqnr = irqstat & GICC_IAR_INT_ID_MASK; in gic_handle_irq()
346 if (unlikely(irqnr >= 1020)) in gic_handle_irq()
359 if (irqnr <= 15) { in gic_handle_irq()
372 generic_handle_domain_irq(gic->domain, irqnr); in gic_handle_irq()
/Linux-v6.1/drivers/clocksource/
Dtimer-zevio.c120 int irqnr, ret; in zevio_timer_add() local
142 irqnr = irq_of_parse_and_map(node, 0); in zevio_timer_add()
153 if (timer->interrupt_regs && irqnr) { in zevio_timer_add()
162 timer->clkevt.irq = irqnr; in zevio_timer_add()
174 if (request_irq(irqnr, zevio_timer_interrupt, in zevio_timer_add()
/Linux-v6.1/arch/arm/include/asm/
Decard.h113 void (*irqenable)(ecard_t *ec, int irqnr);
114 void (*irqdisable)(ecard_t *ec, int irqnr);
/Linux-v6.1/drivers/ata/
Dpata_icside.c86 static void pata_icside_irqenable_arcin_v5 (struct expansion_card *ec, int irqnr) in pata_icside_irqenable_arcin_v5() argument
96 static void pata_icside_irqdisable_arcin_v5 (struct expansion_card *ec, int irqnr) in pata_icside_irqdisable_arcin_v5() argument
113 static void pata_icside_irqenable_arcin_v6 (struct expansion_card *ec, int irqnr) in pata_icside_irqenable_arcin_v6() argument
127 static void pata_icside_irqdisable_arcin_v6 (struct expansion_card *ec, int irqnr) in pata_icside_irqdisable_arcin_v6() argument
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-amd.c606 unsigned int i, irqnr; in do_amd_gpio_irq_handler() local
623 for (mask = 1, irqnr = 0; status; mask <<= 1, regs += 4, irqnr += 4) { in do_amd_gpio_irq_handler()
635 irqnr + i, regval); in do_amd_gpio_irq_handler()
642 generic_handle_domain_irq_safe(gc->irq.domain, irqnr + i); in do_amd_gpio_irq_handler()
658 irqnr + i); in do_amd_gpio_irq_handler()
/Linux-v6.1/drivers/scsi/arm/
Dpowertec.c74 powertecscsi_irqenable(struct expansion_card *ec, int irqnr) in powertecscsi_irqenable() argument
86 powertecscsi_irqdisable(struct expansion_card *ec, int irqnr) in powertecscsi_irqdisable() argument
Dcumana_2.c94 cumanascsi_2_irqenable(struct expansion_card *ec, int irqnr) in cumanascsi_2_irqenable() argument
106 cumanascsi_2_irqdisable(struct expansion_card *ec, int irqnr) in cumanascsi_2_irqdisable() argument
Deesox.c87 eesoxscsi_irqenable(struct expansion_card *ec, int irqnr) in eesoxscsi_irqenable() argument
102 eesoxscsi_irqdisable(struct expansion_card *ec, int irqnr) in eesoxscsi_irqdisable() argument
/Linux-v6.1/drivers/input/touchscreen/
Ducb1400_ts.c185 static irqreturn_t ucb1400_irq(int irqnr, void *devid) in ucb1400_irq() argument
190 if (unlikely(irqnr != ucb->irq)) in ucb1400_irq()
/Linux-v6.1/drivers/mfd/
Dasic3.c180 unsigned int irqnr; in asic3_irq_demux() local
185 irqnr = asic->irq_base + in asic3_irq_demux()
188 generic_handle_irq(irqnr); in asic3_irq_demux()

12