/openbmc/linux/arch/riscv/kernel/ |
H A D | cpu-hotplug.c | 21 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 D | cpu_ops.c | 16 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 D | smpboot.c | 67 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 D | Makefile | 69 obj-$(CONFIG_SMP) += cpu_ops.o
|
H A D | smp.c | 84 cpu_ops[cpu]->cpu_stop(); in ipi_cpu_crash_stop()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | cpu_ops.c | 23 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 D | Makefile | 32 io.o vdso.o hyp-stub.o psci.o cpu_ops.o \
|
/openbmc/u-boot/drivers/cpu/ |
H A D | cpu-uclass.c | 39 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 D | cpu_sandbox.c | 38 static const struct cpu_ops cpu_sandbox_ops = {
|
H A D | riscv_cpu.c | 99 static const struct cpu_ops riscv_cpu_ops = {
|
H A D | mpc83xx_cpu.c | 316 static const struct cpu_ops mpc83xx_cpu_ops = {
|
H A D | bmips_cpu.c | 416 static const struct cpu_ops bmips_cpu_ops = {
|
/openbmc/u-boot/include/ |
H A D | cpu.h | 53 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 D | cpu_ops.h | 42 extern const struct cpu_operations *cpu_ops[NR_CPUS];
|
/openbmc/u-boot/arch/x86/cpu/qemu/ |
H A D | cpu.c | 28 static const struct cpu_ops cpu_qemu_ops = {
|
/openbmc/linux/drivers/clk/mvebu/ |
H A D | clk-cpu.c | 160 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 D | cpu_x86.c | 80 static const struct cpu_ops cpu_x86_ops = {
|
/openbmc/u-boot/arch/x86/cpu/baytrail/ |
H A D | cpu.c | 187 static const struct cpu_ops cpu_x86_baytrail_ops = {
|
/openbmc/u-boot/arch/nios2/cpu/ |
H A D | cpu.c | 132 static const struct cpu_ops altera_nios2_ops = {
|
/openbmc/u-boot/arch/x86/cpu/ivybridge/ |
H A D | model_206ax.c | 462 static const struct cpu_ops cpu_x86_model_206ax_ops = {
|
/openbmc/u-boot/arch/x86/cpu/broadwell/ |
H A D | cpu.c | 747 static const struct cpu_ops cpu_x86_broadwell_ops = {
|
/openbmc/u-boot/arch/arm/mach-imx/imx8/ |
H A D | cpu.c | 607 static const struct cpu_ops cpu_imx8_ops = {
|