Home
last modified time | relevance | path

Searched refs:parent_fwspec (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/irqchip/
Dirq-vf610-mscm-ir.c130 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()
Dirq-uniphier-aidet.c111 struct irq_fwspec parent_fwspec; in uniphier_aidet_domain_alloc() local
147 parent_fwspec.fwnode = domain->parent->fwnode; in uniphier_aidet_domain_alloc()
148 parent_fwspec.param_count = 3; in uniphier_aidet_domain_alloc()
149 parent_fwspec.param[0] = 0; /* SPI */ in uniphier_aidet_domain_alloc()
150 parent_fwspec.param[1] = hwirq; in uniphier_aidet_domain_alloc()
151 parent_fwspec.param[2] = type; in uniphier_aidet_domain_alloc()
153 return irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in uniphier_aidet_domain_alloc()
Dirq-mchp-eic.c159 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()
Dirq-owl-sirq.c233 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()
Dqcom-pdc.c227 struct irq_fwspec parent_fwspec; in qcom_pdc_alloc() local
255 parent_fwspec.fwnode = domain->parent->fwnode; in qcom_pdc_alloc()
256 parent_fwspec.param_count = 3; in qcom_pdc_alloc()
257 parent_fwspec.param[0] = 0; in qcom_pdc_alloc()
258 parent_fwspec.param[1] = pin_to_hwirq(region, hwirq); in qcom_pdc_alloc()
259 parent_fwspec.param[2] = type; in qcom_pdc_alloc()
262 &parent_fwspec); in qcom_pdc_alloc()
Dirq-mst-intc.c207 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()
Dirq-qcom-mpm.c219 struct irq_fwspec parent_fwspec; in qcom_mpm_alloc() local
244 parent_fwspec.fwnode = domain->parent->fwnode; in qcom_mpm_alloc()
245 parent_fwspec.param_count = 3; in qcom_mpm_alloc()
246 parent_fwspec.param[0] = 0; in qcom_mpm_alloc()
247 parent_fwspec.param[1] = map->hwirq; in qcom_mpm_alloc()
248 parent_fwspec.param[2] = type; in qcom_mpm_alloc()
251 &parent_fwspec); in qcom_mpm_alloc()
Dirq-ti-sci-inta.c209 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()
Dirq-sni-exiu.c167 struct irq_fwspec parent_fwspec; in exiu_domain_alloc() local
171 parent_fwspec = *fwspec; in exiu_domain_alloc()
181 parent_fwspec.param[0] = hwirq + info->spi_base + 32; in exiu_domain_alloc()
186 parent_fwspec.fwnode = dom->parent->fwnode; in exiu_domain_alloc()
187 return irq_domain_alloc_irqs_parent(dom, virq, nr_irqs, &parent_fwspec); in exiu_domain_alloc()
Dirq-imx-gpcv2.c166 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()
Dirq-tegra.c241 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()
Dirq-loongson-pch-pic.c190 struct irq_fwspec parent_fwspec; in pch_pic_alloc() local
197 parent_fwspec.fwnode = domain->parent->fwnode; in pch_pic_alloc()
198 parent_fwspec.param_count = 1; in pch_pic_alloc()
199 parent_fwspec.param[0] = hwirq + priv->ht_vec_base; in pch_pic_alloc()
201 err = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in pch_pic_alloc()
Dirq-mtk-cirq.c177 struct irq_fwspec parent_fwspec = *fwspec; in mtk_cirq_domain_alloc() local
190 parent_fwspec.fwnode = domain->parent->fwnode; in mtk_cirq_domain_alloc()
192 &parent_fwspec); in mtk_cirq_domain_alloc()
/linux-6.6.21/drivers/gpio/
Dgpio-xgene-sb.c181 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()
196 parent_fwspec.param[1] = hwirq + priv->parent_irq_base - 32; 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()
[all …]
Dgpio-lpc18xx.c166 struct irq_fwspec parent_fwspec, *fwspec = data; in lpc18xx_gpio_pin_ic_domain_alloc() local
182 parent_fwspec.fwnode = domain->parent->fwnode; in lpc18xx_gpio_pin_ic_domain_alloc()
183 parent_fwspec.param_count = 1; in lpc18xx_gpio_pin_ic_domain_alloc()
184 parent_fwspec.param[0] = hwirq + 32; in lpc18xx_gpio_pin_ic_domain_alloc()
186 ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in lpc18xx_gpio_pin_ic_domain_alloc()
189 parent_fwspec.param[0], ret); in lpc18xx_gpio_pin_ic_domain_alloc()
Dgpio-uniphier.c262 struct irq_fwspec parent_fwspec; in uniphier_gpio_irq_domain_alloc() local
279 parent_fwspec.fwnode = domain->parent->fwnode; in uniphier_gpio_irq_domain_alloc()
280 parent_fwspec.param_count = 2; in uniphier_gpio_irq_domain_alloc()
281 parent_fwspec.param[0] = ret; in uniphier_gpio_irq_domain_alloc()
282 parent_fwspec.param[1] = (type == IRQ_TYPE_EDGE_BOTH) ? in uniphier_gpio_irq_domain_alloc()
290 return irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in uniphier_gpio_irq_domain_alloc()
/linux-6.6.21/arch/arm/mach-imx/
Dgpc.c198 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-6.6.21/arch/powerpc/platforms/pseries/
Dmsi.c538 struct irq_fwspec parent_fwspec; in pseries_irq_parent_domain_alloc() local
541 parent_fwspec.fwnode = domain->parent->fwnode; in pseries_irq_parent_domain_alloc()
542 parent_fwspec.param_count = 2; in pseries_irq_parent_domain_alloc()
543 parent_fwspec.param[0] = hwirq; in pseries_irq_parent_domain_alloc()
544 parent_fwspec.param[1] = IRQ_TYPE_EDGE_RISING; in pseries_irq_parent_domain_alloc()
546 ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in pseries_irq_parent_domain_alloc()
/linux-6.6.21/arch/arm/mach-exynos/
Dsuspend.c162 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-6.6.21/arch/arm/mach-omap2/
Domap-wakeupgen.c514 struct irq_fwspec parent_fwspec; in wakeupgen_domain_alloc() local
531 parent_fwspec = *fwspec; in wakeupgen_domain_alloc()
532 parent_fwspec.fwnode = domain->parent->fwnode; in wakeupgen_domain_alloc()
534 &parent_fwspec); in wakeupgen_domain_alloc()
/linux-6.6.21/drivers/pinctrl/stm32/
Dpinctrl-stm32.c467 struct irq_fwspec parent_fwspec; in stm32_gpio_domain_alloc() local
490 parent_fwspec.fwnode = d->parent->fwnode; in stm32_gpio_domain_alloc()
491 parent_fwspec.param_count = 2; in stm32_gpio_domain_alloc()
492 parent_fwspec.param[0] = fwspec->param[0]; in stm32_gpio_domain_alloc()
493 parent_fwspec.param[1] = fwspec->param[1]; in stm32_gpio_domain_alloc()
498 return irq_domain_alloc_irqs_parent(d, virq, nr_irqs, &parent_fwspec); in stm32_gpio_domain_alloc()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dpci-ioda.c1851 struct irq_fwspec parent_fwspec; in pnv_irq_parent_domain_alloc() local
1854 parent_fwspec.fwnode = domain->parent->fwnode; in pnv_irq_parent_domain_alloc()
1855 parent_fwspec.param_count = 2; in pnv_irq_parent_domain_alloc()
1856 parent_fwspec.param[0] = hwirq; in pnv_irq_parent_domain_alloc()
1857 parent_fwspec.param[1] = IRQ_TYPE_EDGE_RISING; in pnv_irq_parent_domain_alloc()
1859 ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in pnv_irq_parent_domain_alloc()