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
718 static int intel_pstate_set_epp(struct cpudata *cpu, u32 epp) in intel_pstate_set_epp()
795 struct cpudata *cpu = all_cpu_data[policy->cpu]; in store_energy_performance_preference() local
880 struct cpudata *cpu = all_cpu_data[policy->cpu]; in show_base_frequency() local
986 static bool hybrid_register_perf_domain(unsigned int cpu) in hybrid_register_perf_domain()
1016 unsigned int cpu; in hybrid_register_all_perf_domains() local
1022 static void hybrid_update_perf_domain(struct cpudata *cpu) in hybrid_update_perf_domain()
1028 static inline bool hybrid_register_perf_domain(unsigned int cpu) { return false; } in hybrid_register_perf_domain()
1030 static inline void hybrid_update_perf_domain(struct cpudata *cpu) {} in hybrid_update_perf_domain()
1033 static void hybrid_set_cpu_capacity(struct cpudata *cpu) in hybrid_set_cpu_capacity()
1053 static void hybrid_get_capacity_perf(struct cpudata *cpu) in hybrid_get_capacity_perf()
1068 struct cpudata *cpu = all_cpu_data[cpunum]; in hybrid_set_capacity_of_cpus() local
1082 struct cpudata *cpu = all_cpu_data[cpunum]; in hybrid_update_cpu_capacity_scaling() local
1180 static void __intel_pstate_get_hwp_cap(struct cpudata *cpu) in __intel_pstate_get_hwp_cap()
1190 static void intel_pstate_get_hwp_cap(struct cpudata *cpu) in intel_pstate_get_hwp_cap()
1208 static void hybrid_update_capacity(struct cpudata *cpu) in hybrid_update_capacity()
1253 static void intel_pstate_hwp_set(unsigned int cpu) in intel_pstate_hwp_set()
1317 static void intel_pstate_hwp_offline(struct cpudata *cpu) in intel_pstate_hwp_offline()
1405 static void intel_pstate_hwp_reenable(struct cpudata *cpu) in intel_pstate_hwp_reenable()
1413 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_suspend() local
1427 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_resume() local
1453 int cpu; in intel_pstate_update_policies() local
1495 int cpu; in intel_pstate_update_limits_for_all() local
1547 struct cpudata *cpu; in show_turbo_pct() local
1573 struct cpudata *cpu; in show_num_pstates() local
1647 struct cpudata *cpu = all_cpu_data[0]; in store_no_turbo() local
1666 static void update_cpu_qos_request(int cpu, enum freq_qos_req_type type) in update_cpu_qos_request()
2172 static int core_get_min_pstate(int cpu) in core_get_min_pstate()
2180 static int core_get_max_pstate_physical(int cpu) in core_get_max_pstate_physical()
2188 static int core_get_tdp_ratio(int cpu, u64 plat_info) in core_get_tdp_ratio()
2221 static int core_get_max_pstate(int cpu) in core_get_max_pstate()
2256 static int core_get_turbo_pstate(int cpu) in core_get_turbo_pstate()
2285 static int knl_get_turbo_pstate(int cpu) in knl_get_turbo_pstate()
2298 static int hwp_get_cpu_scaling(int cpu) in hwp_get_cpu_scaling()
2327 static void intel_pstate_set_pstate(struct cpudata *cpu, int pstate) in intel_pstate_set_pstate()
2340 static void intel_pstate_set_min_pstate(struct cpudata *cpu) in intel_pstate_set_min_pstate()
2345 static void intel_pstate_get_cpu_pstates(struct cpudata *cpu) in intel_pstate_get_cpu_pstates()
2400 static inline void intel_pstate_hwp_boost_up(struct cpudata *cpu) in intel_pstate_hwp_boost_up()
2447 static inline void intel_pstate_hwp_boost_down(struct cpudata *cpu) in intel_pstate_hwp_boost_down()
2463 static inline void intel_pstate_update_util_hwp_local(struct cpudata *cpu, in intel_pstate_update_util_hwp_local()
2495 struct cpudata *cpu = container_of(data, struct cpudata, update_util); in intel_pstate_update_util_hwp() local
2503 static inline void intel_pstate_calc_avg_perf(struct cpudata *cpu) in intel_pstate_calc_avg_perf()
2510 static inline bool intel_pstate_sample(struct cpudata *cpu, u64 time) in intel_pstate_sample()
2552 static inline int32_t get_avg_frequency(struct cpudata *cpu) in get_avg_frequency()
2557 static inline int32_t get_avg_pstate(struct cpudata *cpu) in get_avg_pstate()
2563 static inline int32_t get_target_pstate(struct cpudata *cpu) in get_target_pstate()
2598 static int intel_pstate_prepare_request(struct cpudata *cpu, int pstate) in intel_pstate_prepare_request()
2606 static void intel_pstate_update_pstate(struct cpudata *cpu, int pstate) in intel_pstate_update_pstate()
2615 static void intel_pstate_adjust_pstate(struct cpudata *cpu) in intel_pstate_adjust_pstate()
2641 struct cpudata *cpu = container_of(data, struct cpudata, update_util); in intel_pstate_update_util() local
2775 struct cpudata *cpu; in intel_pstate_init_cpu() local
2817 struct cpudata *cpu = all_cpu_data[cpu_num]; in intel_pstate_set_update_util_hook() local
2834 static void intel_pstate_clear_update_util_hook(unsigned int cpu) in intel_pstate_clear_update_util_hook()
2846 static int intel_pstate_get_max_freq(struct cpudata *cpu) in intel_pstate_get_max_freq()
2852 static void intel_pstate_update_perf_limits(struct cpudata *cpu, in intel_pstate_update_perf_limits()
2917 struct cpudata *cpu; in intel_pstate_set_policy() local
2966 static void intel_pstate_adjust_policy_max(struct cpudata *cpu, in intel_pstate_adjust_policy_max()
2978 static void intel_pstate_verify_cpu_policy(struct cpudata *cpu, in intel_pstate_verify_cpu_policy()
3004 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_cpu_offline() local
3029 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_cpu_online() local
3065 struct cpudata *cpu; in __intel_pstate_cpu_init() local
3106 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_pstate_cpu_init() local
3130 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_verify_policy() local
3154 static void intel_cpufreq_trace(struct cpudata *cpu, unsigned int trace_type, int old_pstate) in intel_cpufreq_trace()
3176 static void intel_cpufreq_hwp_update(struct cpudata *cpu, u32 min, u32 max, in intel_cpufreq_hwp_update()
3200 static void intel_cpufreq_perf_ctl_update(struct cpudata *cpu, in intel_cpufreq_perf_ctl_update()
3214 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_update_pstate() local
3240 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_target() local
3262 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_fast_switch() local
3277 struct cpudata *cpu = all_cpu_data[cpunum]; in intel_cpufreq_adjust_perf() local
3320 struct cpudata *cpu; in intel_cpufreq_cpu_init() local
3409 struct cpudata *cpu = all_cpu_data[policy->cpu]; in intel_cpufreq_suspend() local
3444 unsigned int cpu; in intel_pstate_driver_cleanup() local