Lines Matching defs:tz_dev
68 struct thermal_zone_device *tz_dev;
248 trip_points = of_thermal_get_trip_points(chip->tz_dev);
271 thermal_zone_device_update(chip->tz_dev, THERMAL_EVENT_UNSPECIFIED);
282 ntrips = of_thermal_get_ntrips(chip->tz_dev);
286 trips = of_thermal_get_trip_points(chip->tz_dev);
291 if (of_thermal_is_trip_valid(chip->tz_dev, i) &&
417 chip->tz_dev = devm_thermal_zone_of_sensor_register(
419 if (IS_ERR(chip->tz_dev)) {
421 return PTR_ERR(chip->tz_dev);
435 thermal_zone_device_update(chip->tz_dev, THERMAL_EVENT_UNSPECIFIED);