Home
last modified time | relevance | path

Searched refs:cpufreq_cdev (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/thermal/
H A Dcpufreq_cooling.c86 * @cpufreq_cdev: cpufreq_cdev for which the property is required
91 static unsigned long get_level(struct cpufreq_cooling_device *cpufreq_cdev, in get_level() argument
96 for (i = cpufreq_cdev->max_level - 1; i >= 0; i--) { in get_level()
97 if (freq > cpufreq_cdev->em->table[i].frequency) in get_level()
101 return cpufreq_cdev->max_level - i - 1; in get_level()
104 static u32 cpu_freq_to_power(struct cpufreq_cooling_device *cpufreq_cdev, in cpu_freq_to_power() argument
110 for (i = cpufreq_cdev->max_level - 1; i >= 0; i--) { in cpu_freq_to_power()
111 if (freq > cpufreq_cdev->em->table[i].frequency) in cpu_freq_to_power()
115 power_mw = cpufreq_cdev in cpu_freq_to_power()
121 cpu_power_to_freq(struct cpufreq_cooling_device *cpufreq_cdev, u32 power) cpu_power_to_freq() argument
148 get_load(struct cpufreq_cooling_device *cpufreq_cdev, int cpu, int cpu_idx) get_load() argument
156 get_load(struct cpufreq_cooling_device *cpufreq_cdev, int cpu, int cpu_idx) get_load() argument
187 get_dynamic_power(struct cpufreq_cooling_device *cpufreq_cdev, unsigned long freq) get_dynamic_power() argument
224 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_get_requested_power() local
266 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_state2power() local
301 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_power2state() local
314 em_is_sane(struct cpufreq_cooling_device *cpufreq_cdev, struct em_perf_domain *em) em_is_sane() argument
343 allocate_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) allocate_idle_time() argument
348 free_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) free_idle_time() argument
352 allocate_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) allocate_idle_time() argument
365 free_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) free_idle_time() argument
372 get_state_freq(struct cpufreq_cooling_device *cpufreq_cdev, unsigned long state) get_state_freq() argument
411 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_get_max_state() local
430 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_get_cur_state() local
450 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_set_cur_state() local
497 struct cpufreq_cooling_device *cpufreq_cdev; __cpufreq_cooling_register() local
660 struct cpufreq_cooling_device *cpufreq_cdev; cpufreq_cooling_unregister() local
[all...]
/kernel/linux/linux-5.10/drivers/thermal/
H A Dcpufreq_cooling.c90 * @cpufreq_cdev: cpufreq_cdev for which the property is required
95 static unsigned long get_level(struct cpufreq_cooling_device *cpufreq_cdev, in get_level() argument
100 for (i = cpufreq_cdev->max_level - 1; i >= 0; i--) { in get_level()
101 if (freq > cpufreq_cdev->em->table[i].frequency) in get_level()
105 return cpufreq_cdev->max_level - i - 1; in get_level()
108 static u32 cpu_freq_to_power(struct cpufreq_cooling_device *cpufreq_cdev, in cpu_freq_to_power() argument
113 for (i = cpufreq_cdev->max_level - 1; i >= 0; i--) { in cpu_freq_to_power()
114 if (freq > cpufreq_cdev->em->table[i].frequency) in cpu_freq_to_power()
118 return cpufreq_cdev in cpu_freq_to_power()
121 cpu_power_to_freq(struct cpufreq_cooling_device *cpufreq_cdev, u32 power) cpu_power_to_freq() argument
143 get_load(struct cpufreq_cooling_device *cpufreq_cdev, int cpu, int cpu_idx) get_load() argument
173 get_dynamic_power(struct cpufreq_cooling_device *cpufreq_cdev, unsigned long freq) get_dynamic_power() argument
210 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_get_requested_power() local
269 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_state2power() local
308 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_power2state() local
321 em_is_sane(struct cpufreq_cooling_device *cpufreq_cdev, struct em_perf_domain *em) em_is_sane() argument
349 get_state_freq(struct cpufreq_cooling_device *cpufreq_cdev, unsigned long state) get_state_freq() argument
388 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_get_max_state() local
407 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_get_cur_state() local
427 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; cpufreq_set_cur_state() local
486 struct cpufreq_cooling_device *cpufreq_cdev; __cpufreq_cooling_register() local
661 struct cpufreq_cooling_device *cpufreq_cdev; cpufreq_cooling_unregister() local
[all...]

Completed in 2 milliseconds