Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/irqchip/
Dqcom-pdc.c268 struct irq_fwspec parent_fwspec; in qcom_pdc_alloc() local
292 parent_fwspec.fwnode = domain->parent->fwnode; in qcom_pdc_alloc()
293 parent_fwspec.param_count = 3; in qcom_pdc_alloc()
294 parent_fwspec.param[0] = 0; in qcom_pdc_alloc()
295 parent_fwspec.param[1] = parent_hwirq; in qcom_pdc_alloc()
296 parent_fwspec.param[2] = type; in qcom_pdc_alloc()
299 &parent_fwspec); in qcom_pdc_alloc()
312 struct irq_fwspec parent_fwspec; in qcom_pdc_gpio_alloc() local
339 parent_fwspec.fwnode = domain->parent->fwnode; in qcom_pdc_gpio_alloc()
340 parent_fwspec.param_count = 3; in qcom_pdc_gpio_alloc()
[all …]
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.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()
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()
Dirq-mst-intc.c128 struct irq_fwspec parent_fwspec, *fwspec = data; in mst_intc_domain_alloc() local
145 parent_fwspec = *fwspec; in mst_intc_domain_alloc()
146 parent_fwspec.fwnode = domain->parent->fwnode; in mst_intc_domain_alloc()
147 parent_fwspec.param[1] = cd->irq_start + hwirq; in mst_intc_domain_alloc()
148 return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &parent_fwspec); in mst_intc_domain_alloc()
Dirq-loongson-pch-pic.c149 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()
Dirq-ti-sci-inta.c212 struct irq_fwspec parent_fwspec; in ti_sci_inta_alloc_parent_irq() local
239 parent_fwspec.fwnode = of_node_to_fwnode(parent_node); in ti_sci_inta_alloc_parent_irq()
243 parent_fwspec.param_count = 3; in ti_sci_inta_alloc_parent_irq()
244 parent_fwspec.param[0] = 0; in ti_sci_inta_alloc_parent_irq()
245 parent_fwspec.param[1] = p_hwirq - 32; in ti_sci_inta_alloc_parent_irq()
246 parent_fwspec.param[2] = IRQ_TYPE_LEVEL_HIGH; in ti_sci_inta_alloc_parent_irq()
249 parent_fwspec.param_count = 1; in ti_sci_inta_alloc_parent_irq()
250 parent_fwspec.param[0] = p_hwirq; in ti_sci_inta_alloc_parent_irq()
253 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-mtk-cirq.c136 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()
/kernel/linux/linux-5.10/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.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()
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
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()
/kernel/linux/linux-5.10/drivers/pinctrl/stm32/
Dpinctrl-stm32.c493 struct irq_fwspec parent_fwspec; in stm32_gpio_domain_alloc() local
497 parent_fwspec.fwnode = d->parent->fwnode; in stm32_gpio_domain_alloc()
498 parent_fwspec.param_count = 2; in stm32_gpio_domain_alloc()
499 parent_fwspec.param[0] = fwspec->param[0]; in stm32_gpio_domain_alloc()
500 parent_fwspec.param[1] = fwspec->param[1]; in stm32_gpio_domain_alloc()
505 return irq_domain_alloc_irqs_parent(d, virq, nr_irqs, &parent_fwspec); in stm32_gpio_domain_alloc()