Home
last modified time | relevance | path

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

/linux/arch/arm/mach-omap1/
H A 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/drivers/iio/proximity/
H A 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()
H A 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()
/linux/drivers/irqchip/
H A Dirq-gic-v3.c807 static void gic_deactivate_unhandled(u32 irqnr) in gic_deactivate_unhandled() argument
810 if (irqnr < 8192) in gic_deactivate_unhandled()
811 gic_write_dir(irqnr); in gic_deactivate_unhandled()
813 write_gicreg(irqnr, ICC_EOIR1_EL1); in gic_deactivate_unhandled()
837 static inline void gic_complete_ack(u32 irqnr) in gic_complete_ack() argument
840 write_gicreg(irqnr, ICC_EOIR1_EL1); in gic_complete_ack()
853 static bool gic_irqnr_is_special(u32 irqnr) in gic_irqnr_is_special() argument
855 return irqnr >= 1020 && irqnr <= 1023; in gic_irqnr_is_special()
858 static void __gic_handle_irq(u32 irqnr, struct pt_regs *regs) in __gic_handle_irq() argument
860 if (gic_irqnr_is_special(irqnr)) in __gic_handle_irq()
[all …]
H A 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()
H A 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()
H A 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()
H A Dirq-omap-intc.c331 u32 irqnr; in omap_intc_handle_irq() local
333 irqnr = intc_readl(INTC_SIR); in omap_intc_handle_irq()
351 if (unlikely((irqnr & SPURIOUSIRQ_MASK) == SPURIOUSIRQ_MASK)) { in omap_intc_handle_irq()
358 irqnr &= ACTIVEIRQ_MASK; in omap_intc_handle_irq()
359 generic_handle_domain_irq(domain, irqnr); in omap_intc_handle_irq()
H A 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()
H A Dirq-davinci-cp-intc.c121 int gpir, irqnr, none; in davinci_cp_intc_handle_irq() local
129 irqnr = gpir & DAVINCI_CP_INTC_PRI_INDX_MASK; in davinci_cp_intc_handle_irq()
137 generic_handle_domain_irq(davinci_cp_intc_irq_domain, irqnr); in davinci_cp_intc_handle_irq()
H A Dirq-atmel-aic.c64 u32 irqnr; in aic_handle() local
67 irqnr = irq_reg_readl(gc, AT91_AIC_IVR); in aic_handle()
73 generic_handle_domain_irq(aic_domain, irqnr); in aic_handle()
H A Dirq-atmel-aic5.c73 u32 irqnr; in aic5_handle() local
76 irqnr = irq_reg_readl(bgc, AT91_AIC5_IVR); in aic5_handle()
82 generic_handle_domain_irq(aic5_domain, irqnr); in aic5_handle()
H A Dirq-gic.c336 u32 irqstat, irqnr; in gic_handle_irq() local
342 irqnr = irqstat & GICC_IAR_INT_ID_MASK; in gic_handle_irq()
344 if (unlikely(irqnr >= 1020)) in gic_handle_irq()
357 if (irqnr <= 15) { in gic_handle_irq()
370 generic_handle_domain_irq(gic->domain, irqnr); in gic_handle_irq()
/linux/drivers/clocksource/
H A 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/arch/arm/include/asm/
H A Decard.h113 void (*irqenable)(ecard_t *ec, int irqnr);
114 void (*irqdisable)(ecard_t *ec, int irqnr);
/linux/drivers/ata/
H A 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/drivers/pinctrl/
H A 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/drivers/scsi/arm/
H A 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
H A 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
H A 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/drivers/net/ethernet/8390/
H A 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/arch/arm/mach-rpc/
H A 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
/linux/
H A DMAINTAINERS12136 F: include/linux/irqnr.h