Home
last modified time | relevance | path

Searched refs:cpunum (Results 1 – 15 of 15) sorted by relevance

/linux/include/acpi/
A Dcppc_acpi.h137 extern int cppc_get_desired_perf(int cpunum, u64 *desired_perf);
138 extern int cppc_get_nominal_perf(int cpunum, u64 *nominal_perf);
146 extern int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val);
147 extern int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val);
149 static inline int cppc_get_desired_perf(int cpunum, u64 *desired_perf) in cppc_get_desired_perf() argument
153 static inline int cppc_get_nominal_perf(int cpunum, u64 *nominal_perf) in cppc_get_nominal_perf() argument
181 static inline int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val) in cpc_read_ffh() argument
185 static inline int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh() argument
/linux/drivers/acpi/
A Dcppc_acpi.c1023 cpc_read(cpunum, reg, perf); in cppc_get_perf()
1032 cpc_read(cpunum, reg, perf); in cppc_get_perf()
1111 cpc_read(cpunum, highest_reg, &high); in cppc_get_perf_caps()
1114 cpc_read(cpunum, lowest_reg, &low); in cppc_get_perf_caps()
1117 cpc_read(cpunum, nominal_reg, &nom); in cppc_get_perf_caps()
1124 cpc_read(cpunum, guaranteed_reg, &guaranteed); in cppc_get_perf_caps()
1136 cpc_read(cpunum, low_freq_reg, &low_f); in cppc_get_perf_caps()
1139 cpc_read(cpunum, nom_freq_reg, &nom_f); in cppc_get_perf_caps()
1203 cpc_read(cpunum, delivered_reg, &delivered); in cppc_get_perf_ctrs()
1204 cpc_read(cpunum, reference_reg, &reference); in cppc_get_perf_ctrs()
[all …]
/linux/arch/x86/kernel/acpi/
A Dcppc_msr.c17 int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val) in cpc_read_ffh() argument
21 err = rdmsrl_safe_on_cpu(cpunum, reg->address, val); in cpc_read_ffh()
32 int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh() argument
37 err = rdmsrl_safe_on_cpu(cpunum, reg->address, &rd_val); in cpc_write_ffh()
46 err = wrmsrl_safe_on_cpu(cpunum, reg->address, rd_val); in cpc_write_ffh()
/linux/arch/parisc/kernel/
A Dprocessor.c66 init_percpu_prof(unsigned long cpunum) in init_percpu_prof() argument
320 int __init init_per_cpu(int cpunum) in init_per_cpu() argument
328 store_cpu_topology(cpunum); in init_per_cpu()
336 per_cpu(cpu_data, cpunum).fp_rev = coproc_cfg.revision; in init_per_cpu()
337 per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; in init_per_cpu()
339 if (cpunum == 0) in init_per_cpu()
341 cpunum, coproc_cfg.revision, coproc_cfg.model); in init_per_cpu()
363 init_percpu_prof(cpunum); in init_per_cpu()
A Dsmp.c273 smp_cpu_init(int cpunum) in smp_cpu_init() argument
279 init_per_cpu(cpunum); in smp_cpu_init()
286 if (cpu_online(cpunum)) { in smp_cpu_init()
289 printk(KERN_CRIT "CPU#%d already initialized!\n", cpunum); in smp_cpu_init()
293 notify_cpu_starting(cpunum); in smp_cpu_init()
295 set_cpu_online(cpunum, true); in smp_cpu_init()
A Dsetup.c383 int ret, cpunum; in start_parisc() local
389 cpunum = smp_processor_id(); in start_parisc()
399 per_cpu(cpu_data, cpunum).fp_rev = coproc_cfg.revision; in start_parisc()
400 per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; in start_parisc()
/linux/tools/testing/selftests/netfilter/
A Dnft_trans_stress.sh52 lscpu | grep ^CPU\(s\): | ( read cpu cpunum ;
53 cpunum=$((cpunum-1))
54 for i in $(seq 0 $cpunum);do
/linux/arch/x86/include/asm/
A Dsmp.h133 int common_cpu_up(unsigned int cpunum, struct task_struct *tidle);
134 int native_cpu_up(unsigned int cpunum, struct task_struct *tidle);
/linux/kernel/
A Dreboot.c836 unsigned int cpunum; in cpu_store() local
842 rc = kstrtouint(buf, 0, &cpunum); in cpu_store()
847 if (cpunum >= num_possible_cpus()) in cpu_store()
851 reboot_cpu = cpunum; in cpu_store()
/linux/arch/ia64/kernel/
A Dsetup.c656 # define cpunum c->cpu in show_cpuinfo() macro
659 # define cpunum 0 in show_cpuinfo()
696 proc_freq = cpufreq_quick_get(cpunum); in show_cpuinfo()
715 cpunum, c->vendor, c->family, c->model, in show_cpuinfo()
723 cpumask_weight(&cpu_core_map[cpunum])); in show_cpuinfo()
/linux/drivers/base/
A Dcpu.c148 int cpunum; in crash_notes_show() local
150 cpunum = cpu->dev.id; in crash_notes_show()
158 addr = per_cpu_ptr_to_phys(per_cpu_ptr(crash_notes, cpunum)); in crash_notes_show()
/linux/include/linux/
A Dsmp.h139 extern int __cpu_up(unsigned int cpunum, struct task_struct *tidle);
/linux/arch/arm64/kernel/
A Dtopology.c370 int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh() argument
/linux/kernel/debug/kdb/
A Dkdb_main.c2239 unsigned long cpunum; in kdb_cpu() local
2250 diag = kdbgetularg(argv[1], &cpunum); in kdb_cpu()
2257 if ((cpunum >= CONFIG_NR_CPUS) || !kgdb_info[cpunum].enter_kgdb) in kdb_cpu()
2260 dbg_switch_cpu = cpunum; in kdb_cpu()
/linux/drivers/cpufreq/
A Dintel_pstate.c2387 static int intel_pstate_init_cpu(unsigned int cpunum) in intel_pstate_init_cpu() argument
2391 cpu = all_cpu_data[cpunum]; in intel_pstate_init_cpu()
2398 WRITE_ONCE(all_cpu_data[cpunum], cpu); in intel_pstate_init_cpu()
2400 cpu->cpu = cpunum; in intel_pstate_init_cpu()
2427 pr_debug("controlling: cpu %d\n", cpunum); in intel_pstate_init_cpu()
2905 static void intel_cpufreq_adjust_perf(unsigned int cpunum, in intel_cpufreq_adjust_perf() argument
2910 struct cpudata *cpu = all_cpu_data[cpunum]; in intel_cpufreq_adjust_perf()

Completed in 28 milliseconds