Home
last modified time | relevance | path

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

/Linux-v6.6/arch/riscv/kernel/
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()
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()
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()
DMakefile67 obj-$(CONFIG_SMP) += cpu_ops.o
Dsmp.c84 cpu_ops[cpu]->cpu_stop(); in ipi_cpu_crash_stop()
/Linux-v6.6/arch/arm64/kernel/
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()
DMakefile32 io.o vdso.o hyp-stub.o psci.o cpu_ops.o \
/Linux-v6.6/arch/riscv/include/asm/
Dcpu_ops.h42 extern const struct cpu_operations *cpu_ops[NR_CPUS];
/Linux-v6.6/drivers/clk/mvebu/
Dclk-cpu.c160 static const struct clk_ops cpu_ops = { variable
211 init.ops = &cpu_ops; in of_cpu_clk_setup()