Home
last modified time | relevance | path

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

12

/linux-5.19.10/arch/arm/mach-s3c/
Dirq-s3c24xx.c46 unsigned long parent_irq; member
94 parent_data = &parent_intc->irqs[irq_data->parent_irq]; in s3c_irq_mask()
102 irq_data->parent_irq); in s3c_irq_mask()
122 irq_data->parent_irq); in s3c_irq_unmask()
483 if (irq_data->parent_irq > 31) { in s3c24xx_irq_map()
485 irq_data->parent_irq); in s3c24xx_irq_map()
489 parent_irq_data = &parent_intc->irqs[irq_data->parent_irq]; in s3c24xx_irq_map()
495 irq_data->parent_irq); in s3c24xx_irq_map()
498 irq_data->parent_irq); in s3c24xx_irq_map()
626 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT4 */
[all …]
/linux-5.19.10/drivers/irqchip/
Dirq-versatile-fpga.c160 static void __init fpga_irq_init(void __iomem *base, int parent_irq, in fpga_irq_init() argument
174 if (parent_irq != -1) { in fpga_irq_init()
175 irq_set_chained_handler_and_data(parent_irq, fpga_irq_handle, in fpga_irq_init()
192 if (parent_irq != -1) in fpga_irq_init()
193 pr_cont(", parent IRQ: %d\n", parent_irq); in fpga_irq_init()
207 int parent_irq; in fpga_irq_of_init() local
225 parent_irq = irq_of_parse_and_map(node, 0); in fpga_irq_of_init()
226 if (!parent_irq) { in fpga_irq_of_init()
228 parent_irq = -1; in fpga_irq_of_init()
231 fpga_irq_init(base, parent_irq, valid_mask, node); in fpga_irq_of_init()
Dirq-al-fic.c41 unsigned int parent_irq; member
174 irq_set_chained_handler_and_data(fic->parent_irq, in al_fic_register()
200 unsigned int parent_irq) in al_fic_wire_init() argument
211 fic->parent_irq = parent_irq; in al_fic_wire_init()
229 fic->name, parent_irq); in al_fic_wire_init()
243 unsigned int parent_irq; in al_fic_init_dt() local
258 parent_irq = irq_of_parse_and_map(node, 0); in al_fic_init_dt()
259 if (!parent_irq) { in al_fic_init_dt()
268 parent_irq); in al_fic_init_dt()
280 irq_dispose_mapping(parent_irq); in al_fic_init_dt()
Dirq-aspeed-i2c-ic.c23 int parent_irq; member
79 i2c_ic->parent_irq = irq_of_parse_and_map(node, 0); in aspeed_i2c_ic_of_init()
80 if (!i2c_ic->parent_irq) { in aspeed_i2c_ic_of_init()
95 irq_set_chained_handler_and_data(i2c_ic->parent_irq, in aspeed_i2c_ic_of_init()
98 pr_info("i2c controller registered, irq %d\n", i2c_ic->parent_irq); in aspeed_i2c_ic_of_init()
Dirq-mvebu-pic.c31 u32 parent_irq; member
123 enable_percpu_irq(pic->parent_irq, IRQ_TYPE_NONE); in mvebu_pic_enable_percpu_irq()
130 disable_percpu_irq(pic->parent_irq); in mvebu_pic_disable_percpu_irq()
147 pic->parent_irq = irq_of_parse_and_map(node, 0); in mvebu_pic_probe()
148 if (pic->parent_irq <= 0) { in mvebu_pic_probe()
160 irq_set_chained_handler(pic->parent_irq, mvebu_pic_handle_cascade_irq); in mvebu_pic_probe()
161 irq_set_handler_data(pic->parent_irq, pic); in mvebu_pic_probe()
Dirq-ingenic.c67 int parent_irq, err = 0; in ingenic_intc_of_init() local
76 parent_irq = irq_of_parse_and_map(node, 0); in ingenic_intc_of_init()
77 if (!parent_irq) { in ingenic_intc_of_init()
82 err = irq_set_handler_data(parent_irq, intc); in ingenic_intc_of_init()
127 if (request_irq(parent_irq, intc_cascade, IRQF_NO_SUSPEND, in ingenic_intc_of_init()
137 irq_dispose_mapping(parent_irq); in ingenic_intc_of_init()
Dirq-goldfish-pic.c61 unsigned int parent_irq; in goldfish_pic_of_init() local
70 parent_irq = irq_of_parse_and_map(of_node, 0); in goldfish_pic_of_init()
71 if (!parent_irq) { in goldfish_pic_of_init()
114 irq_set_chained_handler_and_data(parent_irq, in goldfish_pic_of_init()
126 irq_dispose_mapping(parent_irq); in goldfish_pic_of_init()
Dirq-idt3243x.c52 unsigned int parent_irq; in idt_pic_init() local
61 parent_irq = irq_of_parse_and_map(of_node, 0); in idt_pic_init()
62 if (!parent_irq) { in idt_pic_init()
104 irq_set_chained_handler_and_data(parent_irq, in idt_pic_init()
114 irq_dispose_mapping(parent_irq); in idt_pic_init()
Dirq-vic.c268 static void __init vic_register(void __iomem *base, unsigned int parent_irq, in vic_register() argument
288 if (parent_irq) { in vic_register()
289 irq_set_chained_handler_and_data(parent_irq, in vic_register()
434 static void __init __vic_init(void __iomem *base, int parent_irq, int irq_start, in __vic_init() argument
471 vic_register(base, parent_irq, irq_start, vic_sources, resume_sources, node); in __vic_init()
494 int parent_irq; in vic_of_init() local
502 parent_irq = of_irq_get(node, 0); in vic_of_init()
503 if (parent_irq < 0) in vic_of_init()
504 parent_irq = 0; in vic_of_init()
509 __vic_init(regs, parent_irq, 0, interrupt_mask, wakeup_mask, node); in vic_of_init()
Dirq-dw-apb-ictl.c122 int ret, nrirqs, parent_irq, i; in dw_apb_ictl_init() local
127 parent_irq = 0; in dw_apb_ictl_init()
131 parent_irq = irq_of_parse_and_map(np, 0); in dw_apb_ictl_init()
132 if (parent_irq <= 0) { in dw_apb_ictl_init()
201 if (parent_irq) { in dw_apb_ictl_init()
202 irq_set_chained_handler_and_data(parent_irq, in dw_apb_ictl_init()
Dirq-loongson-htpic.c85 unsigned int parent_irq[4]; in htpic_of_init() local
113 parent_irq[i] = irq_of_parse_and_map(node, i); in htpic_of_init()
114 if (parent_irq[i] <= 0) in htpic_of_init()
129 irq_set_chained_handler_and_data(parent_irq[i], in htpic_of_init()
Dirq-brcmstb-l2.c168 int parent_irq; in brcmstb_l2_intc_of_init() local
190 parent_irq = irq_of_parse_and_map(np, 0); in brcmstb_l2_intc_of_init()
191 if (!parent_irq) { in brcmstb_l2_intc_of_init()
220 irq_set_chained_handler_and_data(parent_irq, in brcmstb_l2_intc_of_init()
257 enable_irq_wake(parent_irq); in brcmstb_l2_intc_of_init()
260 pr_info("registered L2 intc (%pOF, parent irq: %d)\n", np, parent_irq); in brcmstb_l2_intc_of_init()
Dirq-loongson-htvec.c162 int err, parent_irq[8], i; in htvec_of_init() local
177 parent_irq[i] = irq_of_parse_and_map(node, i); in htvec_of_init()
178 if (parent_irq[i] <= 0) in htvec_of_init()
202 irq_set_chained_handler_and_data(parent_irq[i], in htvec_of_init()
209 irq_dispose_mapping(parent_irq[i - 1]); in htvec_of_init()
Dirq-ts4800.c109 int parent_irq; in ts4800_ic_probe() local
122 parent_irq = irq_of_parse_and_map(node, 0); in ts4800_ic_probe()
123 if (!parent_irq) { in ts4800_ic_probe()
134 irq_set_chained_handler_and_data(parent_irq, in ts4800_ic_probe()
Dspear-shirq.c204 int parent_irq) in spear_shirq_register() argument
211 irq_set_chained_handler_and_data(parent_irq, shirq_handler, shirq); in spear_shirq_register()
223 int i, parent_irq, virq_base, hwirq = 0, nr_irqs = 0; in shirq_init() local
254 parent_irq = irq_of_parse_and_map(np, i); in shirq_init()
255 spear_shirq_register(shirq_blocks[i], parent_irq); in shirq_init()
Dirq-ls1x.c109 int parent_irq, err = 0; in ls1x_intc_of_init() local
121 parent_irq = irq_of_parse_and_map(node, 0); in ls1x_intc_of_init()
122 if (!parent_irq) { in ls1x_intc_of_init()
178 irq_set_chained_handler_and_data(parent_irq, in ls1x_intc_of_init()
Dirq-bcm6345-l1.c86 unsigned int parent_irq; member
265 cpu->parent_irq = irq_of_parse_and_map(dn, idx); in bcm6345_l1_init_one()
266 if (!cpu->parent_irq) { in bcm6345_l1_init_one()
267 pr_err("failed to map parent interrupt %d\n", cpu->parent_irq); in bcm6345_l1_init_one()
270 irq_set_chained_handler_and_data(cpu->parent_irq, in bcm6345_l1_init_one()
339 cpu->map_base, cpu->parent_irq); in bcm6345_l1_of_init()
Dqcom-irq-combiner.c33 int parent_irq; member
246 combiner->parent_irq = platform_get_irq(pdev, 0); in combiner_probe()
247 if (combiner->parent_irq <= 0) in combiner_probe()
256 irq_set_chained_handler_and_data(combiner->parent_irq, in combiner_probe()
260 combiner->parent_irq, combiner->nirqs, combiner->regs[0].addr); in combiner_probe()
Dexynos-combiner.c33 unsigned int parent_irq; member
97 struct irq_chip *chip = irq_get_chip(chip_data->parent_irq); in combiner_set_affinity()
98 struct irq_data *data = irq_get_irq_data(chip_data->parent_irq); in combiner_set_affinity()
130 combiner_data->parent_irq = irq; in combiner_init_one()
Dirq-i8259.c346 unsigned int parent_irq; in i8259_of_init() local
350 parent_irq = irq_of_parse_and_map(node, 0); in i8259_of_init()
351 if (!parent_irq) { in i8259_of_init()
357 irq_set_chained_handler_and_data(parent_irq, i8259_irq_dispatch, in i8259_of_init()
Dirq-mscc-ocelot.c123 int parent_irq, ret; in vcoreiii_irq_init() local
125 parent_irq = irq_of_parse_and_map(node, 0); in vcoreiii_irq_init()
126 if (!parent_irq) in vcoreiii_irq_init()
174 irq_set_chained_handler_and_data(parent_irq, ocelot_irq_handler, in vcoreiii_irq_init()
/linux-5.19.10/drivers/gpio/
Dgpio-brcmstb.c62 int parent_irq; member
395 if (priv->parent_irq > 0) in brcmstb_gpio_remove()
396 irq_set_chained_handler_and_data(priv->parent_irq, NULL, NULL); in brcmstb_gpio_remove()
500 irq_set_chained_handler_and_data(priv->parent_irq, in brcmstb_gpio_irq_setup()
502 irq_set_status_flags(priv->parent_irq, IRQ_DISABLE_UNLAZY); in brcmstb_gpio_irq_setup()
531 if (priv->parent_irq >= 0) in brcmstb_gpio_quiesce()
532 disable_irq(priv->parent_irq); in brcmstb_gpio_quiesce()
589 if (priv->parent_irq >= 0) in brcmstb_gpio_resume()
590 enable_irq(priv->parent_irq); in brcmstb_gpio_resume()
637 priv->parent_irq = platform_get_irq(pdev, 0); in brcmstb_gpio_probe()
[all …]
Dgpio-idt3243x.c135 int parent_irq; in idt_gpio_probe() local
166 parent_irq = platform_get_irq(pdev, 0); in idt_gpio_probe()
167 if (parent_irq < 0) in idt_gpio_probe()
168 return parent_irq; in idt_gpio_probe()
181 girq->parents[0] = parent_irq; in idt_gpio_probe()
/linux-5.19.10/drivers/platform/x86/intel/
Dint0002_vgpio.c54 int parent_irq; member
179 int0002->parent_irq = irq; in int0002_probe()
244 enable_irq_wake(int0002->parent_irq); in int0002_suspend()
254 disable_irq_wake(int0002->parent_irq); in int0002_resume()
/linux-5.19.10/drivers/pinctrl/samsung/
Dpinctrl-s3c24xx.c197 int parent_irq = eint_data->parents[data->hwirq]; in s3c2410_eint0_3_ack() local
198 struct irq_chip *parent_chip = irq_get_chip(parent_irq); in s3c2410_eint0_3_ack()
200 parent_chip->irq_ack(irq_get_irq_data(parent_irq)); in s3c2410_eint0_3_ack()
208 int parent_irq = eint_data->parents[data->hwirq]; in s3c2410_eint0_3_mask() local
209 struct irq_chip *parent_chip = irq_get_chip(parent_irq); in s3c2410_eint0_3_mask()
211 parent_chip->irq_mask(irq_get_irq_data(parent_irq)); in s3c2410_eint0_3_mask()
219 int parent_irq = eint_data->parents[data->hwirq]; in s3c2410_eint0_3_unmask() local
220 struct irq_chip *parent_chip = irq_get_chip(parent_irq); in s3c2410_eint0_3_unmask()
222 parent_chip->irq_unmask(irq_get_irq_data(parent_irq)); in s3c2410_eint0_3_unmask()

12