| /linux/arch/arm/kernel/ |
| H A D | smp.c | 90 static struct smp_operations smp_ops __ro_after_init; 95 smp_ops = *ops; in smp_set_ops() 135 if (!smp_ops.smp_boot_secondary) in __cpu_up() 161 ret = smp_ops.smp_boot_secondary(cpu, idle); in __cpu_up() 186 if (smp_ops.smp_init_cpus) in smp_init_cpus() 187 smp_ops.smp_init_cpus(); in smp_init_cpus() 192 return !!smp_ops.smp_boot_secondary; in platform_can_secondary_boot() 198 if (smp_ops.cpu_kill) in platform_can_cpu_hotplug() 208 if (smp_ops.cpu_kill) in platform_cpu_kill() 209 return smp_ops.cpu_kill(cpu); in platform_cpu_kill() [all …]
|
| /linux/arch/x86/xen/ |
| H A D | smp_hvm.c | 73 smp_ops.smp_prepare_boot_cpu = xen_hvm_smp_prepare_boot_cpu; in xen_hvm_smp_init() 74 smp_ops.smp_prepare_cpus = xen_hvm_smp_prepare_cpus; in xen_hvm_smp_init() 75 smp_ops.smp_cpus_done = xen_smp_cpus_done; in xen_hvm_smp_init() 76 smp_ops.cleanup_dead_cpu = xen_hvm_cleanup_dead_cpu; in xen_hvm_smp_init() 85 smp_ops.smp_send_reschedule = xen_smp_send_reschedule; in xen_hvm_smp_init() 86 smp_ops.send_call_func_ipi = xen_smp_send_call_function_ipi; in xen_hvm_smp_init() 87 smp_ops.send_call_func_single_ipi = xen_smp_send_call_function_single_ipi; in xen_hvm_smp_init()
|
| H A D | smp_pv.c | 422 static const struct smp_ops xen_smp_ops __initconst = { 443 smp_ops = xen_smp_ops; in xen_smp_init()
|
| /linux/arch/powerpc/kernel/ |
| H A D | smp.c | 136 struct smp_ops_t *smp_ops; variable 298 smp_ops->cause_ipi(cpu); in smp_muxed_ipi_message_pass() 354 if (smp_ops->message_pass) in do_message_pass() 355 smp_ops->message_pass(cpu, msg); in do_message_pass() 364 if (likely(smp_ops)) in arch_smp_send_reschedule() 472 if (!safe && smp_ops->cause_nmi_ipi && smp_ops->cause_nmi_ipi(cpu)) in do_smp_send_nmi_ipi() 504 if (unlikely(!smp_ops)) in __smp_send_nmi_ipi() 1180 if (smp_ops && smp_ops->probe) in smp_prepare_cpus() 1181 smp_ops->probe(); in smp_prepare_cpus() 1307 if (smp_ops == NULL || in __cpu_up() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | smp.c | 283 struct smp_ops smp_ops = { variable 301 EXPORT_SYMBOL_GPL(smp_ops);
|
| H A D | smpboot.c | 1105 return smp_ops.kick_ap_alive(cpu, tidle); in arch_cpuhp_kick_ap_alive() 1111 if (smp_ops.kick_ap_alive == native_kick_ap && x86_platform.legacy.warm_reset) in arch_cpuhp_cleanup_kick_cpu() 1117 if (smp_ops.cleanup_dead_cpu) in arch_cpuhp_cleanup_dead_cpu() 1118 smp_ops.cleanup_dead_cpu(cpu); in arch_cpuhp_cleanup_dead_cpu() 1126 if (smp_ops.poll_sync_state) in arch_cpuhp_sync_state_poll() 1127 smp_ops.poll_sync_state(); in arch_cpuhp_sync_state_poll() 1180 smp_ops.smp_prepare_boot_cpu(); in smp_prepare_boot_cpu()
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | smp.c | 299 smp_ops->give_timebase = smp_generic_give_timebase; in smp_psurge_probe() 300 smp_ops->take_timebase = smp_generic_take_timebase; in smp_psurge_probe() 743 smp_ops->give_timebase = smp_generic_give_timebase; in smp_core99_setup() 744 smp_ops->take_timebase = smp_generic_take_timebase; in smp_core99_setup() 1005 smp_ops = &core99_smp_ops; in pmac_setup_smp() 1018 smp_ops = &psurge_smp_ops; in pmac_setup_smp() 1023 smp_ops->cpu_offline_self = pmac_cpu_offline_self; in pmac_setup_smp()
|
| /linux/arch/arm/include/asm/mach/ |
| H A D | arch.h | 17 #define smp_ops(ops) (&(ops)) macro 20 #define smp_ops(ops) (struct smp_operations *)NULL macro
|
| /linux/arch/loongarch/include/asm/ |
| H A D | smp.h | 17 struct smp_ops { struct 22 extern struct smp_ops mp_ops; argument
|
| /linux/arch/arm/mach-omap2/ |
| H A D | board-generic.c | 271 .smp = smp_ops(omap4_smp_ops), 296 .smp = smp_ops(omap4_smp_ops), 345 .smp = smp_ops(omap4_smp_ops),
|
| /linux/arch/x86/power/ |
| H A D | cpu.c | 315 void (*play_dead)(void) = smp_ops.play_dead; in hibernate_resume_nonboot_cpu_disable() 337 smp_ops.play_dead = resume_play_dead; in hibernate_resume_nonboot_cpu_disable() 339 smp_ops.play_dead = play_dead; in hibernate_resume_nonboot_cpu_disable()
|
| /linux/arch/arm/mach-imx/ |
| H A D | mach-ls1021a.c | 16 .smp = smp_ops(ls1021a_smp_ops),
|
| H A D | mach-imx7d.c | 83 .smp = smp_ops(imx7_smp_ops),
|
| /linux/arch/arm/mach-bcm/ |
| H A D | board_bcm2835.c | 28 .smp = smp_ops(bcm2836_smp_ops),
|
| H A D | bcm2711.c | 24 .smp = smp_ops(bcm2836_smp_ops),
|
| /linux/arch/arm/mach-shmobile/ |
| H A D | setup-emev2.c | 23 .smp = smp_ops(emev2_smp_ops),
|
| H A D | setup-sh73a0.c | 39 .smp = smp_ops(sh73a0_smp_ops),
|
| H A D | setup-r8a7779.c | 56 .smp = smp_ops(r8a7779_smp_ops),
|
| /linux/arch/arm/mach-spear/ |
| H A D | spear1340.c | 29 .smp = smp_ops(spear13xx_smp_ops),
|
| H A D | spear1310.c | 56 .smp = smp_ops(spear13xx_smp_ops),
|
| /linux/arch/arm/mach-versatile/ |
| H A D | v2m.c | 38 .smp = smp_ops(vexpress_smp_dt_ops),
|
| /linux/arch/arm/mach-tegra/ |
| H A D | tegra.c | 113 .smp = smp_ops(tegra_smp_ops),
|
| /linux/arch/arm/mach-mstar/ |
| H A D | mstarv7.c | 128 .smp = smp_ops(mstarv7_smp_ops),
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | hotplug-cpu.c | 873 smp_ops->cpu_offline_self = pseries_cpu_offline_self; in pseries_cpu_hotplug_init() 874 smp_ops->cpu_disable = pseries_cpu_disable; in pseries_cpu_hotplug_init() 875 smp_ops->cpu_die = pseries_cpu_die; in pseries_cpu_hotplug_init()
|
| /linux/arch/powerpc/platforms/44x/ |
| H A D | iss4xx.c | 131 smp_ops = &iss_smp_ops; in iss4xx_smp_init()
|