Lines Matching refs:zone
22 static int int340x_thermal_get_zone_temp(struct thermal_zone_device *zone, in int340x_thermal_get_zone_temp() argument
25 struct int34x_thermal_zone *d = zone->devdata; in int340x_thermal_get_zone_temp()
30 return d->override_ops->get_temp(zone, temp); in int340x_thermal_get_zone_temp()
51 static int int340x_thermal_get_trip_temp(struct thermal_zone_device *zone, in int340x_thermal_get_trip_temp() argument
54 struct int34x_thermal_zone *d = zone->devdata; in int340x_thermal_get_trip_temp()
58 return d->override_ops->get_trip_temp(zone, trip, temp); in int340x_thermal_get_trip_temp()
83 static int int340x_thermal_get_trip_type(struct thermal_zone_device *zone, in int340x_thermal_get_trip_type() argument
87 struct int34x_thermal_zone *d = zone->devdata; in int340x_thermal_get_trip_type()
91 return d->override_ops->get_trip_type(zone, trip, type); in int340x_thermal_get_trip_type()
116 static int int340x_thermal_set_trip_temp(struct thermal_zone_device *zone, in int340x_thermal_set_trip_temp() argument
119 struct int34x_thermal_zone *d = zone->devdata; in int340x_thermal_set_trip_temp()
124 return d->override_ops->set_trip_temp(zone, trip, temp); in int340x_thermal_set_trip_temp()
138 static int int340x_thermal_get_trip_hyst(struct thermal_zone_device *zone, in int340x_thermal_get_trip_hyst() argument
141 struct int34x_thermal_zone *d = zone->devdata; in int340x_thermal_get_trip_hyst()
146 return d->override_ops->get_trip_hyst(zone, trip, temp); in int340x_thermal_get_trip_hyst()
242 int34x_thermal_zone->zone = thermal_zone_device_register( in int340x_thermal_zone_add()
249 if (IS_ERR(int34x_thermal_zone->zone)) { in int340x_thermal_zone_add()
250 ret = PTR_ERR(int34x_thermal_zone->zone); in int340x_thermal_zone_add()
268 thermal_zone_device_unregister(int34x_thermal_zone->zone); in int340x_thermal_zone_remove()