/linux/arch/x86/include/asm/ |
A D | smp.h | 43 struct smp_ops { struct 65 extern struct smp_ops smp_ops; argument 69 smp_ops.stop_other_cpus(0); in smp_send_stop() 74 smp_ops.stop_other_cpus(1); in stop_other_cpus() 79 smp_ops.smp_prepare_boot_cpu(); in smp_prepare_boot_cpu() 89 smp_ops.smp_cpus_done(max_cpus); in smp_cpus_done() 99 return smp_ops.cpu_disable(); in __cpu_disable() 104 smp_ops.cpu_die(cpu); in __cpu_die() 109 smp_ops.play_dead(); in play_dead() 114 smp_ops.smp_send_reschedule(cpu); in smp_send_reschedule() [all …]
|
/linux/arch/arm/kernel/ |
A D | smp.c | 96 smp_ops = *ops; in smp_set_ops() 190 if (smp_ops.smp_init_cpus) in smp_init_cpus() 191 smp_ops.smp_init_cpus(); in smp_init_cpus() 202 if (smp_ops.cpu_kill) in platform_can_cpu_hotplug() 212 if (smp_ops.cpu_kill) in platform_cpu_kill() 213 return smp_ops.cpu_kill(cpu); in platform_cpu_kill() 219 if (smp_ops.cpu_disable) in platform_cpu_disable() 228 if (!smp_ops.cpu_die) in platform_can_hotplug_cpu() 231 if (smp_ops.cpu_can_disable) in platform_can_hotplug_cpu() 369 if (smp_ops.cpu_die) in arch_cpu_idle_dead() [all …]
|
/linux/arch/x86/xen/ |
A D | smp_hvm.c | 71 smp_ops.smp_prepare_boot_cpu = xen_hvm_smp_prepare_boot_cpu; in xen_hvm_smp_init() 72 smp_ops.smp_prepare_cpus = xen_hvm_smp_prepare_cpus; in xen_hvm_smp_init() 73 smp_ops.smp_cpus_done = xen_smp_cpus_done; in xen_hvm_smp_init() 74 smp_ops.cpu_die = xen_hvm_cpu_die; in xen_hvm_smp_init() 83 smp_ops.smp_send_reschedule = xen_smp_send_reschedule; in xen_hvm_smp_init() 84 smp_ops.send_call_func_ipi = xen_smp_send_call_function_ipi; in xen_hvm_smp_init() 85 smp_ops.send_call_func_single_ipi = xen_smp_send_call_function_single_ipi; in xen_hvm_smp_init()
|
/linux/arch/powerpc/kernel/ |
A D | smp.c | 142 struct smp_ops_t *smp_ops; variable 304 smp_ops->cause_ipi(cpu); in smp_muxed_ipi_message_pass() 370 if (likely(smp_ops)) in smp_send_reschedule() 478 if (!safe && smp_ops->cause_nmi_ipi && smp_ops->cause_nmi_ipi(cpu)) in do_smp_send_nmi_ipi() 510 if (unlikely(!smp_ops)) in __smp_send_nmi_ipi() 1125 if (smp_ops && smp_ops->probe) in smp_prepare_cpus() 1126 smp_ops->probe(); in smp_prepare_cpus() 1242 (smp_ops->cpu_bootable && !smp_ops->cpu_bootable(cpu))) in __cpu_up() 1687 if (smp_ops && smp_ops->setup_cpu) in smp_cpus_done() 1690 if (smp_ops && smp_ops->bringup_done) in smp_cpus_done() [all …]
|
/linux/arch/powerpc/platforms/pseries/ |
A D | smp.c | 239 ic_cause_ipi = smp_ops->cause_ipi; in pSeries_smp_probe() 240 smp_ops->cause_ipi = dbell_or_ic_cause_ipi; in pSeries_smp_probe() 260 smp_ops = &pseries_smp_ops; in smp_init_pseries() 284 smp_ops->give_timebase = rtas_give_timebase; in smp_init_pseries() 285 smp_ops->take_timebase = rtas_take_timebase; in smp_init_pseries()
|
/linux/arch/powerpc/platforms/cell/ |
A D | smp.c | 142 smp_ops = &bpa_iic_smp_ops; in smp_init_cell() 157 smp_ops->give_timebase = rtas_give_timebase; in smp_init_cell() 158 smp_ops->take_timebase = rtas_take_timebase; in smp_init_cell()
|
/linux/arch/x86/kernel/ |
A D | smp.c | 260 struct smp_ops smp_ops = { variable 279 EXPORT_SYMBOL_GPL(smp_ops);
|
/linux/arch/powerpc/platforms/powernv/ |
A D | smp.c | 338 ic_cause_ipi = smp_ops->cause_ipi; in pnv_smp_probe() 342 smp_ops->cause_ipi = doorbell_global_ipi; in pnv_smp_probe() 344 smp_ops->cause_ipi = pnv_cause_ipi; in pnv_smp_probe() 434 smp_ops = &pnv_smp_ops; in pnv_smp_init()
|
/linux/arch/powerpc/platforms/powermac/ |
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() 740 smp_ops->give_timebase = smp_generic_give_timebase; in smp_core99_setup() 741 smp_ops->take_timebase = smp_generic_take_timebase; in smp_core99_setup() 1004 smp_ops = &core99_smp_ops; in pmac_setup_smp() 1017 smp_ops = &psurge_smp_ops; in pmac_setup_smp() 1022 smp_ops->cpu_offline_self = pmac_cpu_offline_self; in pmac_setup_smp()
|
/linux/arch/arm/include/asm/mach/ |
A D | arch.h | 17 #define smp_ops(ops) (&(ops)) macro 20 #define smp_ops(ops) (struct smp_operations *)NULL macro
|
/linux/arch/arm/mach-omap2/ |
A D | board-generic.c | 265 .smp = smp_ops(omap4_smp_ops), 290 .smp = smp_ops(omap4_smp_ops), 339 .smp = smp_ops(omap4_smp_ops),
|
/linux/arch/x86/power/ |
A D | cpu.c | 290 void (*play_dead)(void) = smp_ops.play_dead; in hibernate_resume_nonboot_cpu_disable() 312 smp_ops.play_dead = resume_play_dead; in hibernate_resume_nonboot_cpu_disable() 314 smp_ops.play_dead = play_dead; in hibernate_resume_nonboot_cpu_disable()
|
/linux/arch/arm/mach-imx/ |
A D | mach-ls1021a.c | 16 .smp = smp_ops(ls1021a_smp_ops),
|
A D | mach-imx7d.c | 83 .smp = smp_ops(imx7_smp_ops),
|
/linux/arch/arm/mach-bcm/ |
A D | board_bcm2835.c | 28 .smp = smp_ops(bcm2836_smp_ops),
|
A D | bcm2711.c | 24 .smp = smp_ops(bcm2836_smp_ops),
|
/linux/arch/arm/mach-shmobile/ |
A D | setup-emev2.c | 23 .smp = smp_ops(emev2_smp_ops),
|
A D | setup-sh73a0.c | 39 .smp = smp_ops(sh73a0_smp_ops),
|
A D | setup-r8a7779.c | 56 .smp = smp_ops(r8a7779_smp_ops),
|
/linux/arch/arm/mach-sti/ |
A D | board-dt.c | 30 .smp = smp_ops(sti_smp_ops),
|
/linux/arch/arm/mach-spear/ |
A D | spear1340.c | 32 .smp = smp_ops(spear13xx_smp_ops),
|
A D | spear1310.c | 59 .smp = smp_ops(spear13xx_smp_ops),
|
/linux/arch/arm/mach-vexpress/ |
A D | v2m.c | 38 .smp = smp_ops(vexpress_smp_dt_ops),
|
/linux/arch/x86/kernel/cpu/ |
A D | mshyperv.c | 423 smp_ops.smp_prepare_boot_cpu = hv_smp_prepare_boot_cpu; in ms_hyperv_init_platform() 425 smp_ops.smp_prepare_cpus = hv_smp_prepare_cpus; in ms_hyperv_init_platform()
|
/linux/arch/arm/mach-tegra/ |
A D | tegra.c | 114 .smp = smp_ops(tegra_smp_ops),
|