Lines Matching refs:tt_thermal_zone

40 struct tt_thermal_zone {  struct
54 DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock)) argument
81 struct tt_thermal_zone *tt_zone;
112 struct tt_thermal_zone *tt_zone = data; in tt_zone_tz_temp_get()
125 struct tt_thermal_zone *tt_zone = data; in tt_zone_tz_temp_set()
140 static void tt_zone_free_trips(struct tt_thermal_zone *tt_zone) in tt_zone_free_trips()
151 static void tt_zone_free(struct tt_thermal_zone *tt_zone) in tt_zone_free()
162 struct tt_thermal_zone *tt_zone = tt_work->tt_zone; in tt_add_tz_work_fn()
189 struct tt_thermal_zone *tt_zone __free(kfree) = kzalloc_obj(*tt_zone); in tt_add_tz()
218 struct tt_thermal_zone *tt_zone = tt_work->tt_zone; in tt_del_tz_work_fn()
226 static void tt_zone_unregister_tz(struct tt_thermal_zone *tt_zone) in tt_zone_unregister_tz()
238 struct tt_thermal_zone *tt_zone, *aux; in tt_del_tz()
277 static struct tt_thermal_zone *tt_get_tt_zone(const char *arg) in tt_get_tt_zone()
279 struct tt_thermal_zone *tt_zone; in tt_get_tt_zone()
298 static void tt_put_tt_zone(struct tt_thermal_zone *tt_zone) in tt_put_tt_zone()
305 DEFINE_FREE(put_tt_zone, struct tt_thermal_zone *,
311 struct tt_thermal_zone *tt_zone = tt_work->tt_zone; in tt_zone_add_trip_work_fn()
340 struct tt_thermal_zone *tt_zone __free(put_tt_zone) = tt_get_tt_zone(arg); in tt_zone_add_trip()
368 struct tt_thermal_zone *tt_zone = thermal_zone_device_priv(tz); in tt_zone_get_temp()
382 static int tt_zone_register_tz(struct tt_thermal_zone *tt_zone) in tt_zone_register_tz()
418 struct tt_thermal_zone *tt_zone __free(put_tt_zone) = tt_get_tt_zone(arg); in tt_zone_reg()
427 struct tt_thermal_zone *tt_zone __free(put_tt_zone) = tt_get_tt_zone(arg); in tt_zone_unreg()
438 struct tt_thermal_zone *tt_zone, *aux; in tt_zone_cleanup()