Lines Matching refs:tzd
190 struct thermal_zone_device *tzd; member
259 struct thermal_zone_device *tzd = data->tzd; in exynos_tmu_initialize() local
261 of_thermal_get_trip_points(tzd); in exynos_tmu_initialize()
272 ret = tzd->ops->get_crit_temp(tzd, &temp); in exynos_tmu_initialize()
279 if (of_thermal_get_ntrips(tzd) > data->ntrip) { in exynos_tmu_initialize()
284 (of_thermal_get_ntrips(tzd) - data->ntrip)); in exynos_tmu_initialize()
297 min_t(int, of_thermal_get_ntrips(tzd), data->ntrip); in exynos_tmu_initialize()
304 ret = tzd->ops->get_trip_temp(tzd, i, &temp); in exynos_tmu_initialize()
311 ret = tzd->ops->get_trip_hyst(tzd, i, &hyst); in exynos_tmu_initialize()
363 of_thermal_get_trip_points(data->tzd); in exynos4210_tmu_set_trip_temp()
561 struct thermal_zone_device *tz = data->tzd; in exynos4210_tmu_control()
591 struct thermal_zone_device *tz = data->tzd; in exynos5433_tmu_control()
622 struct thermal_zone_device *tz = data->tzd; in exynos7_tmu_control()
778 thermal_zone_device_update(data->tzd, THERMAL_EVENT_UNSPECIFIED); in exynos_tmu_work()
1090 data->tzd = thermal_zone_of_sensor_register(&pdev->dev, 0, data, in exynos_tmu_probe()
1092 if (IS_ERR(data->tzd)) { in exynos_tmu_probe()
1093 ret = PTR_ERR(data->tzd); in exynos_tmu_probe()
1115 thermal_zone_of_sensor_unregister(&pdev->dev, data->tzd); in exynos_tmu_probe()
1133 struct thermal_zone_device *tzd = data->tzd; in exynos_tmu_remove() local
1135 thermal_zone_of_sensor_unregister(&pdev->dev, tzd); in exynos_tmu_remove()