Lines Matching refs:tzd
193 struct thermal_zone_device *tzd; member
262 struct thermal_zone_device *tzd = data->tzd; in exynos_tmu_initialize() local
264 of_thermal_get_trip_points(tzd); in exynos_tmu_initialize()
275 ret = tzd->ops->get_crit_temp(tzd, &temp); in exynos_tmu_initialize()
282 if (of_thermal_get_ntrips(tzd) > data->ntrip) { in exynos_tmu_initialize()
287 (of_thermal_get_ntrips(tzd) - data->ntrip)); in exynos_tmu_initialize()
300 min_t(int, of_thermal_get_ntrips(tzd), data->ntrip); in exynos_tmu_initialize()
307 ret = tzd->ops->get_trip_temp(tzd, i, &temp); in exynos_tmu_initialize()
314 ret = tzd->ops->get_trip_hyst(tzd, i, &hyst); in exynos_tmu_initialize()
366 of_thermal_get_trip_points(data->tzd); in exynos4210_tmu_set_trip_temp()
564 struct thermal_zone_device *tz = data->tzd; in exynos4210_tmu_control()
594 struct thermal_zone_device *tz = data->tzd; in exynos5433_tmu_control()
625 struct thermal_zone_device *tz = data->tzd; in exynos7_tmu_control()
781 thermal_zone_device_update(data->tzd, THERMAL_EVENT_UNSPECIFIED); in exynos_tmu_work()
1094 data->tzd = thermal_zone_of_sensor_register(&pdev->dev, 0, data, in exynos_tmu_probe()
1096 if (IS_ERR(data->tzd)) { in exynos_tmu_probe()
1097 ret = PTR_ERR(data->tzd); in exynos_tmu_probe()
1121 thermal_zone_of_sensor_unregister(&pdev->dev, data->tzd); in exynos_tmu_probe()
1139 struct thermal_zone_device *tzd = data->tzd; in exynos_tmu_remove() local
1141 thermal_zone_of_sensor_unregister(&pdev->dev, tzd); in exynos_tmu_remove()