Lines Matching defs:cpufreq_cdev
91 static unsigned long get_level(struct cpufreq_cooling_device *cpufreq_cdev, in get_level()
104 static u32 cpu_freq_to_power(struct cpufreq_cooling_device *cpufreq_cdev, in cpu_freq_to_power()
121 static u32 cpu_power_to_freq(struct cpufreq_cooling_device *cpufreq_cdev, in cpu_power_to_freq()
148 static u32 get_load(struct cpufreq_cooling_device *cpufreq_cdev, int cpu, in get_load()
156 static u32 get_load(struct cpufreq_cooling_device *cpufreq_cdev, int cpu, in get_load()
187 static u32 get_dynamic_power(struct cpufreq_cooling_device *cpufreq_cdev, in get_dynamic_power()
224 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_requested_power() local
266 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_state2power() local
301 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_power2state() local
314 static inline bool em_is_sane(struct cpufreq_cooling_device *cpufreq_cdev, in em_is_sane()
343 static inline int allocate_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) in allocate_idle_time()
348 static inline void free_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) in free_idle_time()
352 static int allocate_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) in allocate_idle_time()
365 static void free_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) in free_idle_time()
372 static unsigned int get_state_freq(struct cpufreq_cooling_device *cpufreq_cdev, in get_state_freq()
411 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_max_state() local
430 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_cur_state() local
450 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_set_cur_state() local
497 struct cpufreq_cooling_device *cpufreq_cdev; in __cpufreq_cooling_register() local
660 struct cpufreq_cooling_device *cpufreq_cdev; in cpufreq_cooling_unregister() local