Lines Matching refs:cdev
92 struct thermal_cooling_device *cdev; member
301 struct thermal_cooling_device *cdev) in imx_bind() argument
305 ret = thermal_zone_bind_cooling_device(tz, IMX_TRIP_PASSIVE, cdev, in imx_bind()
312 tz->type, cdev->type, ret); in imx_bind()
320 struct thermal_cooling_device *cdev) in imx_unbind() argument
324 ret = thermal_zone_unbind_cooling_device(tz, IMX_TRIP_PASSIVE, cdev); in imx_unbind()
328 tz->type, cdev->type, ret); in imx_unbind()
526 data->cdev = cpufreq_cooling_register(cpu_present_mask); in imx_thermal_probe()
527 if (IS_ERR(data->cdev)) { in imx_thermal_probe()
528 ret = PTR_ERR(data->cdev); in imx_thermal_probe()
542 cpufreq_cooling_unregister(data->cdev); in imx_thermal_probe()
556 cpufreq_cooling_unregister(data->cdev); in imx_thermal_probe()
571 cpufreq_cooling_unregister(data->cdev); in imx_thermal_probe()
599 cpufreq_cooling_unregister(data->cdev); in imx_thermal_probe()
620 cpufreq_cooling_unregister(data->cdev); in imx_thermal_remove()