Home
last modified time | relevance | path

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

12

/linux-5.19.10/arch/x86/include/asm/
Dsmp.h43 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()
84 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
89 smp_ops.smp_cpus_done(max_cpus); in smp_cpus_done()
94 return smp_ops.cpu_up(cpu, tidle); in __cpu_up()
99 return smp_ops.cpu_disable(); in __cpu_disable()
104 smp_ops.cpu_die(cpu); in __cpu_die()
[all …]
/linux-5.19.10/arch/x86/xen/
Dsmp_hvm.c77 smp_ops.smp_prepare_boot_cpu = xen_hvm_smp_prepare_boot_cpu; in xen_hvm_smp_init()
78 smp_ops.smp_prepare_cpus = xen_hvm_smp_prepare_cpus; in xen_hvm_smp_init()
79 smp_ops.smp_cpus_done = xen_smp_cpus_done; in xen_hvm_smp_init()
80 smp_ops.cpu_die = xen_hvm_cpu_die; in xen_hvm_smp_init()
89 smp_ops.smp_send_reschedule = xen_smp_send_reschedule; in xen_hvm_smp_init()
90 smp_ops.send_call_func_ipi = xen_smp_send_call_function_ipi; in xen_hvm_smp_init()
91 smp_ops.send_call_func_single_ipi = xen_smp_send_call_function_single_ipi; in xen_hvm_smp_init()
/linux-5.19.10/arch/arm/kernel/
Dsmp.c91 static struct smp_operations smp_ops __ro_after_init;
96 smp_ops = *ops; in smp_set_ops()
136 if (!smp_ops.smp_boot_secondary) in __cpu_up()
162 ret = smp_ops.smp_boot_secondary(cpu, idle); in __cpu_up()
187 if (smp_ops.smp_init_cpus) in smp_init_cpus()
188 smp_ops.smp_init_cpus(); in smp_init_cpus()
193 return !!smp_ops.smp_boot_secondary; in platform_can_secondary_boot()
199 if (smp_ops.cpu_kill) in platform_can_cpu_hotplug()
209 if (smp_ops.cpu_kill) in platform_cpu_kill()
210 return smp_ops.cpu_kill(cpu); in platform_cpu_kill()
[all …]
/linux-5.19.10/arch/powerpc/kernel/
Dsmp.c141 struct smp_ops_t *smp_ops; variable
303 smp_ops->cause_ipi(cpu); in smp_muxed_ipi_message_pass()
359 if (smp_ops->message_pass) in do_message_pass()
360 smp_ops->message_pass(cpu, msg); in do_message_pass()
369 if (likely(smp_ops)) in smp_send_reschedule()
477 if (!safe && smp_ops->cause_nmi_ipi && smp_ops->cause_nmi_ipi(cpu)) in do_smp_send_nmi_ipi()
509 if (unlikely(!smp_ops)) in __smp_send_nmi_ipi()
1164 if (smp_ops && smp_ops->probe) in smp_prepare_cpus()
1165 smp_ops->probe(); in smp_prepare_cpus()
1280 if (smp_ops == NULL || in __cpu_up()
[all …]
/linux-5.19.10/arch/powerpc/platforms/pseries/
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()
283 smp_ops->give_timebase = rtas_give_timebase; in smp_init_pseries()
284 smp_ops->take_timebase = rtas_take_timebase; in smp_init_pseries()
/linux-5.19.10/arch/powerpc/platforms/cell/
Dsmp.c141 smp_ops = &bpa_iic_smp_ops; in smp_init_cell()
156 smp_ops->give_timebase = rtas_give_timebase; in smp_init_cell()
157 smp_ops->take_timebase = rtas_take_timebase; in smp_init_cell()
/linux-5.19.10/arch/x86/kernel/
Dsmp.c260 struct smp_ops smp_ops = { variable
279 EXPORT_SYMBOL_GPL(smp_ops);
/linux-5.19.10/arch/powerpc/platforms/powernv/
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-5.19.10/arch/arm/include/asm/mach/
Darch.h17 #define smp_ops(ops) (&(ops)) macro
20 #define smp_ops(ops) (struct smp_operations *)NULL macro
/linux-5.19.10/arch/powerpc/platforms/powermac/
Dsmp.c299 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()
1002 smp_ops = &core99_smp_ops; in pmac_setup_smp()
1015 smp_ops = &psurge_smp_ops; in pmac_setup_smp()
1020 smp_ops->cpu_offline_self = pmac_cpu_offline_self; in pmac_setup_smp()
/linux-5.19.10/arch/arm/mach-omap2/
Dboard-generic.c265 .smp = smp_ops(omap4_smp_ops),
290 .smp = smp_ops(omap4_smp_ops),
339 .smp = smp_ops(omap4_smp_ops),
/linux-5.19.10/arch/arm/mach-imx/
Dmach-ls1021a.c16 .smp = smp_ops(ls1021a_smp_ops),
Dmach-imx7d.c83 .smp = smp_ops(imx7_smp_ops),
/linux-5.19.10/arch/arm/mach-bcm/
Dboard_bcm2835.c28 .smp = smp_ops(bcm2836_smp_ops),
Dbcm2711.c24 .smp = smp_ops(bcm2836_smp_ops),
/linux-5.19.10/arch/arm/mach-shmobile/
Dsetup-emev2.c23 .smp = smp_ops(emev2_smp_ops),
Dsetup-sh73a0.c39 .smp = smp_ops(sh73a0_smp_ops),
Dsetup-r8a7779.c56 .smp = smp_ops(r8a7779_smp_ops),
/linux-5.19.10/arch/arm/mach-sti/
Dboard-dt.c30 .smp = smp_ops(sti_smp_ops),
/linux-5.19.10/arch/x86/power/
Dcpu.c299 void (*play_dead)(void) = smp_ops.play_dead; in hibernate_resume_nonboot_cpu_disable()
321 smp_ops.play_dead = resume_play_dead; in hibernate_resume_nonboot_cpu_disable()
323 smp_ops.play_dead = play_dead; in hibernate_resume_nonboot_cpu_disable()
/linux-5.19.10/arch/arm/mach-spear/
Dspear1340.c32 .smp = smp_ops(spear13xx_smp_ops),
Dspear1310.c59 .smp = smp_ops(spear13xx_smp_ops),
/linux-5.19.10/arch/arm/mach-versatile/
Dv2m.c38 .smp = smp_ops(vexpress_smp_dt_ops),
/linux-5.19.10/arch/arm/mach-tegra/
Dtegra.c114 .smp = smp_ops(tegra_smp_ops),
/linux-5.19.10/arch/arm/mach-keystone/
Dkeystone.c106 .smp = smp_ops(keystone_smp_ops),

12