Home
last modified time | relevance | path

Searched refs:smp_ops (Results 1 – 25 of 46) sorted by relevance

12

/linux/arch/x86/include/asm/
H A Dsmp.h23 struct smp_ops { struct
48 extern struct smp_ops smp_ops; argument
52 smp_ops.stop_other_cpus(0); in smp_send_stop()
57 smp_ops.stop_other_cpus(1); in stop_other_cpus()
62 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
67 smp_ops.smp_cpus_done(max_cpus); in smp_cpus_done()
72 return smp_ops.cpu_disable(); in __cpu_disable()
77 if (smp_ops.cpu_die) in __cpu_die()
78 smp_ops.cpu_die(cpu); in __cpu_die()
83 smp_ops.play_dead(); in play_dead()
[all …]
/linux/arch/arm/kernel/
H A Dsmp.c90 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 Dsmp_hvm.c73 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()
/linux/arch/powerpc/kernel/
H A Dsmp.c135 struct smp_ops_t *smp_ops; variable
297 smp_ops->cause_ipi(cpu); in smp_muxed_ipi_message_pass()
353 if (smp_ops->message_pass) in do_message_pass()
354 smp_ops->message_pass(cpu, msg); in do_message_pass()
363 if (likely(smp_ops)) in arch_smp_send_reschedule()
471 if (!safe && smp_ops->cause_nmi_ipi && smp_ops->cause_nmi_ipi(cpu)) in do_smp_send_nmi_ipi()
503 if (unlikely(!smp_ops)) in __smp_send_nmi_ipi()
1159 if (smp_ops && smp_ops in smp_prepare_cpus()
[all...]
/linux/arch/powerpc/platforms/cell/
H A Dsmp.c142 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/
H A Dsmp.c283 struct smp_ops smp_ops = { variable
301 EXPORT_SYMBOL_GPL(smp_ops);
/linux/arch/powerpc/platforms/pseries/
H A Dsmp.c238 ic_cause_ipi = smp_ops->cause_ipi; in pSeries_smp_probe()
239 smp_ops->cause_ipi = dbell_or_ic_cause_ipi; in pSeries_smp_probe()
259 smp_ops = &pseries_smp_ops; in smp_init_pseries()
/linux/arch/powerpc/platforms/powernv/
H A Dsmp.c338 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/arm/include/asm/mach/
H A Darch.h17 #define smp_ops(ops) (&(ops)) macro
20 #define smp_ops(ops) (struct smp_operations *)NULL macro
/linux/arch/x86/kernel/acpi/
H A Dmadt_wakeup.c162 smp_ops.play_dead = acpi_mp_play_dead; in acpi_mp_setup_reset()
163 smp_ops.stop_this_cpu = acpi_mp_stop_this_cpu; in acpi_mp_setup_reset()
164 smp_ops.cpu_die = acpi_mp_cpu_die; in acpi_mp_setup_reset()
/linux/arch/arm/mach-omap2/
H A Dboard-generic.c271 .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 Dcpu.c300 void (*play_dead)(void) = smp_ops.play_dead; in hibernate_resume_nonboot_cpu_disable()
322 smp_ops.play_dead = resume_play_dead; in hibernate_resume_nonboot_cpu_disable()
324 smp_ops.play_dead = play_dead; in hibernate_resume_nonboot_cpu_disable()
/linux/arch/arm/mach-imx/
H A Dmach-ls1021a.c16 .smp = smp_ops(ls1021a_smp_ops),
/linux/arch/arm/mach-bcm/
H A Dboard_bcm2835.c28 .smp = smp_ops(bcm2836_smp_ops),
H A Dbcm2711.c24 .smp = smp_ops(bcm2836_smp_ops),
/linux/arch/arm/mach-shmobile/
H A Dsetup-emev2.c23 .smp = smp_ops(emev2_smp_ops),
H A Dsetup-sh73a0.c39 .smp = smp_ops(sh73a0_smp_ops),
H A Dsetup-r8a7779.c56 .smp = smp_ops(r8a7779_smp_ops),
/linux/arch/arm/mach-sti/
H A Dboard-dt.c28 .smp = smp_ops(sti_smp_ops),
/linux/arch/arm/mach-spear/
H A Dspear1340.c29 .smp = smp_ops(spear13xx_smp_ops),
H A Dspear1310.c56 .smp = smp_ops(spear13xx_smp_ops),
/linux/arch/arm/mach-versatile/
H A Dv2m.c38 .smp = smp_ops(vexpress_smp_dt_ops),
/linux/arch/arm/mach-tegra/
H A Dtegra.c113 .smp = smp_ops(tegra_smp_ops),
/linux/arch/arm/mach-mstar/
H A Dmstarv7.c128 .smp = smp_ops(mstarv7_smp_ops),
/linux/arch/powerpc/platforms/86xx/
H A Dmpc86xx_smp.c117 smp_ops = &smp_86xx_ops; in mpc86xx_smp_init()

12