Home
last modified time | relevance | path

Searched refs:mp_ops (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/arch/mips/include/asm/
H A Dsmp.h73 extern const struct plat_smp_ops *mp_ops; /* private */ in arch_smp_send_reschedule()
75 mp_ops->send_ipi_single(cpu, SMP_RESCHEDULE_YOURSELF); in arch_smp_send_reschedule()
81 extern const struct plat_smp_ops *mp_ops; /* private */ in __cpu_disable()
83 return mp_ops->cpu_disable(); in __cpu_disable()
88 extern const struct plat_smp_ops *mp_ops; /* private */ in __cpu_die()
90 mp_ops->cpu_die(cpu); in __cpu_die()
99 extern const struct plat_smp_ops *mp_ops; /* private */ in kexec_nonboot_cpu()
101 return mp_ops->kexec_nonboot_cpu(); in kexec_nonboot_cpu()
108 return mp_ops->kexec_nonboot_cpu; in kexec_nonboot_cpu_func()
130 mp_ops->send_ipi_single(cpu, SMP_CALL_FUNCTION); in arch_send_call_function_single_ipi()
[all …]
H A Dsmp-ops.h47 extern const struct plat_smp_ops *mp_ops; /* private */ in plat_smp_setup()
49 mp_ops->smp_setup(); in plat_smp_setup()
/openbmc/linux/arch/sh/include/asm/
H A Dsmp.h51 extern struct plat_smp_ops *mp_ops; /* private */ in __cpu_die()
53 mp_ops->cpu_die(cpu); in __cpu_die()
59 extern struct plat_smp_ops *mp_ops; /* private */ in hard_smp_processor_id()
61 if (!mp_ops) in hard_smp_processor_id()
64 return mp_ops->smp_processor_id(); in hard_smp_processor_id()
H A Dsmp-ops.h16 extern struct plat_smp_ops *mp_ops;
23 BUG_ON(!mp_ops); in plat_smp_setup()
24 mp_ops->smp_setup(); in plat_smp_setup()
29 mp_ops->play_dead(); in play_dead()
/openbmc/linux/arch/sh/kernel/
H A Dsmp.c34 struct plat_smp_ops *mp_ops = NULL; variable
41 if (mp_ops) in register_smp_ops()
44 mp_ops = ops; in register_smp_ops()
62 mp_ops->prepare_cpus(max_cpus); in smp_prepare_cpus()
127 ret = mp_ops->cpu_disable(cpu); in __cpu_disable()
228 mp_ops->start_cpu(cpu, (unsigned long)_stext); in __cpu_up()
261 mp_ops->send_ipi(cpu, SMP_MSG_RESCHEDULE); in arch_smp_send_reschedule()
274 mp_ops->send_ipi(cpu, SMP_MSG_FUNCTION); in arch_send_call_function_ipi_mask()
279 mp_ops->send_ipi(cpu, SMP_MSG_FUNCTION_SINGLE); in arch_send_call_function_single_ipi()
288 mp_ops->send_ipi(cpu, SMP_MSG_TIMER); in tick_broadcast()
/openbmc/linux/arch/mips/kernel/
H A Dsmp.c155 const struct plat_smp_ops *mp_ops; variable
156 EXPORT_SYMBOL(mp_ops);
160 if (mp_ops) in register_smp_ops()
163 mp_ops = ops; in register_smp_ops()
360 mp_ops->init_secondary(); in start_secondary()
399 mp_ops->smp_finish(); in start_secondary()
430 mp_ops->prepare_cpus(max_cpus); in smp_prepare_cpus()
443 if (mp_ops->prepare_boot_cpu) in smp_prepare_boot_cpu()
444 mp_ops->prepare_boot_cpu(); in smp_prepare_boot_cpu()
714 if (mp_ops->cleanup_dead_cpu) in arch_cpuhp_cleanup_dead_cpu()
[all …]
H A Dsmp-cps.c620 extern const struct plat_smp_ops *mp_ops; in mips_cps_smp_in_use()
621 return mp_ops == &cps_smp_ops; in mips_cps_smp_in_use()