Lines Matching refs:zone
61 struct thermal_zone_device *zone; member
73 #define rcar_zone_to_priv(zone) ((zone)->devdata) argument
203 static int rcar_thermal_get_temp(struct thermal_zone_device *zone, in rcar_thermal_get_temp() argument
206 struct rcar_thermal_priv *priv = rcar_zone_to_priv(zone); in rcar_thermal_get_temp()
218 static int rcar_thermal_get_trip_type(struct thermal_zone_device *zone, in rcar_thermal_get_trip_type() argument
221 struct rcar_thermal_priv *priv = rcar_zone_to_priv(zone); in rcar_thermal_get_trip_type()
237 static int rcar_thermal_get_trip_temp(struct thermal_zone_device *zone, in rcar_thermal_get_trip_temp() argument
240 struct rcar_thermal_priv *priv = rcar_zone_to_priv(zone); in rcar_thermal_get_trip_temp()
256 static int rcar_thermal_notify(struct thermal_zone_device *zone, in rcar_thermal_notify() argument
259 struct rcar_thermal_priv *priv = rcar_zone_to_priv(zone); in rcar_thermal_notify()
307 thermal_zone_device_update(priv->zone); in rcar_thermal_work()
443 priv->zone = thermal_zone_device_register("rcar_thermal", in rcar_thermal_probe()
447 if (IS_ERR(priv->zone)) { in rcar_thermal_probe()
449 ret = PTR_ERR(priv->zone); in rcar_thermal_probe()
467 thermal_zone_device_unregister(priv->zone); in rcar_thermal_probe()
485 thermal_zone_device_unregister(priv->zone); in rcar_thermal_remove()