Searched refs:cpufreq_device (Results 1 – 1 of 1) sorted by relevance
223 struct cpufreq_cooling_device *cpufreq_device = cdev->devdata; in cpufreq_get_max_state() local225 *state = cpufreq_device->max_level; in cpufreq_get_max_state()242 struct cpufreq_cooling_device *cpufreq_device = cdev->devdata; in cpufreq_get_cur_state() local244 *state = cpufreq_device->cpufreq_state; in cpufreq_get_cur_state()262 struct cpufreq_cooling_device *cpufreq_device = cdev->devdata; in cpufreq_set_cur_state() local263 unsigned int cpu = cpumask_any(&cpufreq_device->allowed_cpus); in cpufreq_set_cur_state()267 if (WARN_ON(state > cpufreq_device->max_level)) in cpufreq_set_cur_state()271 if (cpufreq_device->cpufreq_state == state) in cpufreq_set_cur_state()274 clip_freq = cpufreq_device->freq_table[state]; in cpufreq_set_cur_state()275 cpufreq_device->cpufreq_state = state; in cpufreq_set_cur_state()[all …]