Searched refs:cool_dev (Results 1 – 3 of 3) sorted by relevance
49 struct thermal_cooling_device *cool_dev; member431 struct thermal_cooling_device *cool_dev; in cpufreq_cooling_register() local468 cool_dev = thermal_cooling_device_register(dev_name, cpufreq_dev, in cpufreq_cooling_register()470 if (!cool_dev) { in cpufreq_cooling_register()475 cpufreq_dev->cool_dev = cool_dev; in cpufreq_cooling_register()487 return cool_dev; in cpufreq_cooling_register()510 thermal_cooling_device_unregister(cpufreq_dev->cool_dev); in cpufreq_cooling_unregister()
155 struct thermal_cooling_device *cool_dev[MAX_COOLING_DEVICE]; member260 if (cdev == th_zone->cool_dev[i]) in exynos_bind()308 if (cdev == th_zone->cool_dev[i]) in exynos_unbind()414 if (!th_zone->cool_dev[i]) in exynos_report_trigger()417 th_zone->cool_dev[i]); in exynos_report_trigger()461 th_zone->cool_dev[0] = cpufreq_cooling_register(&mask_val); in exynos_register_thermal()462 if (IS_ERR(th_zone->cool_dev[0])) { in exynos_register_thermal()502 if (th_zone->cool_dev[i]) in exynos_unregister_thermal()503 cpufreq_cooling_unregister(th_zone->cool_dev[i]); in exynos_unregister_thermal()
41 struct thermal_cooling_device *cool_dev; member122 if (data->cool_dev != cdev) in ti_thermal_bind()144 if (data->cool_dev != cdev) in ti_thermal_unbind()348 data->cool_dev = cpufreq_cooling_register(cpu_present_mask); in ti_thermal_register_cpu_cooling()349 if (IS_ERR_OR_NULL(data->cool_dev)) { in ti_thermal_register_cpu_cooling()352 return PTR_ERR(data->cool_dev); in ti_thermal_register_cpu_cooling()364 cpufreq_cooling_unregister(data->cool_dev); in ti_thermal_unregister_cpu_cooling()