Home
last modified time | relevance | path

Searched refs:cpu_ops (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/arch/riscv/kernel/
H A Dcpu-hotplug.c21 if (cpu_ops[cpu]->cpu_stop) in cpu_has_hotplug()
35 if (!cpu_ops[cpu] || !cpu_ops[cpu]->cpu_stop) in __cpu_disable()
38 if (cpu_ops[cpu]->cpu_disable) in __cpu_disable()
39 ret = cpu_ops[cpu]->cpu_disable(cpu); in __cpu_disable()
65 if (cpu_ops[cpu]->cpu_is_stopped) in arch_cpuhp_cleanup_dead_cpu()
66 ret = cpu_ops[cpu]->cpu_is_stopped(cpu); in arch_cpuhp_cleanup_dead_cpu()
80 cpu_ops[smp_processor_id()]->cpu_stop(); in arch_cpu_idle_dead()
H A Dcpu_ops.c16 const struct cpu_operations *cpu_ops[NR_CPUS] __ro_after_init; variable
33 cpu_ops[cpuid] = &cpu_ops_sbi; in cpu_set_ops()
36 cpu_ops[cpuid] = &cpu_ops_spinwait; in cpu_set_ops()
H A Dsmpboot.c67 if (cpu_ops[cpuid]->cpu_prepare) { in smp_prepare_cpus()
68 ret = cpu_ops[cpuid]->cpu_prepare(cpuid); in smp_prepare_cpus()
199 if (cpu_ops[cpu]->cpu_start) in start_secondary_cpu()
200 return cpu_ops[cpu]->cpu_start(cpu, tidle); in start_secondary_cpu()
H A DMakefile69 obj-$(CONFIG_SMP) += cpu_ops.o
H A Dsmp.c84 cpu_ops[cpu]->cpu_stop(); in ipi_cpu_crash_stop()
/openbmc/linux/arch/arm64/kernel/
H A Dcpu_ops.c23 static const struct cpu_operations *cpu_ops[NR_CPUS] __ro_after_init; variable
106 cpu_ops[cpu] = cpu_get_ops(enable_method); in init_cpu_ops()
107 if (!cpu_ops[cpu]) { in init_cpu_ops()
117 return cpu_ops[cpu]; in get_cpu_ops()
H A DMakefile32 io.o vdso.o hyp-stub.o psci.o cpu_ops.o \
/openbmc/u-boot/drivers/cpu/
H A Dcpu-uclass.c39 struct cpu_ops *ops = cpu_get_ops(dev); in cpu_get_desc()
49 struct cpu_ops *ops = cpu_get_ops(dev); in cpu_get_info()
59 struct cpu_ops *ops = cpu_get_ops(dev); in cpu_get_count()
69 struct cpu_ops *ops = cpu_get_ops(dev); in cpu_get_vendor()
H A Dcpu_sandbox.c38 static const struct cpu_ops cpu_sandbox_ops = {
H A Driscv_cpu.c99 static const struct cpu_ops riscv_cpu_ops = {
H A Dmpc83xx_cpu.c316 static const struct cpu_ops mpc83xx_cpu_ops = {
H A Dbmips_cpu.c416 static const struct cpu_ops bmips_cpu_ops = {
/openbmc/u-boot/include/
H A Dcpu.h53 struct cpu_ops { struct
92 #define cpu_get_ops(dev) ((struct cpu_ops *)(dev)->driver->ops) argument
/openbmc/linux/arch/riscv/include/asm/
H A Dcpu_ops.h42 extern const struct cpu_operations *cpu_ops[NR_CPUS];
/openbmc/u-boot/arch/x86/cpu/qemu/
H A Dcpu.c28 static const struct cpu_ops cpu_qemu_ops = {
/openbmc/linux/drivers/clk/mvebu/
H A Dclk-cpu.c160 static const struct clk_ops cpu_ops = { variable
211 init.ops = &cpu_ops; in of_cpu_clk_setup()
/openbmc/u-boot/arch/x86/cpu/
H A Dcpu_x86.c80 static const struct cpu_ops cpu_x86_ops = {
/openbmc/u-boot/arch/x86/cpu/baytrail/
H A Dcpu.c187 static const struct cpu_ops cpu_x86_baytrail_ops = {
/openbmc/u-boot/arch/nios2/cpu/
H A Dcpu.c132 static const struct cpu_ops altera_nios2_ops = {
/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dmodel_206ax.c462 static const struct cpu_ops cpu_x86_model_206ax_ops = {
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A Dcpu.c747 static const struct cpu_ops cpu_x86_broadwell_ops = {
/openbmc/u-boot/arch/arm/mach-imx/imx8/
H A Dcpu.c607 static const struct cpu_ops cpu_imx8_ops = {