Home
last modified time | relevance | path

Searched refs:cpu_ops (Results 1 - 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dcpu-hotplug.c14 #include <asm/cpu_ops.h>
25 if (cpu_ops[cpu]->cpu_stop) in cpu_has_hotplug()
39 if (!cpu_ops[cpu] || !cpu_ops[cpu]->cpu_stop) in __cpu_disable()
42 if (cpu_ops[cpu]->cpu_disable) in __cpu_disable()
43 ret = cpu_ops[cpu]->cpu_disable(cpu); in __cpu_disable()
69 if (cpu_ops[cpu]->cpu_is_stopped) in __cpu_die()
70 ret = cpu_ops[cpu]->cpu_is_stopped(cpu); in __cpu_die()
84 cpu_ops[smp_processor_id()]->cpu_stop(); in cpu_stop()
H A Dcpu_ops.c12 #include <asm/cpu_ops.h>
16 const struct cpu_operations *cpu_ops[NR_CPUS] __ro_after_init;
42 cpu_ops[cpuid] = &cpu_ops_sbi; in cpu_set_ops()
45 cpu_ops[cpuid] = &cpu_ops_spinwait; in cpu_set_ops()
H A Dsmpboot.c27 #include <asm/cpu_ops.h>
58 if (cpu_ops[cpuid]->cpu_prepare) { in smp_prepare_cpus()
59 ret = cpu_ops[cpuid]->cpu_prepare(cpuid); in smp_prepare_cpus()
112 if (cpu_ops[cpu]->cpu_start) in start_secondary_cpu()
113 return cpu_ops[cpu]->cpu_start(cpu, tidle); in start_secondary_cpu()
H A Dcpu_ops_spinwait.c9 #include <asm/cpu_ops.h>
H A Dcpu_ops_sbi.c3 * HSM extension and cpu_ops implementation.
10 #include <asm/cpu_ops.h>
H A Dsetup.c22 #include <asm/cpu_ops.h>
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dcpu-hotplug.c15 #include <asm/cpu_ops.h>
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 Dcpu_ops.c11 #include <asm/cpu_ops.h>
16 const struct cpu_operations *cpu_ops[NR_CPUS] __ro_after_init;
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.c28 #include <asm/cpu_ops.h>
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 Dcpu_ops_spinwait.c10 #include <asm/cpu_ops.h>
H A Dsmp.c27 #include <asm/cpu_ops.h>
84 cpu_ops[cpu]->cpu_stop(); in ipi_cpu_crash_stop()
H A Dcpu_ops_sbi.c3 * HSM extension and cpu_ops implementation.
11 #include <asm/cpu_ops.h>
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dcpu_ops.c14 #include <asm/cpu_ops.h>
23 static const struct cpu_operations *cpu_ops[NR_CPUS] __ro_after_init;
97 * Read a cpu's enable method and record it in cpu_ops.
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 Dacpi_parking_protocol.c12 #include <asm/cpu_ops.h>
H A Dsmp_spin_table.c16 #include <asm/cpu_ops.h>
H A Dpsci.c20 #include <asm/cpu_ops.h>
H A Dcpuidle.c17 #include <asm/cpu_ops.h>
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dcpu_ops.c14 #include <asm/cpu_ops.h>
23 static const struct cpu_operations *cpu_ops[NR_CPUS] __ro_after_init;
97 * Read a cpu's enable method and record it in cpu_ops.
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 Dpsci.c20 #include <asm/cpu_ops.h>
H A Dacpi_parking_protocol.c12 #include <asm/cpu_ops.h>
H A Dsmp_spin_table.c16 #include <asm/cpu_ops.h>
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dcpu_ops.h4 * Based on arch/arm64/include/asm/cpu_ops.h
41 extern const struct cpu_operations *cpu_ops[NR_CPUS];
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dcpu_ops.h4 * Based on arch/arm64/include/asm/cpu_ops.h
42 extern const struct cpu_operations *cpu_ops[NR_CPUS];
/kernel/linux/linux-5.10/drivers/clk/mvebu/
H A Dclk-cpu.c160 static const struct clk_ops cpu_ops = { variable
219 init.ops = &cpu_ops; in of_cpu_clk_setup()
/kernel/linux/linux-6.6/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()

Completed in 6 milliseconds

12