Lines Matching defs:zone
92 struct thermal_zone_device *zone;
195 * zone device functions
273 static int rcar_thermal_get_temp(struct thermal_zone_device *zone, int *temp)
275 struct rcar_thermal_priv *priv = thermal_zone_device_priv(zone);
322 thermal_zone_device_update(priv->zone, THERMAL_EVENT_UNSPECIFIED);
384 thermal_remove_hwmon_sysfs(priv->zone);
386 thermal_zone_device_unregister(priv->zone);
489 priv->zone = devm_thermal_of_zone_register(
493 priv->zone = thermal_zone_device_register_with_trips(
498 ret = thermal_zone_device_enable(priv->zone);
500 thermal_zone_device_unregister(priv->zone);
501 priv->zone = ERR_PTR(ret);
504 if (IS_ERR(priv->zone)) {
505 dev_err(dev, "can't register thermal zone\n");
506 ret = PTR_ERR(priv->zone);
507 priv->zone = NULL;
512 ret = thermal_add_hwmon_sysfs(priv->zone);