Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dirq-s3c24xx.c44 unsigned long parent_irq; member
92 parent_data = &parent_intc->irqs[irq_data->parent_irq]; in s3c_irq_mask()
100 irq_data->parent_irq); in s3c_irq_mask()
120 irq_data->parent_irq); in s3c_irq_unmask()
482 if (irq_data->parent_irq > 31) { in s3c24xx_irq_map()
484 irq_data->parent_irq); in s3c24xx_irq_map()
488 parent_irq_data = &parent_intc->irqs[irq_data->parent_irq]; in s3c24xx_irq_map()
494 irq_data->parent_irq); in s3c24xx_irq_map()
497 irq_data->parent_irq); in s3c24xx_irq_map()
625 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT4 */
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-versatile-fpga.c150 int parent_irq, u32 valid, struct device_node *node) in fpga_irq_init() argument
167 if (parent_irq != -1) { in fpga_irq_init()
168 irq_set_chained_handler_and_data(parent_irq, fpga_irq_handle, in fpga_irq_init()
186 if (parent_irq != -1) in fpga_irq_init()
187 pr_cont(", parent IRQ: %d\n", parent_irq); in fpga_irq_init()
201 int parent_irq; in fpga_irq_of_init() local
219 parent_irq = irq_of_parse_and_map(node, 0); in fpga_irq_of_init()
220 if (!parent_irq) { in fpga_irq_of_init()
222 parent_irq = -1; in fpga_irq_of_init()
225 fpga_irq_init(base, node->name, 0, parent_irq, valid_mask, node); in fpga_irq_of_init()
Dirq-al-fic.c41 unsigned int parent_irq; member
177 irq_set_chained_handler_and_data(fic->parent_irq, in al_fic_register()
203 unsigned int parent_irq) in al_fic_wire_init() argument
214 fic->parent_irq = parent_irq; in al_fic_wire_init()
232 fic->name, parent_irq); in al_fic_wire_init()
246 unsigned int parent_irq; in al_fic_init_dt() local
261 parent_irq = irq_of_parse_and_map(node, 0); in al_fic_init_dt()
262 if (!parent_irq) { in al_fic_init_dt()
271 parent_irq); in al_fic_init_dt()
283 irq_dispose_mapping(parent_irq); in al_fic_init_dt()
Dirq-aspeed-i2c-ic.c23 int parent_irq; member
81 i2c_ic->parent_irq = irq_of_parse_and_map(node, 0); in aspeed_i2c_ic_of_init()
82 if (!i2c_ic->parent_irq) { in aspeed_i2c_ic_of_init()
97 irq_set_chained_handler_and_data(i2c_ic->parent_irq, in aspeed_i2c_ic_of_init()
100 pr_info("i2c controller registered, irq %d\n", i2c_ic->parent_irq); in aspeed_i2c_ic_of_init()
Dirq-mvebu-pic.c30 u32 parent_irq; member
112 enable_percpu_irq(pic->parent_irq, IRQ_TYPE_NONE); in mvebu_pic_enable_percpu_irq()
119 disable_percpu_irq(pic->parent_irq); in mvebu_pic_disable_percpu_irq()
144 pic->parent_irq = irq_of_parse_and_map(node, 0); in mvebu_pic_probe()
145 if (pic->parent_irq <= 0) { in mvebu_pic_probe()
157 irq_set_chained_handler(pic->parent_irq, mvebu_pic_handle_cascade_irq); in mvebu_pic_probe()
158 irq_set_handler_data(pic->parent_irq, pic); in mvebu_pic_probe()
Dirq-ingenic.c68 int parent_irq, err = 0; in ingenic_intc_of_init() local
77 parent_irq = irq_of_parse_and_map(node, 0); in ingenic_intc_of_init()
78 if (!parent_irq) { in ingenic_intc_of_init()
83 err = irq_set_handler_data(parent_irq, intc); in ingenic_intc_of_init()
128 if (request_irq(parent_irq, intc_cascade, IRQF_NO_SUSPEND, in ingenic_intc_of_init()
138 irq_dispose_mapping(parent_irq); in ingenic_intc_of_init()
Dirq-goldfish-pic.c62 unsigned int parent_irq; in goldfish_pic_of_init() local
71 parent_irq = irq_of_parse_and_map(of_node, 0); in goldfish_pic_of_init()
72 if (!parent_irq) { in goldfish_pic_of_init()
115 irq_set_chained_handler_and_data(parent_irq, in goldfish_pic_of_init()
127 irq_dispose_mapping(parent_irq); in goldfish_pic_of_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.c123 int ret, nrirqs, parent_irq, i; in dw_apb_ictl_init() local
128 parent_irq = 0; in dw_apb_ictl_init()
132 parent_irq = irq_of_parse_and_map(np, 0); in dw_apb_ictl_init()
133 if (parent_irq <= 0) { in dw_apb_ictl_init()
202 if (parent_irq) { in dw_apb_ictl_init()
203 irq_set_chained_handler_and_data(parent_irq, in dw_apb_ictl_init()
Dirq-loongson-htpic.c86 unsigned int parent_irq[4]; in htpic_of_init() local
114 parent_irq[i] = irq_of_parse_and_map(node, i); in htpic_of_init()
115 if (parent_irq[i] <= 0) in htpic_of_init()
130 irq_set_chained_handler_and_data(parent_irq[i], in htpic_of_init()
Dirq-mscc-ocelot.c66 int parent_irq, ret; in ocelot_irq_init() local
68 parent_irq = irq_of_parse_and_map(node, 0); in ocelot_irq_init()
69 if (!parent_irq) in ocelot_irq_init()
105 irq_set_chained_handler_and_data(parent_irq, ocelot_irq_handler, in ocelot_irq_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-ts4800.c98 int parent_irq; in ts4800_ic_probe() local
111 parent_irq = irq_of_parse_and_map(node, 0); in ts4800_ic_probe()
112 if (!parent_irq) { in ts4800_ic_probe()
128 irq_set_chained_handler_and_data(parent_irq, in ts4800_ic_probe()
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()
Dspear-shirq.c202 int parent_irq) in spear_shirq_register() argument
209 irq_set_chained_handler_and_data(parent_irq, shirq_handler, shirq); in spear_shirq_register()
221 int i, parent_irq, virq_base, hwirq = 0, nr_irqs = 0; in shirq_init() local
252 parent_irq = irq_of_parse_and_map(np, i); in shirq_init()
253 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-loongson-liointc.c154 int parent_irq[LIOINTC_NUM_PARENT]; in liointc_of_init() local
169 parent_irq[i] = of_irq_get_byname(node, parent_names[i]); in liointc_of_init()
170 if (parent_irq[i] > 0) in liointc_of_init()
251 if (parent_irq[i] <= 0) in liointc_of_init()
255 irq_set_chained_handler_and_data(parent_irq[i], in liointc_of_init()
Dirq-bcm6345-l1.c86 unsigned int parent_irq; member
269 cpu->parent_irq = irq_of_parse_and_map(dn, idx); in bcm6345_l1_init_one()
270 if (!cpu->parent_irq) { in bcm6345_l1_init_one()
271 pr_err("failed to map parent interrupt %d\n", cpu->parent_irq); in bcm6345_l1_init_one()
274 irq_set_chained_handler_and_data(cpu->parent_irq, in bcm6345_l1_init_one()
343 cpu->map_base, cpu->parent_irq); in bcm6345_l1_of_init()
Dqcom-irq-combiner.c33 int parent_irq; member
250 combiner->parent_irq = platform_get_irq(pdev, 0); in combiner_probe()
251 if (combiner->parent_irq <= 0) in combiner_probe()
260 irq_set_chained_handler_and_data(combiner->parent_irq, in combiner_probe()
264 combiner->parent_irq, combiner->nirqs, combiner->regs[0].addr); in combiner_probe()
Dirq-i8259.c348 unsigned int parent_irq; in i8259_of_init() local
352 parent_irq = irq_of_parse_and_map(node, 0); in i8259_of_init()
353 if (!parent_irq) { in i8259_of_init()
359 irq_set_chained_handler_and_data(parent_irq, i8259_irq_dispatch, in i8259_of_init()
Dexynos-combiner.c33 unsigned int parent_irq; member
99 struct irq_chip *chip = irq_get_chip(chip_data->parent_irq); in combiner_set_affinity()
100 struct irq_data *data = irq_get_irq_data(chip_data->parent_irq); in combiner_set_affinity()
132 combiner_data->parent_irq = irq; in combiner_init_one()
Dirq-lpc32xx.c180 u32 parent_irq, i, addr = reg ? be32_to_cpu(*reg) : 0; in lpc32xx_of_ic_init() local
217 parent_irq = irq_of_parse_and_map(node, i); in lpc32xx_of_ic_init()
218 if (parent_irq) in lpc32xx_of_ic_init()
219 irq_set_chained_handler_and_data(parent_irq, in lpc32xx_of_ic_init()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-brcmstb.c62 int parent_irq; member
396 if (priv->parent_irq > 0) in brcmstb_gpio_remove()
397 irq_set_chained_handler_and_data(priv->parent_irq, NULL, NULL); in brcmstb_gpio_remove()
501 irq_set_chained_handler_and_data(priv->parent_irq, in brcmstb_gpio_irq_setup()
503 irq_set_status_flags(priv->parent_irq, IRQ_DISABLE_UNLAZY); in brcmstb_gpio_irq_setup()
532 if (priv->parent_irq >= 0) in brcmstb_gpio_quiesce()
533 disable_irq(priv->parent_irq); in brcmstb_gpio_quiesce()
590 if (priv->parent_irq >= 0) in brcmstb_gpio_resume()
591 enable_irq(priv->parent_irq); in brcmstb_gpio_resume()
681 priv->parent_irq = platform_get_irq(pdev, 0); in brcmstb_gpio_probe()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_int0002_vgpio.c56 int parent_irq; member
189 int0002->parent_irq = irq; in int0002_probe()
254 enable_irq_wake(int0002->parent_irq); in int0002_suspend()
264 disable_irq_wake(int0002->parent_irq); in int0002_resume()
/kernel/linux/linux-5.10/drivers/pinctrl/samsung/
Dpinctrl-s3c24xx.c202 int parent_irq = eint_data->parents[data->hwirq]; in s3c2410_eint0_3_ack() local
203 struct irq_chip *parent_chip = irq_get_chip(parent_irq); in s3c2410_eint0_3_ack()
205 parent_chip->irq_ack(irq_get_irq_data(parent_irq)); in s3c2410_eint0_3_ack()
213 int parent_irq = eint_data->parents[data->hwirq]; in s3c2410_eint0_3_mask() local
214 struct irq_chip *parent_chip = irq_get_chip(parent_irq); in s3c2410_eint0_3_mask()
216 parent_chip->irq_mask(irq_get_irq_data(parent_irq)); in s3c2410_eint0_3_mask()
224 int parent_irq = eint_data->parents[data->hwirq]; in s3c2410_eint0_3_unmask() local
225 struct irq_chip *parent_chip = irq_get_chip(parent_irq); in s3c2410_eint0_3_unmask()
227 parent_chip->irq_unmask(irq_get_irq_data(parent_irq)); in s3c2410_eint0_3_unmask()

12