Lines Matching refs:cdev
97 struct thermal_cooling_device *cdev; member
303 struct thermal_cooling_device *cdev) in imx_bind() argument
307 ret = thermal_zone_bind_cooling_device(tz, IMX_TRIP_PASSIVE, cdev, in imx_bind()
313 tz->type, cdev->type, ret); in imx_bind()
321 struct thermal_cooling_device *cdev) in imx_unbind() argument
325 ret = thermal_zone_unbind_cooling_device(tz, IMX_TRIP_PASSIVE, cdev); in imx_unbind()
329 tz->type, cdev->type, ret); in imx_unbind()
513 data->cdev = cpufreq_cooling_register(cpu_present_mask); in imx_thermal_probe()
514 if (IS_ERR(data->cdev)) { in imx_thermal_probe()
515 ret = PTR_ERR(data->cdev); in imx_thermal_probe()
529 cpufreq_cooling_unregister(data->cdev); in imx_thermal_probe()
543 cpufreq_cooling_unregister(data->cdev); in imx_thermal_probe()
558 cpufreq_cooling_unregister(data->cdev); in imx_thermal_probe()
591 cpufreq_cooling_unregister(data->cdev); in imx_thermal_remove()