Lines Matching refs:tzd
165 * @tzd: pointer to thermal_zone_device structure
193 struct thermal_zone_device *tzd;
262 struct thermal_zone_device *tzd = data->tzd;
264 of_thermal_get_trip_points(tzd);
275 ret = tzd->ops->get_crit_temp(tzd, &temp);
282 if (of_thermal_get_ntrips(tzd) > data->ntrip) {
287 (of_thermal_get_ntrips(tzd) - data->ntrip));
300 min_t(int, of_thermal_get_ntrips(tzd), data->ntrip);
307 ret = tzd->ops->get_trip_temp(tzd, i, &temp);
314 ret = tzd->ops->get_trip_hyst(tzd, i, &hyst);
366 of_thermal_get_trip_points(data->tzd);
564 struct thermal_zone_device *tz = data->tzd;
594 struct thermal_zone_device *tz = data->tzd;
625 struct thermal_zone_device *tz = data->tzd;
781 thermal_zone_device_update(data->tzd, THERMAL_EVENT_UNSPECIFIED);
1091 * data->tzd must be registered before calling exynos_tmu_initialize(),
1094 data->tzd = thermal_zone_of_sensor_register(&pdev->dev, 0, data,
1096 if (IS_ERR(data->tzd)) {
1097 ret = PTR_ERR(data->tzd);
1121 thermal_zone_of_sensor_unregister(&pdev->dev, data->tzd);
1139 struct thermal_zone_device *tzd = data->tzd;
1141 thermal_zone_of_sensor_unregister(&pdev->dev, tzd);