Home
last modified time | relevance | path

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

/linux-6.6.21/arch/arm/mach-omap1/
Dirq.c139 u32 irqnr; in omap1_handle_irq() local
142 irqnr = readl_relaxed(l1 + IRQ_ITR_REG_OFFSET); in omap1_handle_irq()
143 irqnr &= ~(readl_relaxed(l1 + IRQ_MIR_REG_OFFSET) & 0xffffffff); in omap1_handle_irq()
144 if (!irqnr) in omap1_handle_irq()
147 irqnr = readl_relaxed(l1 + IRQ_SIR_FIQ_REG_OFFSET); in omap1_handle_irq()
148 if (irqnr) in omap1_handle_irq()
151 irqnr = readl_relaxed(l1 + IRQ_SIR_IRQ_REG_OFFSET); in omap1_handle_irq()
152 if (irqnr == omap_l2_irq) { in omap1_handle_irq()
153 irqnr = readl_relaxed(l2 + IRQ_SIR_IRQ_REG_OFFSET); in omap1_handle_irq()
154 if (irqnr) in omap1_handle_irq()
[all …]
/linux-6.6.21/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()
216 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-6.6.21/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-6.6.21/drivers/irqchip/
Dirq-gic-v3.c713 static void gic_deactivate_unhandled(u32 irqnr) in gic_deactivate_unhandled() argument
716 if (irqnr < 8192) in gic_deactivate_unhandled()
717 gic_write_dir(irqnr); in gic_deactivate_unhandled()
719 write_gicreg(irqnr, ICC_EOIR1_EL1); in gic_deactivate_unhandled()
743 static inline void gic_complete_ack(u32 irqnr) in gic_complete_ack() argument
746 write_gicreg(irqnr, ICC_EOIR1_EL1); in gic_complete_ack()
759 static bool gic_irqnr_is_special(u32 irqnr) in gic_irqnr_is_special() argument
761 return irqnr >= 1020 && irqnr <= 1023; in gic_irqnr_is_special()
764 static void __gic_handle_irq(u32 irqnr, struct pt_regs *regs) in __gic_handle_irq() argument
766 if (gic_irqnr_is_special(irqnr)) in __gic_handle_irq()
[all …]
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-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-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.c658 u32 irqstat, irqnr; in armada_370_xp_handle_irq() local
663 irqnr = irqstat & 0x3FF; in armada_370_xp_handle_irq()
665 if (irqnr > 1022) in armada_370_xp_handle_irq()
668 if (irqnr > 1) { in armada_370_xp_handle_irq()
670 irqnr); in armada_370_xp_handle_irq()
675 if (irqnr == 1) in armada_370_xp_handle_irq()
680 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.c339 u32 irqstat, irqnr; in gic_handle_irq() local
345 irqnr = irqstat & GICC_IAR_INT_ID_MASK; in gic_handle_irq()
347 if (unlikely(irqnr >= 1020)) in gic_handle_irq()
360 if (irqnr <= 15) { in gic_handle_irq()
373 generic_handle_domain_irq(gic->domain, irqnr); in gic_handle_irq()
/linux-6.6.21/arch/arm/include/asm/
Decard.h113 void (*irqenable)(ecard_t *ec, int irqnr);
114 void (*irqdisable)(ecard_t *ec, int irqnr);
/linux-6.6.21/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-6.6.21/drivers/pinctrl/
Dpinctrl-amd.c599 unsigned int i, irqnr; in do_amd_gpio_irq_handler() local
616 for (mask = 1, irqnr = 0; status; mask <<= 1, regs += 4, irqnr += 4) { in do_amd_gpio_irq_handler()
627 irqnr + i, regval); in do_amd_gpio_irq_handler()
636 generic_handle_domain_irq_safe(gc->irq.domain, irqnr + i); in do_amd_gpio_irq_handler()
647 if (!gpiochip_line_is_irq(gc, irqnr + i)) { in do_amd_gpio_irq_handler()
651 irqnr + i); in do_amd_gpio_irq_handler()
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/8390/
Detherh.c141 static void etherh_irq_enable(ecard_t *ec, int irqnr) in etherh_irq_enable() argument
148 static void etherh_irq_disable(ecard_t *ec, int irqnr) in etherh_irq_disable() argument
/linux-6.6.21/arch/arm/mach-rpc/
Decard.c385 static void ecard_def_irq_enable(ecard_t *ec, int irqnr) in ecard_def_irq_enable() argument
389 static void ecard_def_irq_disable(ecard_t *ec, int irqnr) in ecard_def_irq_disable() argument