Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/thermal/
Dcpu_cooling.c92 struct thermal_cooling_device *cool_dev; member
281 dev_warn(&cpufreq_device->cool_dev->device, in build_dyn_power_table()
790 struct thermal_cooling_device *cool_dev; in __cpufreq_cooling_register() local
812 cool_dev = ERR_PTR(-ENOMEM); in __cpufreq_cooling_register()
820 cool_dev = ERR_PTR(-ENOMEM); in __cpufreq_cooling_register()
831 cool_dev = ERR_PTR(-ENOMEM); in __cpufreq_cooling_register()
849 cool_dev = ERR_PTR(ret); in __cpufreq_cooling_register()
856 cool_dev = ERR_PTR(ret); in __cpufreq_cooling_register()
863 cool_dev = thermal_of_cooling_device_register(np, dev_name, cpufreq_dev, in __cpufreq_cooling_register()
865 if (IS_ERR(cool_dev)) in __cpufreq_cooling_register()
[all …]
/linux-4.4.14/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()
163 if (data->cool_dev != cdev) in ti_thermal_unbind()
411 data->cool_dev = cpufreq_cooling_register(cpu_present_mask); in ti_thermal_register_cpu_cooling()
412 if (IS_ERR(data->cool_dev)) { in ti_thermal_register_cpu_cooling()
413 int ret = PTR_ERR(data->cool_dev); in ti_thermal_register_cpu_cooling()
434 cpufreq_cooling_unregister(data->cool_dev); in ti_thermal_unregister_cpu_cooling()