Lines Matching defs:zone
85 struct thermal_zone_device *zone;
246 if (status && priv->tscs[i]->zone)
247 thermal_zone_device_update(priv->tscs[i]->zone,
447 struct thermal_zone_device *zone = data;
449 thermal_remove_hwmon_sysfs(zone);
485 struct thermal_zone_device *zone;
537 zone = devm_thermal_of_zone_register(dev, i, tsc, &priv->ops);
538 if (IS_ERR(zone)) {
539 dev_err(dev, "Sensor %u: Can't register thermal zone\n", i);
540 ret = PTR_ERR(zone);
543 tsc->zone = zone;
545 ret = thermal_add_hwmon_sysfs(tsc->zone);
549 ret = devm_add_action_or_reset(dev, rcar_gen3_hwmon_action, zone);
553 ret = thermal_zone_get_num_trips(tsc->zone);