Searched refs:cpunum (Results 1 – 3 of 3) sorted by relevance
/drivers/acpi/ |
D | cppc_acpi.c | 963 int __weak cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val) in cpc_read_ffh() argument 978 int __weak cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh() argument 1135 static int cppc_get_perf(int cpunum, enum cppc_regs reg_idx, u64 *perf) in cppc_get_perf() argument 1137 struct cpc_desc *cpc_desc = per_cpu(cpc_desc_ptr, cpunum); in cppc_get_perf() 1141 pr_debug("No CPC descriptor for CPU:%d\n", cpunum); in cppc_get_perf() 1148 int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpunum); in cppc_get_perf() 1160 cpc_read(cpunum, reg, perf); in cppc_get_perf() 1169 cpc_read(cpunum, reg, perf); in cppc_get_perf() 1181 int cppc_get_desired_perf(int cpunum, u64 *desired_perf) in cppc_get_desired_perf() argument 1183 return cppc_get_perf(cpunum, DESIRED_PERF, desired_perf); in cppc_get_desired_perf() [all …]
|
/drivers/base/ |
D | cpu.c | 156 int cpunum; in crash_notes_show() local 158 cpunum = cpu->dev.id; in crash_notes_show() 166 addr = per_cpu_ptr_to_phys(per_cpu_ptr(crash_notes, cpunum)); in crash_notes_show()
|
/drivers/cpufreq/ |
D | intel_pstate.c | 2455 static int intel_pstate_init_cpu(unsigned int cpunum) in intel_pstate_init_cpu() argument 2459 cpu = all_cpu_data[cpunum]; in intel_pstate_init_cpu() 2466 WRITE_ONCE(all_cpu_data[cpunum], cpu); in intel_pstate_init_cpu() 2468 cpu->cpu = cpunum; in intel_pstate_init_cpu() 2492 pr_debug("controlling: cpu %d\n", cpunum); in intel_pstate_init_cpu() 2959 static void intel_cpufreq_adjust_perf(unsigned int cpunum, in intel_cpufreq_adjust_perf() argument 2964 struct cpudata *cpu = all_cpu_data[cpunum]; in intel_cpufreq_adjust_perf()
|