Home
last modified time | relevance | path

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

/drivers/thermal/
Dcpu_cooling.c49 struct thermal_cooling_device *cool_dev; member
431 struct thermal_cooling_device *cool_dev; in cpufreq_cooling_register() local
468 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()
Dexynos_thermal.c155 struct thermal_cooling_device *cool_dev[MAX_COOLING_DEVICE]; member
260 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()
/drivers/staging/ti-soc-thermal/
Dti-thermal-common.c41 struct thermal_cooling_device *cool_dev; member
122 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()