Home
last modified time | relevance | path

Searched refs:cool_dev (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/thermal/
Dcpu_cooling.c67 struct thermal_cooling_device *cool_dev; member
327 struct thermal_cooling_device *cool_dev; in __cpufreq_cooling_register() local
351 cool_dev = ERR_PTR(-ENOMEM); in __cpufreq_cooling_register()
362 cool_dev = ERR_PTR(ret); in __cpufreq_cooling_register()
381 cool_dev = thermal_of_cooling_device_register(np, dev_name, cpufreq_dev, in __cpufreq_cooling_register()
383 if (IS_ERR(cool_dev)) in __cpufreq_cooling_register()
387 cpufreq_dev->cool_dev = cool_dev; in __cpufreq_cooling_register()
399 return cool_dev; in __cpufreq_cooling_register()
408 return cool_dev; in __cpufreq_cooling_register()
476 thermal_cooling_device_unregister(cpufreq_dev->cool_dev); in cpufreq_cooling_unregister()
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c42 struct thermal_cooling_device *cool_dev; member
140 if (data->cool_dev != cdev) in ti_thermal_bind()
162 if (data->cool_dev != cdev) in ti_thermal_unbind()
410 data->cool_dev = cpufreq_cooling_register(cpu_present_mask); in ti_thermal_register_cpu_cooling()
411 if (IS_ERR(data->cool_dev)) { in ti_thermal_register_cpu_cooling()
412 int ret = PTR_ERR(data->cool_dev); in ti_thermal_register_cpu_cooling()
433 cpufreq_cooling_unregister(data->cool_dev); in ti_thermal_unregister_cpu_cooling()