Home
last modified time | relevance | path

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

/Linux-v4.19/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()
110 extern const struct plat_smp_ops *mp_ops; /* private */ in arch_send_call_function_single_ipi()
112 mp_ops->send_ipi_mask(cpumask_of(cpu), SMP_CALL_FUNCTION); in arch_send_call_function_single_ipi()
117 extern const struct plat_smp_ops *mp_ops; /* private */ in arch_send_call_function_ipi_mask()
119 mp_ops->send_ipi_mask(mask, SMP_CALL_FUNCTION); in arch_send_call_function_ipi_mask()
Dsmp-ops.h42 extern const struct plat_smp_ops *mp_ops; /* private */ in plat_smp_setup()
44 mp_ops->smp_setup(); in plat_smp_setup()
/Linux-v4.19/arch/sh/include/asm/
Dsmp.h52 extern struct plat_smp_ops *mp_ops; /* private */ in __cpu_die()
54 mp_ops->cpu_die(cpu); in __cpu_die()
60 extern struct plat_smp_ops *mp_ops; /* private */ in hard_smp_processor_id()
62 if (!mp_ops) in hard_smp_processor_id()
65 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-v4.19/arch/sh/kernel/
Dsmp.c37 struct plat_smp_ops *mp_ops = NULL; variable
44 if (mp_ops) in register_smp_ops()
47 mp_ops = ops; in register_smp_ops()
65 mp_ops->prepare_cpus(max_cpus); in smp_prepare_cpus()
130 ret = mp_ops->cpu_disable(cpu); in __cpu_disable()
233 mp_ops->start_cpu(cpu, (unsigned long)_stext); in __cpu_up()
266 mp_ops->send_ipi(cpu, SMP_MSG_RESCHEDULE); in smp_send_reschedule()
279 mp_ops->send_ipi(cpu, SMP_MSG_FUNCTION); in arch_send_call_function_ipi_mask()
284 mp_ops->send_ipi(cpu, SMP_MSG_FUNCTION_SINGLE); in arch_send_call_function_single_ipi()
293 mp_ops->send_ipi(cpu, SMP_MSG_TIMER); in tick_broadcast()
/Linux-v4.19/arch/mips/kernel/
Dsmp.c148 const struct plat_smp_ops *mp_ops; variable
149 EXPORT_SYMBOL(mp_ops);
153 if (mp_ops) in register_smp_ops()
156 mp_ops = ops; in register_smp_ops()
361 mp_ops->init_secondary(); in start_secondary()
402 mp_ops->smp_finish(); in start_secondary()
433 mp_ops->prepare_cpus(max_cpus); in smp_prepare_cpus()
454 err = mp_ops->boot_secondary(cpu, tidle); in __cpu_up()
Dsmp-cps.c600 extern const struct plat_smp_ops *mp_ops; in mips_cps_smp_in_use()
601 return mp_ops == &cps_smp_ops; in mips_cps_smp_in_use()