Lines Matching refs:cpufreq_cooling_device
70 struct cpufreq_cooling_device { struct
91 static unsigned long get_level(struct cpufreq_cooling_device *cpufreq_cdev, in get_level() argument
108 static u32 cpu_freq_to_power(struct cpufreq_cooling_device *cpufreq_cdev, in cpu_freq_to_power()
129 static u32 cpu_power_to_freq(struct cpufreq_cooling_device *cpufreq_cdev, in cpu_power_to_freq()
162 static u32 get_load(struct cpufreq_cooling_device *cpufreq_cdev, int cpu, in get_load()
170 static u32 get_load(struct cpufreq_cooling_device *cpufreq_cdev, int cpu, in get_load()
201 static u32 get_dynamic_power(struct cpufreq_cooling_device *cpufreq_cdev, in get_dynamic_power()
238 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_requested_power()
279 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_state2power()
321 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_power2state()
334 static inline bool em_is_sane(struct cpufreq_cooling_device *cpufreq_cdev, in em_is_sane()
363 static inline int allocate_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) in allocate_idle_time()
368 static inline void free_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) in free_idle_time()
372 static int allocate_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) in allocate_idle_time()
385 static void free_idle_time(struct cpufreq_cooling_device *cpufreq_cdev) in free_idle_time()
392 static unsigned int get_state_freq(struct cpufreq_cooling_device *cpufreq_cdev, in get_state_freq()
440 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_max_state()
459 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_get_cur_state()
479 struct cpufreq_cooling_device *cpufreq_cdev = cdev->devdata; in cpufreq_set_cur_state()
523 struct cpufreq_cooling_device *cpufreq_cdev; in __cpufreq_cooling_register()
686 struct cpufreq_cooling_device *cpufreq_cdev; in cpufreq_cooling_unregister()