Lines Matching refs:cdev

484 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev,  in cpufreq_get_max_state()  argument
487 struct cpufreq_cooling_device *cpufreq_device = cdev->devdata; in cpufreq_get_max_state()
503 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state() argument
506 struct cpufreq_cooling_device *cpufreq_device = cdev->devdata; in cpufreq_get_cur_state()
523 static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev, in cpufreq_set_cur_state() argument
526 struct cpufreq_cooling_device *cpufreq_device = cdev->devdata; in cpufreq_set_cur_state()
570 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev, in cpufreq_get_requested_power() argument
577 struct cpufreq_cooling_device *cpufreq_device = cdev->devdata; in cpufreq_get_requested_power()
650 static int cpufreq_state2power(struct thermal_cooling_device *cdev, in cpufreq_state2power() argument
658 struct cpufreq_cooling_device *cpufreq_device = cdev->devdata; in cpufreq_state2power()
702 static int cpufreq_power2state(struct thermal_cooling_device *cdev, in cpufreq_power2state() argument
710 struct cpufreq_cooling_device *cpufreq_device = cdev->devdata; in cpufreq_power2state()
731 dev_warn_ratelimited(&cdev->device, in cpufreq_power2state()
1028 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) in cpufreq_cooling_unregister() argument
1032 if (!cdev) in cpufreq_cooling_unregister()
1035 cpufreq_dev = cdev->devdata; in cpufreq_cooling_unregister()