Home
last modified time | relevance | path

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

/drivers/thermal/
Dexynos_thermal.c154 struct thermal_zone_device *therm_dev; member
179 if (!th_zone->therm_dev) { in exynos_set_mode()
184 mutex_lock(&th_zone->therm_dev->lock); in exynos_set_mode()
188 th_zone->therm_dev->polling_delay = IDLE_INTERVAL; in exynos_set_mode()
190 th_zone->therm_dev->polling_delay = 0; in exynos_set_mode()
192 mutex_unlock(&th_zone->therm_dev->lock); in exynos_set_mode()
195 thermal_zone_device_update(th_zone->therm_dev); in exynos_set_mode()
197 th_zone->therm_dev->polling_delay); in exynos_set_mode()
410 if (!th_zone || !th_zone->therm_dev) in exynos_report_trigger()
416 exynos_bind(th_zone->therm_dev, in exynos_report_trigger()
[all …]
Ddb8500_thermal.c34 struct thermal_zone_device *therm_dev; member
263 dev_dbg(&pzone->therm_dev->device, in prcmu_low_irq_handler()
286 dev_dbg(&pzone->therm_dev->device, in prcmu_high_irq_handler()
310 thermal_zone_device_update(pzone->therm_dev); in db8500_thermal_work()
311 dev_dbg(&pzone->therm_dev->device, "thermal work finished.\n"); in db8500_thermal_work()
449 pzone->therm_dev = thermal_zone_device_register("db8500_thermal_zone", in db8500_thermal_probe()
452 if (IS_ERR(pzone->therm_dev)) { in db8500_thermal_probe()
454 ret = PTR_ERR(pzone->therm_dev); in db8500_thermal_probe()
478 thermal_zone_device_unregister(pzone->therm_dev); in db8500_thermal_remove()