Home
last modified time | relevance | path

Searched refs:fwspec (Results 1 – 4 of 4) sorted by relevance

/arch/arm/mach-imx/
Dgpc.c173 struct irq_fwspec *fwspec, in imx_gpc_domain_translate() argument
177 if (is_of_node(fwspec->fwnode)) { in imx_gpc_domain_translate()
178 if (fwspec->param_count != 3) in imx_gpc_domain_translate()
182 if (fwspec->param[0] != 0) in imx_gpc_domain_translate()
185 *hwirq = fwspec->param[1]; in imx_gpc_domain_translate()
186 *type = fwspec->param[2]; in imx_gpc_domain_translate()
197 struct irq_fwspec *fwspec = data; in imx_gpc_domain_alloc() local
202 if (fwspec->param_count != 3) in imx_gpc_domain_alloc()
204 if (fwspec->param[0] != 0) in imx_gpc_domain_alloc()
207 hwirq = fwspec->param[1]; in imx_gpc_domain_alloc()
[all …]
/arch/arm/mach-exynos/
Dsuspend.c137 struct irq_fwspec *fwspec, in exynos_pmu_domain_translate() argument
141 if (is_of_node(fwspec->fwnode)) { in exynos_pmu_domain_translate()
142 if (fwspec->param_count != 3) in exynos_pmu_domain_translate()
146 if (fwspec->param[0] != 0) in exynos_pmu_domain_translate()
149 *hwirq = fwspec->param[1]; in exynos_pmu_domain_translate()
150 *type = fwspec->param[2]; in exynos_pmu_domain_translate()
161 struct irq_fwspec *fwspec = data; in exynos_pmu_domain_alloc() local
166 if (fwspec->param_count != 3) in exynos_pmu_domain_alloc()
168 if (fwspec->param[0] != 0) in exynos_pmu_domain_alloc()
171 hwirq = fwspec->param[1]; in exynos_pmu_domain_alloc()
[all …]
/arch/arm/mach-omap2/
Domap-wakeupgen.c488 struct irq_fwspec *fwspec, in wakeupgen_domain_translate() argument
492 if (is_of_node(fwspec->fwnode)) { in wakeupgen_domain_translate()
493 if (fwspec->param_count != 3) in wakeupgen_domain_translate()
497 if (fwspec->param[0] != 0) in wakeupgen_domain_translate()
500 *hwirq = fwspec->param[1]; in wakeupgen_domain_translate()
501 *type = fwspec->param[2]; in wakeupgen_domain_translate()
512 struct irq_fwspec *fwspec = data; in wakeupgen_domain_alloc() local
517 if (fwspec->param_count != 3) in wakeupgen_domain_alloc()
519 if (fwspec->param[0] != 0) in wakeupgen_domain_alloc()
522 hwirq = fwspec->param[1]; in wakeupgen_domain_alloc()
[all …]
/arch/x86/kernel/
Ddevicetree.c218 struct irq_fwspec *fwspec = (struct irq_fwspec *)arg; in dt_irqdomain_alloc() local
223 if (WARN_ON(fwspec->param_count < 2)) in dt_irqdomain_alloc()
226 type_index = fwspec->param[1]; in dt_irqdomain_alloc()
233 tmp.ioapic.pin = fwspec->param[0]; in dt_irqdomain_alloc()