Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/include/asm/
Dsmp.h56 struct smp_ops { struct
80 extern struct smp_ops smp_ops; argument
84 smp_ops.stop_other_cpus(0); in smp_send_stop()
89 smp_ops.stop_other_cpus(1); in stop_other_cpus()
94 smp_ops.smp_prepare_boot_cpu(); in smp_prepare_boot_cpu()
99 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
104 smp_ops.smp_cpus_done(max_cpus); in smp_cpus_done()
109 return smp_ops.cpu_up(cpu, tidle); in __cpu_up()
114 return smp_ops.cpu_disable(); in __cpu_disable()
119 smp_ops.cpu_die(cpu); in __cpu_die()
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dsmp.c78 struct smp_ops_t *smp_ops; variable
235 smp_ops->cause_ipi(cpu, info->data); in smp_muxed_ipi_message_pass()
269 if (smp_ops->message_pass) in do_message_pass()
270 smp_ops->message_pass(cpu, msg); in do_message_pass()
279 if (likely(smp_ops)) in smp_send_reschedule()
313 if (unlikely(!smp_ops)) in smp_send_debugger_break()
393 if (smp_ops && smp_ops->probe) in smp_prepare_cpus()
394 smp_ops->probe(); in smp_prepare_cpus()
491 if (smp_ops == NULL || in __cpu_up()
492 (smp_ops->cpu_bootable && !smp_ops->cpu_bootable(cpu))) in __cpu_up()
[all …]
/linux-4.4.14/arch/arm/kernel/
Dsmp.c81 static struct smp_operations smp_ops; variable
86 smp_ops = *ops; in smp_set_ops()
102 if (!smp_ops.smp_boot_secondary) in __cpu_up()
123 ret = smp_ops.smp_boot_secondary(cpu, idle); in __cpu_up()
148 if (smp_ops.smp_init_cpus) in smp_init_cpus()
149 smp_ops.smp_init_cpus(); in smp_init_cpus()
154 return !!smp_ops.smp_boot_secondary; in platform_can_secondary_boot()
160 if (smp_ops.cpu_kill) in platform_can_cpu_hotplug()
170 if (smp_ops.cpu_kill) in platform_cpu_kill()
171 return smp_ops.cpu_kill(cpu); in platform_cpu_kill()
[all …]
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dsmp.c205 xics_cause_ipi = smp_ops->cause_ipi; in pSeries_smp_probe()
206 smp_ops->cause_ipi = pSeries_cause_ipi_mux; in pSeries_smp_probe()
255 smp_ops->give_timebase = rtas_give_timebase; in smp_init_pseries()
256 smp_ops->take_timebase = rtas_take_timebase; in smp_init_pseries()
264 smp_ops = &pSeries_mpic_smp_ops; in smp_init_pseries_mpic()
271 smp_ops = &pSeries_xics_smp_ops; in smp_init_pseries_xics()
Dhotplug-cpu.c410 smp_ops->cpu_disable = pseries_cpu_disable; in pseries_cpu_hotplug_init()
411 smp_ops->cpu_die = pseries_cpu_die; in pseries_cpu_hotplug_init()
/linux-4.4.14/arch/powerpc/platforms/cell/
Dsmp.c148 smp_ops = &bpa_iic_smp_ops; in smp_init_cell()
163 smp_ops->give_timebase = rtas_give_timebase; in smp_init_cell()
164 smp_ops->take_timebase = rtas_take_timebase; in smp_init_cell()
/linux-4.4.14/arch/x86/xen/
Dsmp.c731 static const struct smp_ops xen_smp_ops __initconst = {
750 smp_ops = xen_smp_ops; in xen_smp_init()
800 smp_ops.smp_prepare_cpus = xen_hvm_smp_prepare_cpus; in xen_hvm_smp_init()
801 smp_ops.smp_send_reschedule = xen_smp_send_reschedule; in xen_hvm_smp_init()
802 smp_ops.cpu_up = xen_hvm_cpu_up; in xen_hvm_smp_init()
803 smp_ops.cpu_die = xen_cpu_die; in xen_hvm_smp_init()
804 smp_ops.send_call_func_ipi = xen_smp_send_call_function_ipi; in xen_hvm_smp_init()
805 smp_ops.send_call_func_single_ipi = xen_smp_send_call_function_single_ipi; in xen_hvm_smp_init()
806 smp_ops.smp_prepare_boot_cpu = xen_smp_prepare_boot_cpu; in xen_hvm_smp_init()
/linux-4.4.14/arch/x86/kernel/
Dsmp.c339 struct smp_ops smp_ops = { variable
355 EXPORT_SYMBOL_GPL(smp_ops);
Dkvm.c505 smp_ops.smp_prepare_boot_cpu = kvm_smp_prepare_boot_cpu; in kvm_guest_init()
/linux-4.4.14/arch/arm/include/asm/mach/
Darch.h20 #define smp_ops(ops) (&(ops)) macro
23 #define smp_ops(ops) (struct smp_operations *)NULL macro
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dsmp.c305 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()
747 smp_ops->give_timebase = smp_generic_give_timebase; in smp_core99_setup()
748 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-4.4.14/arch/arm/mach-omap2/
Dboard-generic.c226 .smp = smp_ops(omap4_smp_ops),
251 .smp = smp_ops(omap4_smp_ops),
299 .smp = smp_ops(omap4_smp_ops),
/linux-4.4.14/arch/arm/mach-imx/
Dmach-ls1021a.c20 .smp = smp_ops(ls1021a_smp_ops),
Dmach-imx6q.c406 .smp = smp_ops(imx_smp_ops),
/linux-4.4.14/arch/arm/mach-vexpress/
Dv2m.c14 .smp = smp_ops(vexpress_smp_dt_ops),
/linux-4.4.14/arch/arm/mach-sti/
Dboard-dt.c33 .smp = smp_ops(sti_smp_ops),
/linux-4.4.14/arch/arm/mach-shmobile/
Dsetup-r8a7791.c32 .smp = smp_ops(r8a7791_smp_ops),
Dsetup-r8a7790.c31 .smp = smp_ops(r8a7790_smp_ops),
Dsetup-emev2.c48 .smp = smp_ops(emev2_smp_ops),
Dsetup-sh73a0.c67 .smp = smp_ops(sh73a0_smp_ops),
Dsetup-r8a7779.c109 .smp = smp_ops(r8a7779_smp_ops),
/linux-4.4.14/arch/arm/mach-spear/
Dspear1340.c33 .smp = smp_ops(spear13xx_smp_ops),
Dspear1310.c61 .smp = smp_ops(spear13xx_smp_ops),
/linux-4.4.14/arch/arm/mach-prima2/
Dcommon.c62 .smp = smp_ops(sirfsoc_smp_ops),
/linux-4.4.14/arch/powerpc/platforms/86xx/
Dmpc86xx_smp.c120 smp_ops = &smp_86xx_ops; in mpc86xx_smp_init()
/linux-4.4.14/arch/arm/mach-keystone/
Dkeystone.c111 .smp = smp_ops(keystone_smp_ops),
/linux-4.4.14/arch/arm/mach-tegra/
Dtegra.c160 .smp = smp_ops(tegra_smp_ops),
/linux-4.4.14/arch/powerpc/platforms/ps3/
Dsmp.c130 smp_ops = &ps3_smp_ops; in smp_init_ps3()
/linux-4.4.14/arch/powerpc/platforms/44x/
Diss4xx.c135 smp_ops = &iss_smp_ops; in iss4xx_smp_init()
Dppc476.c205 smp_ops = &ppc47x_smp_ops; in ppc47x_smp_init()
/linux-4.4.14/arch/arm/mach-zynq/
Dcommon.c201 .smp = smp_ops(zynq_smp_ops),
/linux-4.4.14/arch/powerpc/include/asm/
Dsmp.h186 extern struct smp_ops_t *smp_ops;
/linux-4.4.14/arch/arm/mach-mvebu/
Dboard-v7.c164 .smp = smp_ops(armada_xp_smp_ops),
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dsmp.c270 smp_ops = &pnv_smp_ops; in pnv_smp_init()
/linux-4.4.14/arch/arm/mach-exynos/
Dexynos.c324 .smp = smp_ops(exynos_smp_ops),
/linux-4.4.14/arch/powerpc/platforms/maple/
Dsetup.c184 smp_ops = &maple_smp_ops; in maple_setup_arch()
/linux-4.4.14/arch/powerpc/sysdev/xics/
Dxics-common.c146 smp_ops->cause_ipi = icp_ops->cause_ipi; in xics_smp_probe()
/linux-4.4.14/arch/arm/mach-realview/
Drealview_pb11mp.c368 .smp = smp_ops(realview_smp_ops),
Drealview_pbx.c397 .smp = smp_ops(realview_smp_ops),
Drealview_eb.c474 .smp = smp_ops(realview_smp_ops),
/linux-4.4.14/arch/powerpc/platforms/pasemi/
Dsetup.c122 smp_ops = &pas_smp_ops; in pas_setup_arch()
/linux-4.4.14/arch/powerpc/platforms/85xx/
Dsmp.c519 smp_ops = &smp_85xx_ops; in mpc85xx_smp_init()
/linux-4.4.14/arch/powerpc/platforms/chrp/
Dsetup.c538 smp_ops = &chrp_smp_ops; in chrp_init_IRQ()