Home
last modified time | relevance | path

Searched refs:irq_domain (Results 1 – 25 of 70) sorted by relevance

123

/drivers/gpio/
Dgpio-rcar.c38 struct irq_domain *irq_domain; member
156 generic_handle_irq(irq_find_mapping(p->irq_domain, offset)); in gpio_rcar_irq_handler()
241 return irq_create_mapping(gpio_to_priv(chip)->irq_domain, offset); in gpio_rcar_to_irq()
244 static int gpio_rcar_irq_domain_map(struct irq_domain *h, unsigned int virq, in gpio_rcar_irq_domain_map()
325 p->irq_domain = irq_domain_add_simple(pdev->dev.of_node, in gpio_rcar_probe()
329 if (!p->irq_domain) { in gpio_rcar_probe()
352 ret = irq_find_mapping(p->irq_domain, 0); in gpio_rcar_probe()
366 irq_domain_remove(p->irq_domain); in gpio_rcar_probe()
380 irq_domain_remove(p->irq_domain); in gpio_rcar_remove()
Dgpio-pcf857x.c70 struct irq_domain *irq_domain; /* for irq demux */ member
168 return irq_create_mapping(gpio->irq_domain, offset); in pcf857x_to_irq()
184 generic_handle_irq(irq_find_mapping(gpio->irq_domain, i)); in pcf857x_irq_demux_work()
203 static int pcf857x_irq_domain_map(struct irq_domain *domain, unsigned int virq, in pcf857x_irq_domain_map()
218 if (gpio->irq_domain) in pcf857x_irq_domain_cleanup()
219 irq_domain_remove(gpio->irq_domain); in pcf857x_irq_domain_cleanup()
231 gpio->irq_domain = irq_domain_add_linear(client->dev.of_node, in pcf857x_irq_domain_init()
235 if (!gpio->irq_domain) in pcf857x_irq_domain_init()
Dgpio-em.c42 struct irq_domain *irq_domain; member
165 generic_handle_irq(irq_find_mapping(p->irq_domain, offset)); in em_gio_irq_handler()
216 return irq_create_mapping(gpio_to_priv(chip)->irq_domain, offset); in em_gio_to_irq()
219 static int em_gio_irq_domain_map(struct irq_domain *h, unsigned int virq, in em_gio_irq_domain_map()
325 p->irq_domain = irq_domain_add_simple(pdev->dev.of_node, in em_gio_probe()
329 if (!p->irq_domain) { in em_gio_probe()
357 irq_domain_remove(p->irq_domain); in em_gio_probe()
371 irq_domain_remove(p->irq_domain); in em_gio_remove()
Dgpio-tegra.c78 static struct irq_domain *irq_domain; variable
164 return irq_find_mapping(irq_domain, offset); in tegra_gpio_to_irq()
447 irq_domain = irq_domain_add_linear(pdev->dev.of_node, in tegra_gpio_probe()
450 if (!irq_domain) in tegra_gpio_probe()
482 int irq = irq_create_mapping(irq_domain, gpio); in tegra_gpio_probe()
/drivers/irqchip/
Dirq-renesas-irqc.c57 struct irq_domain *irq_domain; member
131 static int irqc_irq_domain_map(struct irq_domain *h, unsigned int virq, in irqc_irq_domain_map()
220 p->irq_domain = irq_domain_add_simple(pdev->dev.of_node, in irqc_probe()
224 if (!p->irq_domain) { in irqc_probe()
254 irq_domain_remove(p->irq_domain); in irqc_probe()
271 irq_domain_remove(p->irq_domain); in irqc_remove()
Dirq-renesas-intc-irqpin.c76 struct irq_domain *irq_domain; member
307 static int intc_irqpin_irq_domain_map(struct irq_domain *h, unsigned int virq, in intc_irqpin_irq_domain_map()
453 p->irq_domain = irq_domain_add_simple(pdev->dev.of_node, in intc_irqpin_probe()
457 if (!p->irq_domain) { in intc_irqpin_probe()
503 irq_domain_remove(p->irq_domain); in intc_irqpin_probe()
512 irq_domain_remove(p->irq_domain); in intc_irqpin_remove()
Dexynos-combiner.c43 static struct irq_domain *combiner_irq_domain;
142 static int combiner_irq_domain_xlate(struct irq_domain *d, in combiner_irq_domain_xlate()
160 static int combiner_irq_domain_xlate(struct irq_domain *d, in combiner_irq_domain_xlate()
170 static int combiner_irq_domain_map(struct irq_domain *d, unsigned int irq, in combiner_irq_domain_map()
Dirq-mxs.c44 static struct irq_domain *icoll_domain;
85 static int icoll_irq_domain_map(struct irq_domain *d, unsigned int virq, in icoll_irq_domain_map()
Dirq-sun4i.c37 static struct irq_domain *sun4i_irq_domain;
84 static int sun4i_irq_map(struct irq_domain *d, unsigned int virq, in sun4i_irq_map()
Dirq-metag.c29 struct irq_domain *domain;
303 static int metag_internal_intc_map(struct irq_domain *d, unsigned int irq, in metag_internal_intc_map()
Dirq-versatile-fpga.c40 struct irq_domain *domain;
115 static int fpga_irqdomain_map(struct irq_domain *d, unsigned int irq, in fpga_irqdomain_map()
Dirq-armada-370-xp.c59 static struct irq_domain *armada_370_xp_mpic_domain;
139 static int armada_370_xp_mpic_irq_map(struct irq_domain *h, in armada_370_xp_mpic_irq_map()
Dirq-bcm2835.c92 struct irq_domain *domain;
113 static int armctrl_xlate(struct irq_domain *d, struct device_node *ctrlr, in armctrl_xlate()
Dirq-vt8500.c77 struct irq_domain *domain; /* Domain for this controller */
167 static int vt8500_irq_map(struct irq_domain *h, unsigned int virq, in vt8500_irq_map()
/drivers/pinctrl/
Dpinctrl-s3c64xx.c208 struct irq_domain *domains[NUM_EINT0];
229 struct irq_domain *domains[];
387 static int s3c64xx_gpio_irq_map(struct irq_domain *h, unsigned int virq, in s3c64xx_gpio_irq_map()
482 bank->irq_domain = irq_domain_add_linear(bank->of_node, in s3c64xx_eint_gpio_init()
484 if (!bank->irq_domain) { in s3c64xx_eint_gpio_init()
506 data->domains[nr_domains++] = bank->irq_domain; in s3c64xx_eint_gpio_init()
665 static int s3c64xx_eint0_irq_map(struct irq_domain *h, unsigned int virq, in s3c64xx_eint0_irq_map()
760 bank->irq_domain = irq_domain_add_linear(bank->of_node, in s3c64xx_eint_eint0_init()
762 if (!bank->irq_domain) { in s3c64xx_eint_eint0_init()
772 data->domains[irq] = bank->irq_domain; in s3c64xx_eint_eint0_init()
Dpinctrl-exynos.c157 static int exynos_gpio_irq_map(struct irq_domain *h, unsigned int virq, in exynos_gpio_irq_map()
192 virq = irq_linear_revmap(bank->irq_domain, pin); in exynos_eint_gpio_irq()
232 bank->irq_domain = irq_domain_add_linear(bank->of_node, in exynos_eint_gpio_init()
234 if (!bank->irq_domain) { in exynos_eint_gpio_init()
243 irq_domain_remove(bank->irq_domain); in exynos_eint_gpio_init()
255 irq_domain_remove(bank->irq_domain); in exynos_eint_gpio_init()
401 eint_irq = irq_linear_revmap(bank->irq_domain, eintd->irq); in exynos_irq_eint0_15()
408 struct irq_domain *domain) in exynos_irq_demux_eint()
436 exynos_irq_demux_eint(pend & ~mask, b->irq_domain); in exynos_irq_demux_eint16_31()
442 static int exynos_wkup_irq_map(struct irq_domain *h, unsigned int virq, in exynos_wkup_irq_map()
[all …]
Dpinctrl-exynos5440.c116 struct irq_domain *irq_domain; member
625 if (!priv->irq_domain) in exynos5440_gpio_to_irq()
628 virq = irq_create_mapping(priv->irq_domain, offset - 16); in exynos5440_gpio_to_irq()
916 virq = irq_linear_revmap(d->irq_domain, intd->gpio_int); in exynos5440_gpio_irq()
923 static int exynos5440_gpio_irq_map(struct irq_domain *h, unsigned int virq, in exynos5440_gpio_irq_map()
973 priv->irq_domain = irq_domain_add_linear(dev->of_node, in exynos5440_gpio_irq_init()
976 if (!priv->irq_domain) { in exynos5440_gpio_irq_init()
Dpinctrl-samsung.h145 struct irq_domain *irq_domain; member
Dpinctrl-bcm2835.c104 struct irq_domain *irq_domain; member
372 return irq_linear_revmap(pc->irq_domain, offset); in bcm2835_gpio_to_irq()
410 generic_handle_irq(irq_linear_revmap(pc->irq_domain, gpio)); in bcm2835_gpio_irq_handler()
636 int irq = irq_find_mapping(pc->irq_domain, offset); in bcm2835_pctl_pin_dbg_show()
973 pc->irq_domain = irq_domain_add_linear(np, BCM2835_NUM_GPIOS, in bcm2835_pinctrl_probe()
975 if (!pc->irq_domain) { in bcm2835_pinctrl_probe()
981 int irq = irq_create_mapping(pc->irq_domain, i); in bcm2835_pinctrl_probe()
/drivers/mfd/
Dwm831x-irq.c476 handle_nested_irq(irq_find_mapping(wm831x->irq_domain, in wm831x_irq_thread()
479 handle_nested_irq(irq_find_mapping(wm831x->irq_domain, in wm831x_irq_thread()
516 handle_nested_irq(irq_find_mapping(wm831x->irq_domain, in wm831x_irq_thread()
526 handle_nested_irq(irq_find_mapping(wm831x->irq_domain, in wm831x_irq_thread()
537 handle_nested_irq(irq_find_mapping(wm831x->irq_domain, in wm831x_irq_thread()
549 static int wm831x_irq_map(struct irq_domain *h, unsigned int virq, in wm831x_irq_map()
575 struct irq_domain *domain; in wm831x_irq_init()
627 wm831x->irq_domain = domain; in wm831x_irq_init()
Dtps6586x.c132 struct irq_domain *irq_domain; member
205 return irq_create_mapping(tps6586x->irq_domain, irq); in tps6586x_irq_get_virq()
272 static int tps6586x_irq_map(struct irq_domain *h, unsigned int virq, in tps6586x_irq_map()
318 irq_find_mapping(tps6586x->irq_domain, i)); in tps6586x_irq()
353 tps6586x->irq_domain = irq_domain_add_simple(tps6586x->dev->of_node, in tps6586x_irq_init()
356 if (!tps6586x->irq_domain) { in tps6586x_irq_init()
515 NULL, 0, tps6586x->irq_domain); in tps6586x_i2c_probe()
Dmax8997-irq.c274 cur_irq = irq_find_mapping(max8997->irq_domain, i); in max8997_irq_thread()
285 if (max8997->irq && max8997->irq_domain) in max8997_irq_resume()
290 static int max8997_irq_domain_map(struct irq_domain *d, unsigned int irq, in max8997_irq_domain_map()
312 struct irq_domain *domain; in max8997_irq_init()
354 max8997->irq_domain = domain; in max8997_irq_init()
Dmax77686-irq.c216 cur_irq = irq_find_mapping(max77686->irq_domain, i); in max77686_irq_thread()
225 static int max77686_irq_domain_map(struct irq_domain *d, unsigned int irq, in max77686_irq_domain_map()
247 struct irq_domain *domain; in max77686_irq_init()
298 max77686->irq_domain = domain; in max77686_irq_init()
Dmax77693-irq.c223 cur_irq = irq_find_mapping(max77693->irq_domain, i); in max77693_irq_thread()
240 static int max77693_irq_domain_map(struct irq_domain *d, unsigned int irq, in max77693_irq_domain_map()
262 struct irq_domain *domain; in max77693_irq_init()
300 max77693->irq_domain = domain; in max77693_irq_init()
Dlp8788-irq.c42 struct irq_domain *domain;
133 static int lp8788_irq_map(struct irq_domain *d, unsigned int virq, in lp8788_irq_map()

123