Searched refs:fwspec (Results 1 – 10 of 10) sorted by relevance
/arch/arm/mach-imx/ |
D | gpc.c | 173 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/ |
D | suspend.c | 137 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/ |
D | omap-wakeupgen.c | 488 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/include/asm/ |
D | irqdomain.h | 15 extern int x86_fwspec_is_ioapic(struct irq_fwspec *fwspec); 16 extern int x86_fwspec_is_hpet(struct irq_fwspec *fwspec);
|
/arch/powerpc/sysdev/xics/ |
D | xics-common.c | 415 static int xics_host_domain_translate(struct irq_domain *d, struct irq_fwspec *fwspec, in xics_host_domain_translate() argument 418 return xics_host_xlate(d, to_of_node(fwspec->fwnode), fwspec->param, in xics_host_domain_translate() 419 fwspec->param_count, hwirq, type); in xics_host_domain_translate() 425 struct irq_fwspec *fwspec = arg; in xics_host_domain_alloc() local 430 rc = xics_host_domain_translate(domain, fwspec, &hwirq, &type); in xics_host_domain_alloc()
|
/arch/x86/kernel/ |
D | devicetree.c | 218 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()
|
D | hpet.c | 548 struct irq_fwspec fwspec; in hpet_create_irq_domain() local 567 fwspec.fwnode = fn; in hpet_create_irq_domain() 568 fwspec.param_count = 1; in hpet_create_irq_domain() 569 fwspec.param[0] = hpet_id; in hpet_create_irq_domain() 571 parent = irq_find_matching_fwspec(&fwspec, DOMAIN_BUS_ANY); in hpet_create_irq_domain()
|
/arch/x86/kernel/apic/ |
D | vector.c | 651 int x86_fwspec_is_ioapic(struct irq_fwspec *fwspec) in x86_fwspec_is_ioapic() argument 653 if (fwspec->param_count != 1) in x86_fwspec_is_ioapic() 656 if (is_fwnode_irqchip(fwspec->fwnode)) { in x86_fwspec_is_ioapic() 657 const char *fwname = fwnode_get_name(fwspec->fwnode); in x86_fwspec_is_ioapic() 659 simple_strtol(fwname+8, NULL, 10) == fwspec->param[0]; in x86_fwspec_is_ioapic() 661 return to_of_node(fwspec->fwnode) && in x86_fwspec_is_ioapic() 662 of_device_is_compatible(to_of_node(fwspec->fwnode), in x86_fwspec_is_ioapic() 666 int x86_fwspec_is_hpet(struct irq_fwspec *fwspec) in x86_fwspec_is_hpet() argument 668 if (fwspec->param_count != 1) in x86_fwspec_is_hpet() 671 if (is_fwnode_irqchip(fwspec->fwnode)) { in x86_fwspec_is_hpet() [all …]
|
D | io_apic.c | 2341 struct irq_fwspec fwspec; in mp_irqdomain_create() local 2355 fwspec.fwnode = fn; in mp_irqdomain_create() 2356 fwspec.param_count = 1; in mp_irqdomain_create() 2357 fwspec.param[0] = mpc_ioapic_id(ioapic); in mp_irqdomain_create() 2359 parent = irq_find_matching_fwspec(&fwspec, DOMAIN_BUS_ANY); in mp_irqdomain_create()
|
/arch/powerpc/sysdev/xive/ |
D | common.c | 1372 struct irq_fwspec *fwspec, in xive_irq_domain_translate() argument 1376 return xive_irq_domain_xlate(d, to_of_node(fwspec->fwnode), in xive_irq_domain_translate() 1377 fwspec->param, fwspec->param_count, in xive_irq_domain_translate() 1384 struct irq_fwspec *fwspec = arg; in xive_irq_domain_alloc() local 1389 rc = xive_irq_domain_translate(domain, fwspec, &hwirq, &type); in xive_irq_domain_alloc()
|