Lines Matching refs:thermal

121 static inline int ti_thermal_get_temp(struct thermal_zone_device *thermal,  in ti_thermal_get_temp()  argument
124 struct ti_thermal_data *data = thermal->devdata; in ti_thermal_get_temp()
130 static int ti_thermal_bind(struct thermal_zone_device *thermal, in ti_thermal_bind() argument
133 struct ti_thermal_data *data = thermal->devdata; in ti_thermal_bind()
146 return thermal_zone_bind_cooling_device(thermal, 0, cdev, in ti_thermal_bind()
153 static int ti_thermal_unbind(struct thermal_zone_device *thermal, in ti_thermal_unbind() argument
156 struct ti_thermal_data *data = thermal->devdata; in ti_thermal_unbind()
166 return thermal_zone_unbind_cooling_device(thermal, 0, cdev); in ti_thermal_unbind()
170 static int ti_thermal_get_mode(struct thermal_zone_device *thermal, in ti_thermal_get_mode() argument
173 struct ti_thermal_data *data = thermal->devdata; in ti_thermal_get_mode()
182 static int ti_thermal_set_mode(struct thermal_zone_device *thermal, in ti_thermal_set_mode() argument
185 struct ti_thermal_data *data = thermal->devdata; in ti_thermal_set_mode()
191 dev_notice(&thermal->device, "thermal zone not registered\n"); in ti_thermal_set_mode()
208 dev_dbg(&thermal->device, "thermal polling set for duration=%d msec\n", in ti_thermal_set_mode()
215 static int ti_thermal_get_trip_type(struct thermal_zone_device *thermal, in ti_thermal_get_trip_type() argument
230 static int ti_thermal_get_trip_temp(struct thermal_zone_device *thermal, in ti_thermal_get_trip_temp() argument
260 static int ti_thermal_get_trend(struct thermal_zone_device *thermal, in ti_thermal_get_trend() argument
266 ret = __ti_thermal_get_trend(thermal->devdata, &tr); in ti_thermal_get_trend()
281 static int ti_thermal_get_crit_temp(struct thermal_zone_device *thermal, in ti_thermal_get_crit_temp() argument
285 return ti_thermal_get_trip_temp(thermal, OMAP_TRIP_NUMBER - 1, temp); in ti_thermal_get_crit_temp()