/linux/drivers/irqchip/ |
A D | qcom-pdc.c | 223 struct irq_fwspec parent_fwspec; in qcom_pdc_alloc() local 248 parent_fwspec.param_count = 3; in qcom_pdc_alloc() 249 parent_fwspec.param[0] = 0; in qcom_pdc_alloc() 250 parent_fwspec.param[1] = parent_hwirq; in qcom_pdc_alloc() 251 parent_fwspec.param[2] = type; in qcom_pdc_alloc() 254 &parent_fwspec); in qcom_pdc_alloc() 267 struct irq_fwspec parent_fwspec; in qcom_pdc_gpio_alloc() local 295 parent_fwspec.param_count = 3; in qcom_pdc_gpio_alloc() 296 parent_fwspec.param[0] = 0; in qcom_pdc_gpio_alloc() 298 parent_fwspec.param[2] = type; in qcom_pdc_gpio_alloc() [all …]
|
A D | irq-vf610-mscm-ir.c | 130 struct irq_fwspec parent_fwspec; in vf610_mscm_ir_domain_alloc() local 144 parent_fwspec.fwnode = domain->parent->fwnode; in vf610_mscm_ir_domain_alloc() 147 parent_fwspec.param_count = 1; in vf610_mscm_ir_domain_alloc() 148 parent_fwspec.param[0] = fwspec->param[0]; in vf610_mscm_ir_domain_alloc() 150 parent_fwspec.param_count = 3; in vf610_mscm_ir_domain_alloc() 151 parent_fwspec.param[0] = GIC_SPI; in vf610_mscm_ir_domain_alloc() 152 parent_fwspec.param[1] = fwspec->param[0]; in vf610_mscm_ir_domain_alloc() 153 parent_fwspec.param[2] = fwspec->param[1]; in vf610_mscm_ir_domain_alloc() 157 &parent_fwspec); in vf610_mscm_ir_domain_alloc()
|
A D | irq-uniphier-aidet.c | 112 struct irq_fwspec parent_fwspec; in uniphier_aidet_domain_alloc() local 148 parent_fwspec.fwnode = domain->parent->fwnode; in uniphier_aidet_domain_alloc() 149 parent_fwspec.param_count = 3; in uniphier_aidet_domain_alloc() 150 parent_fwspec.param[0] = 0; /* SPI */ in uniphier_aidet_domain_alloc() 151 parent_fwspec.param[1] = hwirq; in uniphier_aidet_domain_alloc() 152 parent_fwspec.param[2] = type; in uniphier_aidet_domain_alloc() 154 return irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in uniphier_aidet_domain_alloc()
|
A D | irq-mchp-eic.c | 159 struct irq_fwspec parent_fwspec; in mchp_eic_domain_alloc() local 187 parent_fwspec.fwnode = domain->parent->fwnode; in mchp_eic_domain_alloc() 188 parent_fwspec.param_count = 3; in mchp_eic_domain_alloc() 189 parent_fwspec.param[0] = GIC_SPI; in mchp_eic_domain_alloc() 190 parent_fwspec.param[1] = eic->irqs[hwirq]; in mchp_eic_domain_alloc() 191 parent_fwspec.param[2] = type; in mchp_eic_domain_alloc() 193 return irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in mchp_eic_domain_alloc()
|
A D | irq-owl-sirq.c | 233 struct irq_fwspec parent_fwspec; in owl_sirq_domain_alloc() local 262 parent_fwspec.fwnode = domain->parent->fwnode; in owl_sirq_domain_alloc() 263 parent_fwspec.param_count = 3; in owl_sirq_domain_alloc() 264 parent_fwspec.param[0] = GIC_SPI; in owl_sirq_domain_alloc() 265 parent_fwspec.param[1] = chip_data->ext_irqs[hwirq]; in owl_sirq_domain_alloc() 266 parent_fwspec.param[2] = type; in owl_sirq_domain_alloc() 268 return irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in owl_sirq_domain_alloc()
|
A D | irq-mst-intc.c | 207 struct irq_fwspec parent_fwspec, *fwspec = data; in mst_intc_domain_alloc() local 224 parent_fwspec = *fwspec; in mst_intc_domain_alloc() 225 parent_fwspec.fwnode = domain->parent->fwnode; in mst_intc_domain_alloc() 226 parent_fwspec.param[1] = cd->irq_start + hwirq; in mst_intc_domain_alloc() 234 parent_fwspec.param[2] = IRQ_TYPE_LEVEL_HIGH; in mst_intc_domain_alloc() 236 return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &parent_fwspec); in mst_intc_domain_alloc()
|
A D | irq-ti-sci-inta.c | 209 struct irq_fwspec parent_fwspec; in ti_sci_inta_alloc_parent_irq() local 236 parent_fwspec.fwnode = of_node_to_fwnode(parent_node); in ti_sci_inta_alloc_parent_irq() 240 parent_fwspec.param_count = 3; in ti_sci_inta_alloc_parent_irq() 241 parent_fwspec.param[0] = 0; in ti_sci_inta_alloc_parent_irq() 242 parent_fwspec.param[1] = p_hwirq - 32; in ti_sci_inta_alloc_parent_irq() 243 parent_fwspec.param[2] = IRQ_TYPE_LEVEL_HIGH; in ti_sci_inta_alloc_parent_irq() 246 parent_fwspec.param_count = 1; in ti_sci_inta_alloc_parent_irq() 247 parent_fwspec.param[0] = p_hwirq; in ti_sci_inta_alloc_parent_irq() 250 parent_virq = irq_create_fwspec_mapping(&parent_fwspec); in ti_sci_inta_alloc_parent_irq()
|
A D | irq-loongson-pch-pic.c | 149 struct irq_fwspec parent_fwspec; in pch_pic_alloc() local 156 parent_fwspec.fwnode = domain->parent->fwnode; in pch_pic_alloc() 157 parent_fwspec.param_count = 1; in pch_pic_alloc() 158 parent_fwspec.param[0] = hwirq + priv->ht_vec_base; in pch_pic_alloc() 160 err = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in pch_pic_alloc()
|
A D | irq-sni-exiu.c | 148 struct irq_fwspec parent_fwspec; in exiu_domain_alloc() local 152 parent_fwspec = *fwspec; in exiu_domain_alloc() 162 parent_fwspec.param[0] = hwirq + info->spi_base + 32; in exiu_domain_alloc() 167 parent_fwspec.fwnode = dom->parent->fwnode; in exiu_domain_alloc() 168 return irq_domain_alloc_irqs_parent(dom, virq, nr_irqs, &parent_fwspec); in exiu_domain_alloc()
|
A D | irq-imx-gpcv2.c | 166 struct irq_fwspec parent_fwspec; in imx_gpcv2_domain_alloc() local 184 parent_fwspec = *fwspec; in imx_gpcv2_domain_alloc() 185 parent_fwspec.fwnode = domain->parent->fwnode; in imx_gpcv2_domain_alloc() 187 &parent_fwspec); in imx_gpcv2_domain_alloc()
|
A D | irq-tegra.c | 241 struct irq_fwspec parent_fwspec; in tegra_ictlr_domain_alloc() local 263 parent_fwspec = *fwspec; in tegra_ictlr_domain_alloc() 264 parent_fwspec.fwnode = domain->parent->fwnode; in tegra_ictlr_domain_alloc() 266 &parent_fwspec); in tegra_ictlr_domain_alloc()
|
A D | irq-mtk-cirq.c | 136 struct irq_fwspec parent_fwspec = *fwspec; in mtk_cirq_domain_alloc() local 149 parent_fwspec.fwnode = domain->parent->fwnode; in mtk_cirq_domain_alloc() 151 &parent_fwspec); in mtk_cirq_domain_alloc()
|
/linux/drivers/gpio/ |
A D | gpio-xgene-sb.c | 181 struct irq_fwspec parent_fwspec; in xgene_gpio_sb_domain_alloc() local 191 parent_fwspec.fwnode = domain->parent->fwnode; in xgene_gpio_sb_domain_alloc() 192 if (is_of_node(parent_fwspec.fwnode)) { in xgene_gpio_sb_domain_alloc() 193 parent_fwspec.param_count = 3; in xgene_gpio_sb_domain_alloc() 194 parent_fwspec.param[0] = 0;/* SPI */ in xgene_gpio_sb_domain_alloc() 197 parent_fwspec.param[2] = fwspec->param[1]; in xgene_gpio_sb_domain_alloc() 198 } else if (is_fwnode_irqchip(parent_fwspec.fwnode)) { in xgene_gpio_sb_domain_alloc() 199 parent_fwspec.param_count = 2; in xgene_gpio_sb_domain_alloc() 200 parent_fwspec.param[0] = hwirq + priv->parent_irq_base; in xgene_gpio_sb_domain_alloc() 201 parent_fwspec.param[1] = fwspec->param[1]; in xgene_gpio_sb_domain_alloc() [all …]
|
A D | gpio-lpc18xx.c | 167 struct irq_fwspec parent_fwspec, *fwspec = data; in lpc18xx_gpio_pin_ic_domain_alloc() local 183 parent_fwspec.fwnode = domain->parent->fwnode; in lpc18xx_gpio_pin_ic_domain_alloc() 184 parent_fwspec.param_count = 1; in lpc18xx_gpio_pin_ic_domain_alloc() 185 parent_fwspec.param[0] = hwirq + 32; in lpc18xx_gpio_pin_ic_domain_alloc() 187 ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in lpc18xx_gpio_pin_ic_domain_alloc() 190 parent_fwspec.param[0], ret); in lpc18xx_gpio_pin_ic_domain_alloc()
|
A D | gpio-uniphier.c | 263 struct irq_fwspec parent_fwspec; in uniphier_gpio_irq_domain_alloc() local 280 parent_fwspec.fwnode = domain->parent->fwnode; in uniphier_gpio_irq_domain_alloc() 281 parent_fwspec.param_count = 2; in uniphier_gpio_irq_domain_alloc() 282 parent_fwspec.param[0] = ret; in uniphier_gpio_irq_domain_alloc() 283 parent_fwspec.param[1] = (type == IRQ_TYPE_EDGE_BOTH) ? in uniphier_gpio_irq_domain_alloc() 291 return irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in uniphier_gpio_irq_domain_alloc()
|
/linux/arch/arm/mach-imx/ |
A D | gpc.c | 198 struct irq_fwspec parent_fwspec; in imx_gpc_domain_alloc() local 215 parent_fwspec = *fwspec; in imx_gpc_domain_alloc() 216 parent_fwspec.fwnode = domain->parent->fwnode; in imx_gpc_domain_alloc() 218 &parent_fwspec); in imx_gpc_domain_alloc()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | msi.c | 558 struct irq_fwspec parent_fwspec; in pseries_irq_parent_domain_alloc() local 561 parent_fwspec.fwnode = domain->parent->fwnode; in pseries_irq_parent_domain_alloc() 562 parent_fwspec.param_count = 2; in pseries_irq_parent_domain_alloc() 563 parent_fwspec.param[0] = hwirq; in pseries_irq_parent_domain_alloc() 564 parent_fwspec.param[1] = IRQ_TYPE_EDGE_RISING; in pseries_irq_parent_domain_alloc() 566 ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in pseries_irq_parent_domain_alloc()
|
/linux/arch/arm/mach-exynos/ |
A D | suspend.c | 162 struct irq_fwspec parent_fwspec; in exynos_pmu_domain_alloc() local 177 parent_fwspec = *fwspec; in exynos_pmu_domain_alloc() 178 parent_fwspec.fwnode = domain->parent->fwnode; in exynos_pmu_domain_alloc() 180 &parent_fwspec); in exynos_pmu_domain_alloc()
|
/linux/arch/arm/mach-omap2/ |
A D | omap-wakeupgen.c | 513 struct irq_fwspec parent_fwspec; in wakeupgen_domain_alloc() local 530 parent_fwspec = *fwspec; in wakeupgen_domain_alloc() 531 parent_fwspec.fwnode = domain->parent->fwnode; in wakeupgen_domain_alloc() 533 &parent_fwspec); in wakeupgen_domain_alloc()
|
/linux/drivers/pinctrl/stm32/ |
A D | pinctrl-stm32.c | 442 struct irq_fwspec parent_fwspec; in stm32_gpio_domain_alloc() local 465 parent_fwspec.fwnode = d->parent->fwnode; in stm32_gpio_domain_alloc() 466 parent_fwspec.param_count = 2; in stm32_gpio_domain_alloc() 467 parent_fwspec.param[0] = fwspec->param[0]; in stm32_gpio_domain_alloc() 468 parent_fwspec.param[1] = fwspec->param[1]; in stm32_gpio_domain_alloc() 473 return irq_domain_alloc_irqs_parent(d, virq, nr_irqs, &parent_fwspec); in stm32_gpio_domain_alloc()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | pci-ioda.c | 2197 struct irq_fwspec parent_fwspec; in pnv_irq_parent_domain_alloc() local 2200 parent_fwspec.fwnode = domain->parent->fwnode; in pnv_irq_parent_domain_alloc() 2201 parent_fwspec.param_count = 2; in pnv_irq_parent_domain_alloc() 2202 parent_fwspec.param[0] = hwirq; in pnv_irq_parent_domain_alloc() 2203 parent_fwspec.param[1] = IRQ_TYPE_EDGE_RISING; in pnv_irq_parent_domain_alloc() 2205 ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in pnv_irq_parent_domain_alloc()
|