Searched refs:cool_dev (Results 1 – 2 of 2) sorted by relevance
67 struct thermal_cooling_device *cool_dev; member327 struct thermal_cooling_device *cool_dev; in __cpufreq_cooling_register() local351 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()
42 struct thermal_cooling_device *cool_dev; member140 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()