Lines Matching defs:cpu

230 	int cpu;  member
362 static void intel_pstate_set_itmt_prio(int cpu) in intel_pstate_set_itmt_prio()
405 static int intel_pstate_get_cppc_guaranteed(int cpu) in intel_pstate_get_cppc_guaranteed()
420 static int intel_pstate_cppc_get_scaling(int cpu) in intel_pstate_cppc_get_scaling()
437 static inline void intel_pstate_set_itmt_prio(int cpu) in intel_pstate_set_itmt_prio()
444 struct cpudata *cpu; in intel_pstate_init_acpi_perf_limits() local
500 struct cpudata *cpu; in intel_pstate_exit_perf_limits() local
524 static inline int intel_pstate_get_cppc_guaranteed(int cpu) in intel_pstate_get_cppc_guaranteed()
529 static int intel_pstate_cppc_get_scaling(int cpu) in intel_pstate_cppc_get_scaling()
535 static int intel_pstate_freq_to_hwp_rel(struct cpudata *cpu, int freq, in intel_pstate_freq_to_hwp_rel()
554 static int intel_pstate_freq_to_hwp(struct cpudata *cpu, int freq) in intel_pstate_freq_to_hwp()
570 static void intel_pstate_hybrid_hwp_adjust(struct cpudata *cpu) in intel_pstate_hybrid_hwp_adjust()
616 struct cpudata *cpu = all_cpu_data[0]; in min_perf_pct_min() local
662 static int intel_pstate_set_epb(int cpu, s16 pref) in intel_pstate_set_epb()
754 static int intel_pstate_set_epp(struct cpudata *cpu, u32 epp) in intel_pstate_set_epp()
835 struct cpudata *cpu = all_cpu_data[policy->cpu]; in store_energy_performance_preference() local
920 struct cpudata *cpu = all_cpu_data[policy->cpu]; in show_base_frequency() local
1018 static bool hybrid_register_perf_domain(unsigned int cpu) in hybrid_register_perf_domain()
1048 unsigned int cpu; in hybrid_register_all_perf_domains() local
1054 static void hybrid_update_perf_domain(struct cpudata *cpu) in hybrid_update_perf_domain()
1060 static inline bool hybrid_register_perf_domain(unsigned int cpu) { return false; } in hybrid_register_perf_domain()
1062 static inline void hybrid_update_perf_domain(struct cpudata *cpu) {} in hybrid_update_perf_domain()
1065 static void hybrid_set_cpu_capacity(struct cpudata *cpu) in hybrid_set_cpu_capacity()
1085 static void hybrid_get_capacity_perf(struct cpudata *cpu) in hybrid_get_capacity_perf()
1100 struct cpudata *cpu = all_cpu_data[cpunum]; in hybrid_set_capacity_of_cpus() local
1114 struct cpudata *cpu = all_cpu_data[cpunum]; in hybrid_update_cpu_capacity_scaling() local
1212 static void __intel_pstate_get_hwp_cap(struct cpudata *cpu) in __intel_pstate_get_hwp_cap()
1222 static void intel_pstate_get_hwp_cap(struct cpudata *cpu) in intel_pstate_get_hwp_cap()
1240 static void hybrid_update_capacity(struct cpudata *cpu) in hybrid_update_capacity()
1285 static void intel_pstate_hwp_set(unsigned int cpu) in intel_pstate_hwp_set()
1350 static void intel_pstate_hwp_offline(struct cpudata *cpu) in intel_pstate_hwp_offline()
1435 static void intel_pstate_hwp_reenable(struct cpudata *cpu) in intel_pstate_hwp_reenable()
1443 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_suspend() local
1457 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_resume() local
1483 int cpu; in intel_pstate_update_policies() local
1527 int cpu; in intel_pstate_update_limits_for_all() local
1579 struct cpudata *cpu; in show_turbo_pct() local
1605 struct cpudata *cpu; in show_num_pstates() local
1679 struct cpudata *cpu = all_cpu_data[0]; in store_no_turbo() local
1705 struct cpudata *cpu = all_cpu_data[i]; in update_qos_request() local
2205 static int core_get_min_pstate(int cpu) in core_get_min_pstate()
2213 static int core_get_max_pstate_physical(int cpu) in core_get_max_pstate_physical()
2221 static int core_get_tdp_ratio(int cpu, u64 plat_info) in core_get_tdp_ratio()
2254 static int core_get_max_pstate(int cpu) in core_get_max_pstate()
2289 static int core_get_turbo_pstate(int cpu) in core_get_turbo_pstate()
2318 static int knl_get_turbo_pstate(int cpu) in knl_get_turbo_pstate()
2331 static int hwp_get_cpu_scaling(int cpu) in hwp_get_cpu_scaling()
2360 static void intel_pstate_set_pstate(struct cpudata *cpu, int pstate) in intel_pstate_set_pstate()
2373 static void intel_pstate_set_min_pstate(struct cpudata *cpu) in intel_pstate_set_min_pstate()
2378 static void intel_pstate_get_cpu_pstates(struct cpudata *cpu) in intel_pstate_get_cpu_pstates()
2433 static inline void intel_pstate_hwp_boost_up(struct cpudata *cpu) in intel_pstate_hwp_boost_up()
2480 static inline void intel_pstate_hwp_boost_down(struct cpudata *cpu) in intel_pstate_hwp_boost_down()
2496 static inline void intel_pstate_update_util_hwp_local(struct cpudata *cpu, in intel_pstate_update_util_hwp_local()
2528 struct cpudata *cpu = container_of(data, struct cpudata, update_util); in intel_pstate_update_util_hwp() local
2536 static inline void intel_pstate_calc_avg_perf(struct cpudata *cpu) in intel_pstate_calc_avg_perf()
2543 static inline bool intel_pstate_sample(struct cpudata *cpu, u64 time) in intel_pstate_sample()
2585 static inline int32_t get_avg_frequency(struct cpudata *cpu) in get_avg_frequency()
2590 static inline int32_t get_avg_pstate(struct cpudata *cpu) in get_avg_pstate()
2596 static inline int32_t get_target_pstate(struct cpudata *cpu) in get_target_pstate()
2631 static int intel_pstate_prepare_request(struct cpudata *cpu, int pstate) in intel_pstate_prepare_request()
2639 static void intel_pstate_update_pstate(struct cpudata *cpu, int pstate) in intel_pstate_update_pstate()
2648 static void intel_pstate_adjust_pstate(struct cpudata *cpu) in intel_pstate_adjust_pstate()
2674 struct cpudata *cpu = container_of(data, struct cpudata, update_util); in intel_pstate_update_util() local
2808 struct cpudata *cpu; in intel_pstate_init_cpu() local
2850 struct cpudata *cpu = all_cpu_data[cpu_num]; in intel_pstate_set_update_util_hook() local
2867 static void intel_pstate_clear_update_util_hook(unsigned int cpu) in intel_pstate_clear_update_util_hook()
2879 static int intel_pstate_get_max_freq(struct cpudata *cpu) in intel_pstate_get_max_freq()
2885 static void intel_pstate_update_perf_limits(struct cpudata *cpu, in intel_pstate_update_perf_limits()
2950 struct cpudata *cpu; in intel_pstate_set_policy() local
2999 static void intel_pstate_adjust_policy_max(struct cpudata *cpu, in intel_pstate_adjust_policy_max()
3011 static void intel_pstate_verify_cpu_policy(struct cpudata *cpu, in intel_pstate_verify_cpu_policy()
3037 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_cpu_offline() local
3062 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_cpu_online() local
3098 struct cpudata *cpu; in __intel_pstate_cpu_init() local
3139 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_cpu_init() local
3163 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_verify_policy() local
3187 static void intel_cpufreq_trace(struct cpudata *cpu, unsigned int trace_type, int old_pstate) in intel_cpufreq_trace()
3209 static void intel_cpufreq_hwp_update(struct cpudata *cpu, u32 min, u32 max, in intel_cpufreq_hwp_update()
3233 static void intel_cpufreq_perf_ctl_update(struct cpudata *cpu, in intel_cpufreq_perf_ctl_update()
3247 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_update_pstate() local
3273 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_target() local
3295 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_fast_switch() local
3310 struct cpudata *cpu = all_cpu_data[cpunum]; in intel_cpufreq_adjust_perf() local
3353 struct cpudata *cpu; in intel_cpufreq_cpu_init() local
3442 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_suspend() local
3477 unsigned int cpu; in intel_pstate_driver_cleanup() local