Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/irqchip/
A 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()
A Dirq-uniphier-aidet.c112 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 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()
A Dqcom-pdc.c203 struct irq_fwspec parent_fwspec; in qcom_pdc_alloc() local
231 parent_fwspec.fwnode = domain->parent->fwnode; in qcom_pdc_alloc()
232 parent_fwspec.param_count = 3; in qcom_pdc_alloc()
233 parent_fwspec.param[0] = 0; in qcom_pdc_alloc()
234 parent_fwspec.param[1] = pin_to_hwirq(region, hwirq); in qcom_pdc_alloc()
235 parent_fwspec.param[2] = type; in qcom_pdc_alloc()
238 &parent_fwspec); in qcom_pdc_alloc()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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; in pch_pic_alloc()
201 err = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in pch_pic_alloc()
A 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.3-rc2/drivers/gpio/
A 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()
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 Dgpio-lpc18xx.c167 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 Dgpio-uniphier.c263 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-6.3-rc2/arch/arm/mach-imx/
A 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.3-rc2/arch/powerpc/platforms/pseries/
A 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.3-rc2/arch/arm/mach-exynos/
A 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.3-rc2/arch/arm/mach-omap2/
A Domap-wakeupgen.c513 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-6.3-rc2/drivers/pinctrl/stm32/
A Dpinctrl-stm32.c468 struct irq_fwspec parent_fwspec; in stm32_gpio_domain_alloc() local
491 parent_fwspec.fwnode = d->parent->fwnode; in stm32_gpio_domain_alloc()
492 parent_fwspec.param_count = 2; in stm32_gpio_domain_alloc()
493 parent_fwspec.param[0] = fwspec->param[0]; in stm32_gpio_domain_alloc()
494 parent_fwspec.param[1] = fwspec->param[1]; in stm32_gpio_domain_alloc()
499 return irq_domain_alloc_irqs_parent(d, virq, nr_irqs, &parent_fwspec); in stm32_gpio_domain_alloc()
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dpci-ioda.c2190 struct irq_fwspec parent_fwspec; in pnv_irq_parent_domain_alloc() local
2193 parent_fwspec.fwnode = domain->parent->fwnode; in pnv_irq_parent_domain_alloc()
2194 parent_fwspec.param_count = 2; in pnv_irq_parent_domain_alloc()
2195 parent_fwspec.param[0] = hwirq; in pnv_irq_parent_domain_alloc()
2196 parent_fwspec.param[1] = IRQ_TYPE_EDGE_RISING; in pnv_irq_parent_domain_alloc()
2198 ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); in pnv_irq_parent_domain_alloc()

Completed in 61 milliseconds