Lines Matching refs:tzd
179 struct thermal_zone_device *tzd; member
192 struct thermal_zone_device *tz = p->tzd; in exynos_report_trigger()
291 struct thermal_zone_device *tz = data->tzd; in get_th_reg()
373 struct thermal_zone_device *tz = data->tzd; in exynos4210_tmu_initialize()
419 of_thermal_get_trip_points(data->tzd); in exynos4412_tmu_initialize()
460 for (i = 0; i < of_thermal_get_ntrips(data->tzd); i++) { in exynos4412_tmu_initialize()
467 if (i == of_thermal_get_ntrips(data->tzd)) { in exynos4412_tmu_initialize()
521 if (!data->tzd->ops->get_crit_temp(data->tzd, &crit_temp)) { in exynos5440_tmu_initialize()
540 struct thermal_zone_device *tz = data->tzd; in exynos7_tmu_initialize()
618 struct thermal_zone_device *tz = data->tzd; in exynos4210_tmu_control()
649 struct thermal_zone_device *tz = data->tzd; in exynos5440_tmu_control()
678 struct thermal_zone_device *tz = data->tzd; in exynos7_tmu_control()
1133 data->tzd = thermal_zone_of_sensor_register(&pdev->dev, 0, data, in exynos_tmu_probe()
1135 if (IS_ERR(data->tzd)) { in exynos_tmu_probe()
1136 pr_err("thermal: tz: %p ERROR\n", data->tzd); in exynos_tmu_probe()
1137 return PTR_ERR(data->tzd); in exynos_tmu_probe()
1214 thermal_zone_of_sensor_unregister(&pdev->dev, data->tzd); in exynos_tmu_probe()
1222 struct thermal_zone_device *tzd = data->tzd; in exynos_tmu_remove() local
1224 thermal_zone_of_sensor_unregister(&pdev->dev, tzd); in exynos_tmu_remove()