Home
last modified time | relevance | path

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

/Linux-v5.10/arch/mips/include/asm/
Dsmp.h71 extern const struct plat_smp_ops *mp_ops; /* private */ in smp_send_reschedule()
73 mp_ops->send_ipi_single(cpu, SMP_RESCHEDULE_YOURSELF); in smp_send_reschedule()
79 extern const struct plat_smp_ops *mp_ops; /* private */ in __cpu_disable()
81 return mp_ops->cpu_disable(); in __cpu_disable()
86 extern const struct plat_smp_ops *mp_ops; /* private */ in __cpu_die()
88 mp_ops->cpu_die(cpu); in __cpu_die()
97 extern const struct plat_smp_ops *mp_ops; /* private */ in kexec_nonboot_cpu()
99 return mp_ops->kexec_nonboot_cpu(); in kexec_nonboot_cpu()
104 extern const struct plat_smp_ops *mp_ops; /* private */ in kexec_nonboot_cpu_func()
106 return mp_ops->kexec_nonboot_cpu; in kexec_nonboot_cpu_func()
[all …]
Dsmp-ops.h46 extern const struct plat_smp_ops *mp_ops; /* private */ in plat_smp_setup()
48 mp_ops->smp_setup(); in plat_smp_setup()
/Linux-v5.10/arch/sh/include/asm/
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()
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()
/Linux-v5.10/arch/sh/kernel/
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()
230 mp_ops->start_cpu(cpu, (unsigned long)_stext); in __cpu_up()
263 mp_ops->send_ipi(cpu, SMP_MSG_RESCHEDULE); in smp_send_reschedule()
276 mp_ops->send_ipi(cpu, SMP_MSG_FUNCTION); in arch_send_call_function_ipi_mask()
281 mp_ops->send_ipi(cpu, SMP_MSG_FUNCTION_SINGLE); in arch_send_call_function_single_ipi()
290 mp_ops->send_ipi(cpu, SMP_MSG_TIMER); in tick_broadcast()
/Linux-v5.10/arch/mips/kernel/
Dsmp.c137 const struct plat_smp_ops *mp_ops; variable
138 EXPORT_SYMBOL(mp_ops);
142 if (mp_ops) in register_smp_ops()
145 mp_ops = ops; in register_smp_ops()
341 mp_ops->init_secondary(); in start_secondary()
382 mp_ops->smp_finish(); in start_secondary()
413 mp_ops->prepare_cpus(max_cpus); in smp_prepare_cpus()
426 if (mp_ops->prepare_boot_cpu) in smp_prepare_boot_cpu()
427 mp_ops->prepare_boot_cpu(); in smp_prepare_boot_cpu()
436 err = mp_ops->boot_secondary(cpu, tidle); in __cpu_up()
Dsmp-cps.c626 extern const struct plat_smp_ops *mp_ops; in mips_cps_smp_in_use()
627 return mp_ops == &cps_smp_ops; in mips_cps_smp_in_use()