Lines Matching defs:cpu
229 int cpu; member
355 static void intel_pstate_set_itmt_prio(int cpu) in intel_pstate_set_itmt_prio()
399 static int intel_pstate_get_cppc_guaranteed(int cpu) in intel_pstate_get_cppc_guaranteed()
414 static int intel_pstate_cppc_get_scaling(int cpu) in intel_pstate_cppc_get_scaling()
434 static inline void intel_pstate_set_itmt_prio(int cpu) in intel_pstate_set_itmt_prio()
441 struct cpudata *cpu; in intel_pstate_init_acpi_perf_limits() local
497 struct cpudata *cpu; in intel_pstate_exit_perf_limits() local
521 static inline int intel_pstate_get_cppc_guaranteed(int cpu) in intel_pstate_get_cppc_guaranteed()
526 static int intel_pstate_cppc_get_scaling(int cpu) in intel_pstate_cppc_get_scaling()
532 static int intel_pstate_freq_to_hwp_rel(struct cpudata *cpu, int freq, in intel_pstate_freq_to_hwp_rel()
551 static int intel_pstate_freq_to_hwp(struct cpudata *cpu, int freq) in intel_pstate_freq_to_hwp()
567 static void intel_pstate_hybrid_hwp_adjust(struct cpudata *cpu) in intel_pstate_hybrid_hwp_adjust()
609 struct cpudata *cpu = all_cpu_data[0]; in min_perf_pct_min() local
655 static int intel_pstate_set_epb(int cpu, s16 pref) in intel_pstate_set_epb()
747 static int intel_pstate_set_epp(struct cpudata *cpu, u32 epp) in intel_pstate_set_epp()
828 struct cpudata *cpu = all_cpu_data[policy->cpu]; in store_energy_performance_preference() local
913 struct cpudata *cpu = all_cpu_data[policy->cpu]; in show_base_frequency() local
940 static void __intel_pstate_get_hwp_cap(struct cpudata *cpu) in __intel_pstate_get_hwp_cap()
950 static void intel_pstate_get_hwp_cap(struct cpudata *cpu) in intel_pstate_get_hwp_cap()
968 static void intel_pstate_hwp_set(unsigned int cpu) in intel_pstate_hwp_set()
1033 static void intel_pstate_hwp_offline(struct cpudata *cpu) in intel_pstate_hwp_offline()
1102 static void intel_pstate_hwp_reenable(struct cpudata *cpu) in intel_pstate_hwp_reenable()
1110 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_suspend() local
1124 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_resume() local
1150 int cpu; in intel_pstate_update_policies() local
1164 static void intel_pstate_update_max_freq(unsigned int cpu) in intel_pstate_update_max_freq()
1176 static void intel_pstate_update_limits(unsigned int cpu) in intel_pstate_update_limits()
1236 struct cpudata *cpu; in show_turbo_pct() local
1262 struct cpudata *cpu; in show_num_pstates() local
1333 struct cpudata *cpu = all_cpu_data[0]; in store_no_turbo() local
1358 struct cpudata *cpu = all_cpu_data[i]; in update_qos_request() local
1859 static int core_get_min_pstate(int cpu) in core_get_min_pstate()
1867 static int core_get_max_pstate_physical(int cpu) in core_get_max_pstate_physical()
1875 static int core_get_tdp_ratio(int cpu, u64 plat_info) in core_get_tdp_ratio()
1908 static int core_get_max_pstate(int cpu) in core_get_max_pstate()
1943 static int core_get_turbo_pstate(int cpu) in core_get_turbo_pstate()
1972 static int knl_get_turbo_pstate(int cpu) in knl_get_turbo_pstate()
1992 static int hwp_get_cpu_scaling(int cpu) in hwp_get_cpu_scaling()
2016 static void intel_pstate_set_pstate(struct cpudata *cpu, int pstate) in intel_pstate_set_pstate()
2029 static void intel_pstate_set_min_pstate(struct cpudata *cpu) in intel_pstate_set_min_pstate()
2034 static void intel_pstate_max_within_limits(struct cpudata *cpu) in intel_pstate_max_within_limits()
2042 static void intel_pstate_get_cpu_pstates(struct cpudata *cpu) in intel_pstate_get_cpu_pstates()
2090 static inline void intel_pstate_hwp_boost_up(struct cpudata *cpu) in intel_pstate_hwp_boost_up()
2137 static inline void intel_pstate_hwp_boost_down(struct cpudata *cpu) in intel_pstate_hwp_boost_down()
2153 static inline void intel_pstate_update_util_hwp_local(struct cpudata *cpu, in intel_pstate_update_util_hwp_local()
2185 struct cpudata *cpu = container_of(data, struct cpudata, update_util); in intel_pstate_update_util_hwp() local
2193 static inline void intel_pstate_calc_avg_perf(struct cpudata *cpu) in intel_pstate_calc_avg_perf()
2200 static inline bool intel_pstate_sample(struct cpudata *cpu, u64 time) in intel_pstate_sample()
2242 static inline int32_t get_avg_frequency(struct cpudata *cpu) in get_avg_frequency()
2247 static inline int32_t get_avg_pstate(struct cpudata *cpu) in get_avg_pstate()
2253 static inline int32_t get_target_pstate(struct cpudata *cpu) in get_target_pstate()
2288 static int intel_pstate_prepare_request(struct cpudata *cpu, int pstate) in intel_pstate_prepare_request()
2296 static void intel_pstate_update_pstate(struct cpudata *cpu, int pstate) in intel_pstate_update_pstate()
2305 static void intel_pstate_adjust_pstate(struct cpudata *cpu) in intel_pstate_adjust_pstate()
2333 struct cpudata *cpu = container_of(data, struct cpudata, update_util); in intel_pstate_update_util() local
2458 struct cpudata *cpu; in intel_pstate_init_cpu() local
2500 struct cpudata *cpu = all_cpu_data[cpu_num]; in intel_pstate_set_update_util_hook() local
2517 static void intel_pstate_clear_update_util_hook(unsigned int cpu) in intel_pstate_clear_update_util_hook()
2529 static int intel_pstate_get_max_freq(struct cpudata *cpu) in intel_pstate_get_max_freq()
2535 static void intel_pstate_update_perf_limits(struct cpudata *cpu, in intel_pstate_update_perf_limits()
2600 struct cpudata *cpu; in intel_pstate_set_policy() local
2647 static void intel_pstate_adjust_policy_max(struct cpudata *cpu, in intel_pstate_adjust_policy_max()
2659 static void intel_pstate_verify_cpu_policy(struct cpudata *cpu, in intel_pstate_verify_cpu_policy()
2686 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_cpu_offline() local
2711 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_cpu_online() local
2747 struct cpudata *cpu; in __intel_pstate_cpu_init() local
2790 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_cpu_init() local
2814 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_verify_policy() local
2838 static void intel_cpufreq_trace(struct cpudata *cpu, unsigned int trace_type, int old_pstate) in intel_cpufreq_trace()
2860 static void intel_cpufreq_hwp_update(struct cpudata *cpu, u32 min, u32 max, in intel_cpufreq_hwp_update()
2884 static void intel_cpufreq_perf_ctl_update(struct cpudata *cpu, in intel_cpufreq_perf_ctl_update()
2898 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_update_pstate() local
2924 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_target() local
2948 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_fast_switch() local
2965 struct cpudata *cpu = all_cpu_data[cpunum]; in intel_cpufreq_adjust_perf() local
3008 struct cpudata *cpu; in intel_cpufreq_cpu_init() local
3097 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_suspend() local
3132 unsigned int cpu; in intel_pstate_driver_cleanup() local