Home
last modified time | relevance | path

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

12345678

/drivers/ssb/
Ddriver_gpio.c31 return irq_find_mapping(bus->irq_domain, gpio); in ssb_gpio_to_irq()
150 bus->irq_domain = irq_domain_add_linear(NULL, chip->ngpio, in ssb_gpio_irq_chipco_domain_init()
152 if (!bus->irq_domain) { in ssb_gpio_irq_chipco_domain_init()
157 int irq = irq_create_mapping(bus->irq_domain, gpio); in ssb_gpio_irq_chipco_domain_init()
177 int irq = irq_find_mapping(bus->irq_domain, gpio); in ssb_gpio_irq_chipco_domain_init()
181 irq_domain_remove(bus->irq_domain); in ssb_gpio_irq_chipco_domain_init()
198 int irq = irq_find_mapping(bus->irq_domain, gpio); in ssb_gpio_irq_chipco_domain_exit()
202 irq_domain_remove(bus->irq_domain); in ssb_gpio_irq_chipco_domain_exit()
347 bus->irq_domain = irq_domain_add_linear(NULL, chip->ngpio, in ssb_gpio_irq_extif_domain_init()
349 if (!bus->irq_domain) { in ssb_gpio_irq_extif_domain_init()
[all …]
/drivers/gpio/
Dgpio-xgene-sb.c63 struct irq_domain *irq_domain; member
143 static void xgene_gpio_sb_domain_activate(struct irq_domain *d, in xgene_gpio_sb_domain_activate()
160 static void xgene_gpio_sb_domain_deactivate(struct irq_domain *d, in xgene_gpio_sb_domain_deactivate()
171 static int xgene_gpio_sb_domain_translate(struct irq_domain *d, in xgene_gpio_sb_domain_translate()
186 static int xgene_gpio_sb_domain_alloc(struct irq_domain *domain, in xgene_gpio_sb_domain_alloc()
233 struct irq_domain *parent_domain = NULL; in xgene_gpio_sb_probe()
293 priv->irq_domain = irq_domain_create_hierarchy(parent_domain, in xgene_gpio_sb_probe()
296 if (!priv->irq_domain) in xgene_gpio_sb_probe()
299 priv->gc.irqdomain = priv->irq_domain; in xgene_gpio_sb_probe()
305 irq_domain_remove(priv->irq_domain); in xgene_gpio_sb_probe()
[all …]
Dgpio-em.c42 struct irq_domain *irq_domain; member
186 generic_handle_irq(irq_find_mapping(p->irq_domain, offset)); in em_gio_irq_handler()
237 return irq_create_mapping(gpio_to_priv(chip)->irq_domain, offset); in em_gio_to_irq()
255 static int em_gio_irq_domain_map(struct irq_domain *h, unsigned int irq, in em_gio_irq_domain_map()
349 p->irq_domain = irq_domain_add_simple(pdev->dev.of_node, ngpios, 0, in em_gio_probe()
351 if (!p->irq_domain) { in em_gio_probe()
380 irq_domain_remove(p->irq_domain); in em_gio_probe()
391 irq_domain_remove(p->irq_domain); in em_gio_remove()
Dgpio-davinci.c361 irq_find_mapping(d->irq_domain, in gpio_irq_handler()
373 if (d->irq_domain) in gpio_to_irq_banked()
374 return irq_create_mapping(d->irq_domain, d->chip.base + offset); in gpio_to_irq_banked()
415 davinci_gpio_irq_map(struct irq_domain *d, unsigned int irq, in davinci_gpio_irq_map()
473 struct irq_domain *irq_domain = NULL; in davinci_gpio_irq_setup() local
516 irq_domain = irq_domain_add_legacy(dev->of_node, ngpio, irq, 0, in davinci_gpio_irq_setup()
519 if (!irq_domain) { in davinci_gpio_irq_setup()
533 chips[bank].irq_domain = irq_domain; in davinci_gpio_irq_setup()
/drivers/irqchip/
Dirq-atmel-aic5.c68 static struct irq_domain *aic5_domain;
88 struct irq_domain *domain = d->domain; in aic5_mask()
105 struct irq_domain *domain = d->domain; in aic5_unmask()
122 struct irq_domain *domain = d->domain; in aic5_retrigger()
136 struct irq_domain *domain = d->domain; in aic5_set_type()
155 struct irq_domain *domain = d->domain; in aic5_suspend()
179 struct irq_domain *domain = d->domain; in aic5_resume()
203 struct irq_domain *domain = d->domain; in aic5_pm_shutdown()
223 static void __init aic5_hw_init(struct irq_domain *domain) in aic5_hw_init()
254 static int aic5_irq_domain_xlate(struct irq_domain *d, in aic5_irq_domain_xlate()
[all …]
Dirq-renesas-irqc.c66 struct irq_domain *irq_domain; member
137 generic_handle_irq(irq_find_mapping(p->irq_domain, i->hw_irq)); in irqc_irq_handler()
207 p->irq_domain = irq_domain_add_linear(pdev->dev.of_node, in irqc_probe()
210 if (!p->irq_domain) { in irqc_probe()
216 ret = irq_alloc_domain_generic_chips(p->irq_domain, p->number_of_irqs, in irqc_probe()
224 p->gc = irq_get_domain_generic_chip(p->irq_domain, 0); in irqc_probe()
252 irq_domain_remove(p->irq_domain); in irqc_probe()
271 irq_domain_remove(p->irq_domain); in irqc_remove()
Dirq-ath79-misc.c28 struct irq_domain *domain = irq_desc_get_handler_data(desc); in ath79_misc_irq_handler()
99 static int misc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) in misc_map()
112 struct irq_domain *domain, int irq) in ath79_misc_intc_domain_init()
126 struct irq_domain *domain; in ath79_misc_intc_of_init()
176 struct irq_domain *domain; in ath79_misc_irq_init()
Dirq-mips-gic.c49 static struct irq_domain *gic_irq_domain;
50 static struct irq_domain *gic_dev_domain;
51 static struct irq_domain *gic_ipi_domain;
621 static int gic_local_irq_domain_map(struct irq_domain *d, unsigned int virq, in gic_local_irq_domain_map()
679 static int gic_shared_irq_domain_map(struct irq_domain *d, unsigned int virq, in gic_shared_irq_domain_map()
697 static int gic_setup_dev_chip(struct irq_domain *d, unsigned int virq, in gic_setup_dev_chip()
735 static int gic_irq_domain_alloc(struct irq_domain *d, unsigned int virq, in gic_irq_domain_alloc()
795 void gic_irq_domain_free(struct irq_domain *d, unsigned int virq, in gic_irq_domain_free()
809 int gic_irq_domain_match(struct irq_domain *d, struct device_node *node, in gic_irq_domain_match()
822 static int gic_dev_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, in gic_dev_domain_xlate()
[all …]
Dirq-gic-v2m.c125 static int gicv2m_irq_gic_domain_alloc(struct irq_domain *domain, in gicv2m_irq_gic_domain_alloc()
173 static int gicv2m_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, in gicv2m_irq_domain_alloc()
207 static void gicv2m_irq_domain_free(struct irq_domain *domain, in gicv2m_irq_domain_free()
267 static int gicv2m_allocate_domains(struct irq_domain *parent) in gicv2m_allocate_domains()
269 struct irq_domain *inner_domain, *pci_domain, *plat_domain; in gicv2m_allocate_domains()
392 struct irq_domain *parent) in gicv2m_of_init()
489 static int __init gicv2m_acpi_init(struct irq_domain *parent) in gicv2m_acpi_init()
515 static int __init gicv2m_acpi_init(struct irq_domain *parent) in gicv2m_acpi_init()
522 struct irq_domain *parent) in gicv2m_init()
Dirq-xtensa-mx.c25 static int xtensa_mx_irq_map(struct irq_domain *d, unsigned int irq, in xtensa_mx_irq_map()
44 static int xtensa_mx_irq_domain_xlate(struct irq_domain *d, in xtensa_mx_irq_domain_xlate()
144 struct irq_domain *root_domain = in xtensa_mx_init_legacy()
156 struct irq_domain *root_domain = in xtensa_mx_init()
Dirq-i8259.c302 static int i8259A_irq_domain_map(struct irq_domain *d, unsigned int virq, in i8259A_irq_domain_map()
320 struct irq_domain * __init __init_i8259_irqs(struct device_node *node) in __init_i8259_irqs()
322 struct irq_domain *domain; in __init_i8259_irqs()
345 struct irq_domain *domain = irq_desc_get_handler_data(desc); in i8259_irq_dispatch()
358 struct irq_domain *domain; in i8259_of_init()
Dirq-xtensa-pic.c29 static int xtensa_pic_irq_domain_xlate(struct irq_domain *d, in xtensa_pic_irq_domain_xlate()
91 struct irq_domain *root_domain = in xtensa_pic_init_legacy()
101 struct irq_domain *root_domain = in xtensa_pic_init()
/drivers/staging/fsl-mc/bus/
Dfsl-mc-msi.c160 struct irq_domain *fsl_mc_msi_create_irq_domain(struct fwnode_handle *fwnode, in fsl_mc_msi_create_irq_domain()
162 struct irq_domain *parent) in fsl_mc_msi_create_irq_domain()
164 struct irq_domain *domain; in fsl_mc_msi_create_irq_domain()
179 struct irq_domain **mc_msi_domain) in fsl_mc_find_msi_domain()
181 struct irq_domain *msi_domain; in fsl_mc_find_msi_domain()
237 struct irq_domain *msi_domain; in fsl_mc_msi_domain_alloc_irqs()
273 struct irq_domain *msi_domain; in fsl_mc_msi_domain_free_irqs()
Dirq-gic-v3-its-fsl-mc-msi.c30 static int its_fsl_mc_msi_prepare(struct irq_domain *msi_domain, in its_fsl_mc_msi_prepare()
73 struct irq_domain *parent; in its_fsl_mc_msi_init()
74 struct irq_domain *mc_msi_domain; in its_fsl_mc_msi_init()
113 struct irq_domain *mc_msi_domain = irq_find_matching_host( in its_fsl_mc_msi_cleanup()
/drivers/base/
Dplatform-msi.c65 static int platform_msi_init(struct irq_domain *domain, in platform_msi_init()
185 struct irq_domain *platform_msi_create_irq_domain(struct fwnode_handle *fwnode, in platform_msi_create_irq_domain()
187 struct irq_domain *parent) in platform_msi_create_irq_domain()
189 struct irq_domain *domain; in platform_msi_create_irq_domain()
314 void *platform_msi_get_host_data(struct irq_domain *domain) in platform_msi_get_host_data()
331 struct irq_domain *
339 struct irq_domain *domain; in platform_msi_create_device_domain()
374 void platform_msi_domain_free(struct irq_domain *domain, unsigned int virq, in platform_msi_domain_free()
401 int platform_msi_domain_alloc(struct irq_domain *domain, unsigned int virq, in platform_msi_domain_alloc()
/drivers/mfd/
Dtwl6030-irq.c126 struct irq_domain *irq_domain; member
203 irq_find_mapping(pdata->irq_domain, in twl6030_irq_thread()
316 return irq_find_mapping(twl6030_irq->irq_domain, in twl6030_mmc_card_detect_config()
346 static int twl6030_irq_map(struct irq_domain *d, unsigned int virq, in twl6030_irq_map()
360 static void twl6030_irq_unmap(struct irq_domain *d, unsigned int virq) in twl6030_irq_unmap()
429 twl6030_irq->irq_domain = in twl6030_init_irq()
432 if (!twl6030_irq->irq_domain) { in twl6030_init_irq()
452 irq_domain_remove(twl6030_irq->irq_domain); in twl6030_init_irq()
Dtps65217.c154 handle_nested_irq(irq_find_mapping(tps->irq_domain, i)); in tps65217_irq_thread()
165 static int tps65217_irq_map(struct irq_domain *h, unsigned int virq, in tps65217_irq_map()
196 tps->irq_domain = irq_domain_add_linear(tps->dev->of_node, in tps65217_irq_init()
198 if (!tps->irq_domain) { in tps65217_irq_init()
398 tps->irq_domain); in tps65217_probe()
434 virq = irq_find_mapping(tps->irq_domain, i); in tps65217_remove()
439 irq_domain_remove(tps->irq_domain); in tps65217_remove()
440 tps->irq_domain = NULL; in tps65217_remove()
Dmax8998-irq.c179 irq = irq_find_mapping(max8998->irq_domain, i); in max8998_irq_thread()
193 if (max8998->irq && max8998->irq_domain) in max8998_irq_resume()
198 static int max8998_irq_domain_map(struct irq_domain *d, unsigned int irq, in max8998_irq_domain_map()
219 struct irq_domain *domain; in max8998_irq_init()
245 max8998->irq_domain = domain; in max8998_irq_init()
/drivers/staging/fsl-mc/include/
Dmc-bus.h17 struct irq_domain;
86 struct irq_domain *fsl_mc_msi_create_irq_domain(struct fwnode_handle *fwnode,
88 struct irq_domain *parent);
91 struct irq_domain **mc_msi_domain);
/drivers/iommu/
Dirq_remapping.h29 struct irq_domain;
59 struct irq_domain *(*get_ir_irq_domain)(struct irq_alloc_info *);
62 struct irq_domain *(*get_irq_domain)(struct irq_alloc_info *);
/drivers/soc/dove/
Dpmu.c34 struct irq_domain *irq_domain; member
229 struct irq_domain *domain = pmu->irq_domain; in pmu_irq_handler()
269 struct irq_domain *domain; in dove_init_pmu_irq()
299 pmu->irq_domain = domain; in dove_init_pmu_irq()
343 if (pmu->irq_domain) in dove_init_pmu_legacy()
344 irq_domain_associate_many(pmu->irq_domain, in dove_init_pmu_legacy()
/drivers/pci/host/
Dpci-keystone-dw.c117 virq = irq_linear_revmap(pp->irq_domain, vector); in ks_dw_pcie_handle_msi_irq()
135 offset = d->irq - irq_linear_revmap(pp->irq_domain, 0); in ks_dw_pcie_msi_irq_ack()
173 offset = d->irq - irq_linear_revmap(pp->irq_domain, 0); in ks_dw_pcie_msi_irq_mask()
194 offset = d->irq - irq_linear_revmap(pp->irq_domain, 0); in ks_dw_pcie_msi_irq_unmask()
212 static int ks_dw_pcie_msi_map(struct irq_domain *domain, unsigned int irq, in ks_dw_pcie_msi_map()
232 pp->irq_domain = irq_domain_add_linear(ks_pcie->msi_intc_np, in ks_dw_pcie_msi_host_init()
236 if (!pp->irq_domain) { in ks_dw_pcie_msi_host_init()
242 irq_create_mapping(pp->irq_domain, i); in ks_dw_pcie_msi_host_init()
315 static int ks_dw_pcie_init_legacy_irq_map(struct irq_domain *d, in ks_dw_pcie_init_legacy_irq_map()
/drivers/pci/
Dmsi.c35 static struct irq_domain *pci_msi_default_domain;
38 struct irq_domain * __weak arch_get_pci_msi_domain(struct pci_dev *dev) in arch_get_pci_msi_domain()
43 static struct irq_domain *pci_msi_get_domain(struct pci_dev *dev) in pci_msi_get_domain()
45 struct irq_domain *domain; in pci_msi_get_domain()
56 struct irq_domain *domain; in pci_msi_setup_msi_irqs()
67 struct irq_domain *domain; in pci_msi_teardown_msi_irqs()
1371 int pci_msi_domain_check_cap(struct irq_domain *domain, in pci_msi_domain_check_cap()
1386 static int pci_msi_domain_handle_error(struct irq_domain *domain, in pci_msi_domain_handle_error()
1454 struct irq_domain *pci_msi_create_irq_domain(struct fwnode_handle *fwnode, in pci_msi_create_irq_domain()
1456 struct irq_domain *parent) in pci_msi_create_irq_domain()
[all …]
/drivers/pinctrl/samsung/
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()
481 bank->irq_domain = irq_domain_add_linear(bank->of_node, in s3c64xx_eint_gpio_init()
483 if (!bank->irq_domain) { in s3c64xx_eint_gpio_init()
505 data->domains[nr_domains++] = bank->irq_domain; in s3c64xx_eint_gpio_init()
661 static int s3c64xx_eint0_irq_map(struct irq_domain *h, unsigned int virq, in s3c64xx_eint0_irq_map()
756 bank->irq_domain = irq_domain_add_linear(bank->of_node, in s3c64xx_eint_eint0_init()
758 if (!bank->irq_domain) { in s3c64xx_eint_eint0_init()
768 data->domains[irq] = bank->irq_domain; in s3c64xx_eint_eint0_init()
Dpinctrl-s3c24xx.c95 struct irq_domain *domains[NUM_EINT];
205 struct s3c24xx_eint_domain_data *ddata = bank->irq_domain->host_data; in s3c2410_eint0_3_ack()
216 struct s3c24xx_eint_domain_data *ddata = bank->irq_domain->host_data; in s3c2410_eint0_3_mask()
227 struct s3c24xx_eint_domain_data *ddata = bank->irq_domain->host_data; in s3c2410_eint0_3_unmask()
419 static int s3c24xx_gpf_irq_map(struct irq_domain *h, unsigned int virq, in s3c24xx_gpf_irq_map()
448 static int s3c24xx_gpg_irq_map(struct irq_domain *h, unsigned int virq, in s3c24xx_gpg_irq_map()
539 bank->irq_domain = irq_domain_add_linear(bank->of_node, in s3c24xx_eint_init()
541 if (!bank->irq_domain) { in s3c24xx_eint_init()
553 eint_data->domains[irq] = bank->irq_domain; in s3c24xx_eint_init()

12345678