Home
last modified time | relevance | path

Searched refs:control_cpu (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency.c45 if (data->control_cpu < 0) in uncore_read_control_freq()
48 ret = rdmsrl_on_cpu(data->control_cpu, MSR_UNCORE_RATIO_LIMIT, &cap); in uncore_read_control_freq()
68 if (data->control_cpu < 0) in uncore_write_control_freq()
71 ret = rdmsrl_on_cpu(data->control_cpu, MSR_UNCORE_RATIO_LIMIT, &cap); in uncore_write_control_freq()
83 ret = wrmsrl_on_cpu(data->control_cpu, MSR_UNCORE_RATIO_LIMIT, cap); in uncore_write_control_freq()
97 if (data->control_cpu < 0) in uncore_read_freq()
100 ret = rdmsrl_on_cpu(data->control_cpu, MSR_UNCORE_PERF_STATUS, &ratio); in uncore_read_freq()
184 wrmsrl_on_cpu(data->control_cpu, MSR_UNCORE_RATIO_LIMIT, in uncore_pm_notify()
Duncore-frequency-common.c186 data->control_cpu = cpu; in uncore_freq_add_entry()
196 data->control_cpu = cpu; in uncore_freq_add_entry()
211 data->control_cpu = -1; in uncore_freq_remove_die_entry()
Duncore-frequency-common.h40 int control_cpu; member
/linux-5.19.10/drivers/thermal/intel/
Dintel_powerclamp.c67 static unsigned int control_cpu; /* The cpu assigned to collect stat and update variable
418 if (w_data->cpu == control_cpu && in clamp_idle_injection_func()
534 control_cpu = 0; in start_power_clamp()
535 if (!cpu_online(control_cpu)) in start_power_clamp()
536 control_cpu = smp_processor_id(); in start_power_clamp()
572 control_cpu = 0; in powerclamp_cpu_online()
584 if (cpu != control_cpu) in powerclamp_cpu_predown()
587 control_cpu = cpumask_first(cpu_online_mask); in powerclamp_cpu_predown()
588 if (control_cpu == cpu) in powerclamp_cpu_predown()
589 control_cpu = cpumask_next(cpu, cpu_online_mask); in powerclamp_cpu_predown()
[all …]
/linux-5.19.10/tools/power/x86/intel-speed-select/
Disst.h122 int control_cpu; member
Disst-core.c808 ctdp_level->control_cpu = cpu; in isst_get_process_ctdp()