Lines Matching refs:ops
101 const struct cpu_operations *ops = get_cpu_ops(cpu); in boot_secondary() local
103 if (ops->cpu_boot) in boot_secondary()
104 return ops->cpu_boot(cpu); in boot_secondary()
199 const struct cpu_operations *ops; in secondary_start_kernel() local
228 ops = get_cpu_ops(cpu); in secondary_start_kernel()
229 if (ops->cpu_postboot) in secondary_start_kernel()
230 ops->cpu_postboot(); in secondary_start_kernel()
277 const struct cpu_operations *ops = get_cpu_ops(cpu); in op_cpu_disable() local
283 if (!ops || !ops->cpu_die) in op_cpu_disable()
290 if (ops->cpu_disable) in op_cpu_disable()
291 return ops->cpu_disable(cpu); in op_cpu_disable()
328 const struct cpu_operations *ops = get_cpu_ops(cpu); in op_cpu_kill() local
335 if (!ops->cpu_kill) in op_cpu_kill()
338 return ops->cpu_kill(cpu); in op_cpu_kill()
369 const struct cpu_operations *ops = get_cpu_ops(cpu); in cpu_die() local
383 ops->cpu_die(cpu); in cpu_die()
392 const struct cpu_operations *ops = get_cpu_ops(cpu); in __cpu_try_die() local
394 if (ops && ops->cpu_die) in __cpu_try_die()
395 ops->cpu_die(cpu); in __cpu_try_die()
490 const struct cpu_operations *ops; in smp_cpu_setup() local
495 ops = get_cpu_ops(cpu); in smp_cpu_setup()
496 if (ops->cpu_init(cpu)) in smp_cpu_setup()
774 const struct cpu_operations *ops; in smp_prepare_cpus() local
803 ops = get_cpu_ops(cpu); in smp_prepare_cpus()
804 if (!ops) in smp_prepare_cpus()
807 err = ops->cpu_prepare(cpu); in smp_prepare_cpus()
1297 const struct cpu_operations *ops = get_cpu_ops(any_cpu); in have_cpu_die() local
1299 if (ops && ops->cpu_die) in have_cpu_die()