/kernel/linux/linux-5.10/arch/x86/kernel/acpi/ |
D | cppc_msr.c | 17 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()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | cppc_acpi.c | 914 int __weak cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val) in cpc_read_ffh() argument 929 int __weak cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh() argument 1032 int cppc_get_desired_perf(int cpunum, u64 *desired_perf) in cppc_get_desired_perf() argument 1034 struct cpc_desc *cpc_desc = per_cpu(cpc_desc_ptr, cpunum); in cppc_get_desired_perf() 1035 int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpunum); in cppc_get_desired_perf() 1052 cpc_read(cpunum, desired_reg, desired_perf); in cppc_get_desired_perf() 1061 cpc_read(cpunum, desired_reg, desired_perf); in cppc_get_desired_perf() 1074 int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_perf_caps() argument 1076 struct cpc_desc *cpc_desc = per_cpu(cpc_desc_ptr, cpunum); in cppc_get_perf_caps() 1081 int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpunum); in cppc_get_perf_caps() [all …]
|
/kernel/linux/linux-5.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
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | processor.c | 66 init_percpu_prof(unsigned long cpunum) in init_percpu_prof() argument 321 int __init init_per_cpu(int cpunum) in init_per_cpu() argument 329 store_cpu_topology(cpunum); in init_per_cpu() 337 per_cpu(cpu_data, cpunum).fp_rev = coproc_cfg.revision; in init_per_cpu() 338 per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; in init_per_cpu() 340 if (cpunum == 0) in init_per_cpu() 342 cpunum, coproc_cfg.revision, coproc_cfg.model); in init_per_cpu() 364 init_percpu_prof(cpunum); in init_per_cpu()
|
D | smp.c | 271 smp_cpu_init(int cpunum) in smp_cpu_init() argument 277 init_per_cpu(cpunum); in smp_cpu_init() 284 if (cpu_online(cpunum)) { in smp_cpu_init() 287 printk(KERN_CRIT "CPU#%d already initialized!\n", cpunum); in smp_cpu_init() 291 notify_cpu_starting(cpunum); in smp_cpu_init() 293 set_cpu_online(cpunum, true); in smp_cpu_init()
|
D | setup.c | 385 int ret, cpunum; in start_parisc() local 391 cpunum = smp_processor_id(); in start_parisc() 401 per_cpu(cpu_data, cpunum).fp_rev = coproc_cfg.revision; in start_parisc() 402 per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; in start_parisc()
|
/kernel/linux/linux-5.10/include/acpi/ |
D | cppc_acpi.h | 136 extern int cppc_get_desired_perf(int cpunum, u64 *desired_perf); 143 extern int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val); 144 extern int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val);
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | cppc_cpufreq.c | 353 static unsigned int cppc_cpufreq_get_rate(unsigned int cpunum) in cppc_cpufreq_get_rate() argument 356 struct cppc_cpudata *cpu = all_cpu_data[cpunum]; in cppc_cpufreq_get_rate() 359 ret = cppc_get_perf_ctrs(cpunum, &fb_ctrs_t0); in cppc_cpufreq_get_rate() 365 ret = cppc_get_perf_ctrs(cpunum, &fb_ctrs_t1); in cppc_cpufreq_get_rate() 415 static unsigned int hisi_cppc_cpufreq_get_rate(unsigned int cpunum) in hisi_cppc_cpufreq_get_rate() argument 417 struct cppc_cpudata *cpudata = all_cpu_data[cpunum]; in hisi_cppc_cpufreq_get_rate() 421 ret = cppc_get_desired_perf(cpunum, &desired_perf); in hisi_cppc_cpufreq_get_rate()
|
D | intel_pstate.c | 2125 static int intel_pstate_init_cpu(unsigned int cpunum) in intel_pstate_init_cpu() argument 2129 cpu = all_cpu_data[cpunum]; in intel_pstate_init_cpu() 2136 all_cpu_data[cpunum] = cpu; in intel_pstate_init_cpu() 2138 cpu->cpu = cpunum; in intel_pstate_init_cpu() 2165 pr_debug("controlling: cpu %d\n", cpunum); in intel_pstate_init_cpu()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | smp.h | 125 int common_cpu_up(unsigned int cpunum, struct task_struct *tidle); 126 int native_cpu_up(unsigned int cpunum, struct task_struct *tidle);
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | setup.c | 657 # define cpunum c->cpu in show_cpuinfo() macro 660 # define cpunum 0 in show_cpuinfo() 697 proc_freq = cpufreq_quick_get(cpunum); in show_cpuinfo() 716 cpunum, c->vendor, c->family, c->model, in show_cpuinfo() 724 cpumask_weight(&cpu_core_map[cpunum])); in show_cpuinfo()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | smp.h | 111 extern int __cpu_up(unsigned int cpunum, struct task_struct *tidle);
|
/kernel/linux/linux-5.10/kernel/debug/kdb/ |
D | kdb_main.c | 2314 unsigned long cpunum; in kdb_cpu() local 2325 diag = kdbgetularg(argv[1], &cpunum); in kdb_cpu() 2332 if ((cpunum >= CONFIG_NR_CPUS) || !kgdb_info[cpunum].enter_kgdb) in kdb_cpu() 2335 dbg_switch_cpu = cpunum; in kdb_cpu()
|