/Linux-v4.19/arch/x86/include/asm/ |
D | smp.h | 45 struct smp_ops { struct 67 extern struct smp_ops smp_ops; argument 71 smp_ops.stop_other_cpus(0); in smp_send_stop() 76 smp_ops.stop_other_cpus(1); in stop_other_cpus() 81 smp_ops.smp_prepare_boot_cpu(); in smp_prepare_boot_cpu() 86 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus() 91 smp_ops.smp_cpus_done(max_cpus); in smp_cpus_done() 96 return smp_ops.cpu_up(cpu, tidle); in __cpu_up() 101 return smp_ops.cpu_disable(); in __cpu_disable() 106 smp_ops.cpu_die(cpu); in __cpu_die() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | smp.c | 87 struct smp_ops_t *smp_ops; variable 249 smp_ops->cause_ipi(cpu); in smp_muxed_ipi_message_pass() 305 if (smp_ops->message_pass) in do_message_pass() 306 smp_ops->message_pass(cpu, msg); in do_message_pass() 315 if (likely(smp_ops)) in smp_send_reschedule() 436 if (!safe && smp_ops->cause_nmi_ipi && smp_ops->cause_nmi_ipi(cpu)) in do_smp_send_nmi_ipi() 467 if (unlikely(!smp_ops)) in __smp_send_nmi_ipi() 715 if (smp_ops && smp_ops->probe) in smp_prepare_cpus() 716 smp_ops->probe(); in smp_prepare_cpus() 832 if (smp_ops == NULL || in __cpu_up() [all …]
|
/Linux-v4.19/arch/x86/xen/ |
D | smp_hvm.c | 69 smp_ops.smp_prepare_cpus = xen_hvm_smp_prepare_cpus; in xen_hvm_smp_init() 70 smp_ops.smp_send_reschedule = xen_smp_send_reschedule; in xen_hvm_smp_init() 71 smp_ops.cpu_die = xen_hvm_cpu_die; in xen_hvm_smp_init() 72 smp_ops.send_call_func_ipi = xen_smp_send_call_function_ipi; in xen_hvm_smp_init() 73 smp_ops.send_call_func_single_ipi = xen_smp_send_call_function_single_ipi; in xen_hvm_smp_init() 74 smp_ops.smp_prepare_boot_cpu = xen_hvm_smp_prepare_boot_cpu; in xen_hvm_smp_init() 75 smp_ops.smp_cpus_done = xen_smp_cpus_done; in xen_hvm_smp_init()
|
/Linux-v4.19/arch/arm/kernel/ |
D | smp.c | 88 static struct smp_operations smp_ops __ro_after_init; 93 smp_ops = *ops; in smp_set_ops() 109 if (!smp_ops.smp_boot_secondary) in __cpu_up() 130 ret = smp_ops.smp_boot_secondary(cpu, idle); in __cpu_up() 155 if (smp_ops.smp_init_cpus) in smp_init_cpus() 156 smp_ops.smp_init_cpus(); in smp_init_cpus() 161 return !!smp_ops.smp_boot_secondary; in platform_can_secondary_boot() 167 if (smp_ops.cpu_kill) in platform_can_cpu_hotplug() 177 if (smp_ops.cpu_kill) in platform_cpu_kill() 178 return smp_ops.cpu_kill(cpu); in platform_cpu_kill() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | smp.c | 229 smp_ops->cause_ipi = smp_pseries_cause_ipi; in pSeries_smp_probe_xics() 231 smp_ops->cause_ipi = icp_ops->cause_ipi; in pSeries_smp_probe_xics() 263 smp_ops = &pseries_smp_ops; in smp_init_pseries() 287 smp_ops->give_timebase = rtas_give_timebase; in smp_init_pseries() 288 smp_ops->take_timebase = rtas_take_timebase; in smp_init_pseries()
|
/Linux-v4.19/arch/powerpc/platforms/cell/ |
D | smp.c | 149 smp_ops = &bpa_iic_smp_ops; in smp_init_cell() 164 smp_ops->give_timebase = rtas_give_timebase; in smp_init_cell() 165 smp_ops->take_timebase = rtas_take_timebase; in smp_init_cell()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | smp.c | 294 ic_cause_ipi = smp_ops->cause_ipi; in pnv_smp_probe() 298 smp_ops->cause_ipi = doorbell_global_ipi; in pnv_smp_probe() 300 smp_ops->cause_ipi = pnv_cause_ipi; in pnv_smp_probe() 389 smp_ops = &pnv_smp_ops; in pnv_smp_init()
|
/Linux-v4.19/arch/x86/kernel/ |
D | smp.c | 309 struct smp_ops smp_ops = { variable 328 EXPORT_SYMBOL_GPL(smp_ops);
|
/Linux-v4.19/arch/arm/include/asm/mach/ |
D | arch.h | 20 #define smp_ops(ops) (&(ops)) macro 23 #define smp_ops(ops) (struct smp_operations *)NULL macro
|
/Linux-v4.19/arch/powerpc/platforms/powermac/ |
D | smp.c | 305 smp_ops->give_timebase = smp_generic_give_timebase; in smp_psurge_probe() 306 smp_ops->take_timebase = smp_generic_take_timebase; in smp_psurge_probe() 748 smp_ops->give_timebase = smp_generic_give_timebase; in smp_core99_setup() 749 smp_ops->take_timebase = smp_generic_take_timebase; in smp_core99_setup() 1011 smp_ops = &core99_smp_ops; in pmac_setup_smp() 1024 smp_ops = &psurge_smp_ops; in pmac_setup_smp()
|
/Linux-v4.19/arch/x86/power/ |
D | cpu.c | 291 void (*play_dead)(void) = smp_ops.play_dead; in hibernate_resume_nonboot_cpu_disable() 303 smp_ops.play_dead = resume_play_dead; in hibernate_resume_nonboot_cpu_disable() 305 smp_ops.play_dead = play_dead; in hibernate_resume_nonboot_cpu_disable()
|
/Linux-v4.19/arch/arm/mach-omap2/ |
D | board-generic.c | 253 .smp = smp_ops(omap4_smp_ops), 278 .smp = smp_ops(omap4_smp_ops), 327 .smp = smp_ops(omap4_smp_ops),
|
/Linux-v4.19/arch/arm/mach-imx/ |
D | mach-ls1021a.c | 20 .smp = smp_ops(ls1021a_smp_ops),
|
/Linux-v4.19/arch/arm/mach-bcm/ |
D | board_bcm2835.c | 37 .smp = smp_ops(bcm2836_smp_ops),
|
/Linux-v4.19/arch/arm/mach-shmobile/ |
D | setup-emev2.c | 23 .smp = smp_ops(emev2_smp_ops),
|
D | setup-sh73a0.c | 57 .smp = smp_ops(sh73a0_smp_ops),
|
D | setup-r8a7779.c | 75 .smp = smp_ops(r8a7779_smp_ops),
|
/Linux-v4.19/arch/arm/mach-vexpress/ |
D | v2m.c | 15 .smp = smp_ops(vexpress_smp_dt_ops),
|
/Linux-v4.19/arch/arm/mach-sti/ |
D | board-dt.c | 41 .smp = smp_ops(sti_smp_ops),
|
/Linux-v4.19/arch/arm/mach-spear/ |
D | spear1340.c | 32 .smp = smp_ops(spear13xx_smp_ops),
|
D | spear1310.c | 59 .smp = smp_ops(spear13xx_smp_ops),
|
/Linux-v4.19/arch/arm/mach-prima2/ |
D | common.c | 62 .smp = smp_ops(sirfsoc_smp_ops),
|
/Linux-v4.19/arch/arm/mach-tegra/ |
D | tegra.c | 117 .smp = smp_ops(tegra_smp_ops),
|
/Linux-v4.19/arch/arm/mach-keystone/ |
D | keystone.c | 106 .smp = smp_ops(keystone_smp_ops),
|
/Linux-v4.19/arch/powerpc/platforms/86xx/ |
D | mpc86xx_smp.c | 121 smp_ops = &smp_86xx_ops; in mpc86xx_smp_init()
|