/linux-5.19.10/include/acpi/ |
D | cppc_acpi.h | 137 extern int cppc_get_desired_perf(int cpunum, u64 *desired_perf); 138 extern int cppc_get_nominal_perf(int cpunum, u64 *nominal_perf); 149 extern int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val); 150 extern int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val); 152 static inline int cppc_get_desired_perf(int cpunum, u64 *desired_perf) in cppc_get_desired_perf() argument 156 static inline int cppc_get_nominal_perf(int cpunum, u64 *nominal_perf) in cppc_get_nominal_perf() argument 192 static inline int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val) in cpc_read_ffh() argument 196 static inline int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh() argument
|
/linux-5.19.10/drivers/acpi/ |
D | cppc_acpi.c | 950 int __weak cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val) in cpc_read_ffh() argument 965 int __weak cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh() argument 1089 static int cppc_get_perf(int cpunum, enum cppc_regs reg_idx, u64 *perf) in cppc_get_perf() argument 1091 struct cpc_desc *cpc_desc = per_cpu(cpc_desc_ptr, cpunum); in cppc_get_perf() 1095 pr_debug("No CPC descriptor for CPU:%d\n", cpunum); in cppc_get_perf() 1102 int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpunum); in cppc_get_perf() 1114 cpc_read(cpunum, reg, perf); in cppc_get_perf() 1123 cpc_read(cpunum, reg, perf); in cppc_get_perf() 1135 int cppc_get_desired_perf(int cpunum, u64 *desired_perf) in cppc_get_desired_perf() argument 1137 return cppc_get_perf(cpunum, DESIRED_PERF, desired_perf); in cppc_get_desired_perf() [all …]
|
/linux-5.19.10/arch/x86/kernel/acpi/ |
D | cppc.c | 35 int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val) in cpc_read_ffh() argument 39 err = rdmsrl_safe_on_cpu(cpunum, reg->address, val); in cpc_read_ffh() 50 int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh() argument 55 err = rdmsrl_safe_on_cpu(cpunum, reg->address, &rd_val); in cpc_write_ffh() 64 err = wrmsrl_safe_on_cpu(cpunum, reg->address, rd_val); in cpc_write_ffh()
|
/linux-5.19.10/tools/testing/selftests/netfilter/ |
D | nft_trans_stress.sh | 52 lscpu | grep ^CPU\(s\): | ( read cpu cpunum ; 53 cpunum=$((cpunum-1)) 54 for i in $(seq 0 $cpunum);do
|
/linux-5.19.10/arch/parisc/kernel/ |
D | processor.c | 67 init_percpu_prof(unsigned long cpunum) in init_percpu_prof() argument 322 int init_per_cpu(int cpunum) in init_per_cpu() argument 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()
|
D | smp.c | 272 smp_cpu_init(int cpunum) in smp_cpu_init() argument 278 init_per_cpu(cpunum); in smp_cpu_init() 285 if (cpu_online(cpunum)) { in smp_cpu_init() 288 printk(KERN_CRIT "CPU#%d already initialized!\n", cpunum); in smp_cpu_init() 292 notify_cpu_starting(cpunum); in smp_cpu_init() 294 set_cpu_online(cpunum, true); in smp_cpu_init()
|
D | setup.c | 396 int ret, cpunum; in start_parisc() local 402 cpunum = smp_processor_id(); in start_parisc() 412 per_cpu(cpu_data, cpunum).fp_rev = coproc_cfg.revision; in start_parisc() 413 per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; in start_parisc()
|
/linux-5.19.10/arch/x86/include/asm/ |
D | smp.h | 133 int common_cpu_up(unsigned int cpunum, struct task_struct *tidle); 134 int native_cpu_up(unsigned int cpunum, struct task_struct *tidle);
|
/linux-5.19.10/arch/ia64/kernel/ |
D | setup.c | 653 # define cpunum c->cpu in show_cpuinfo() macro 656 # define cpunum 0 in show_cpuinfo() 693 proc_freq = cpufreq_quick_get(cpunum); in show_cpuinfo() 712 cpunum, c->vendor, c->family, c->model, in show_cpuinfo() 720 cpumask_weight(&cpu_core_map[cpunum])); in show_cpuinfo()
|
/linux-5.19.10/kernel/ |
D | reboot.c | 1208 unsigned int cpunum; in cpu_store() local 1214 rc = kstrtouint(buf, 0, &cpunum); in cpu_store() 1219 if (cpunum >= num_possible_cpus()) in cpu_store() 1223 reboot_cpu = cpunum; in cpu_store()
|
/linux-5.19.10/drivers/base/ |
D | cpu.c | 148 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-5.19.10/include/linux/ |
D | smp.h | 139 extern int __cpu_up(unsigned int cpunum, struct task_struct *tidle);
|
/linux-5.19.10/arch/arm64/kernel/ |
D | topology.c | 398 int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh() argument
|
/linux-5.19.10/kernel/debug/kdb/ |
D | kdb_main.c | 2246 unsigned long cpunum; in kdb_cpu() local 2257 diag = kdbgetularg(argv[1], &cpunum); in kdb_cpu() 2264 if ((cpunum >= CONFIG_NR_CPUS) || !kgdb_info[cpunum].enter_kgdb) in kdb_cpu() 2267 dbg_switch_cpu = cpunum; in kdb_cpu()
|
/linux-5.19.10/drivers/cpufreq/ |
D | intel_pstate.c | 2443 static int intel_pstate_init_cpu(unsigned int cpunum) in intel_pstate_init_cpu() argument 2447 cpu = all_cpu_data[cpunum]; in intel_pstate_init_cpu() 2454 WRITE_ONCE(all_cpu_data[cpunum], cpu); in intel_pstate_init_cpu() 2456 cpu->cpu = cpunum; in intel_pstate_init_cpu() 2483 pr_debug("controlling: cpu %d\n", cpunum); in intel_pstate_init_cpu() 2957 static void intel_cpufreq_adjust_perf(unsigned int cpunum, in intel_cpufreq_adjust_perf() argument 2962 struct cpudata *cpu = all_cpu_data[cpunum]; in intel_cpufreq_adjust_perf()
|