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()
187 struct tt_thermal_zone *tt_zone __free(kfree); in tt_add_tz()
220 struct tt_thermal_zone *tt_zone = tt_work->tt_zone; in tt_del_tz_work_fn()
228 static void tt_zone_unregister_tz(struct tt_thermal_zone *tt_zone) in tt_zone_unregister_tz()
241 struct tt_thermal_zone *tt_zone, *aux; in tt_del_tz()
280 static struct tt_thermal_zone *tt_get_tt_zone(const char *arg) in tt_get_tt_zone()
282 struct tt_thermal_zone *tt_zone; in tt_get_tt_zone()
301 static void tt_put_tt_zone(struct tt_thermal_zone *tt_zone) in tt_put_tt_zone()
308 DEFINE_FREE(put_tt_zone, struct tt_thermal_zone *,
314 struct tt_thermal_zone *tt_zone = tt_work->tt_zone; in tt_zone_add_trip_work_fn()
333 struct tt_thermal_zone *tt_zone __free(put_tt_zone) = NULL; in tt_zone_add_trip()
374 struct tt_thermal_zone *tt_zone = thermal_zone_device_priv(tz); in tt_zone_get_temp()
388 static int tt_zone_register_tz(struct tt_thermal_zone *tt_zone) in tt_zone_register_tz()
424 struct tt_thermal_zone *tt_zone __free(put_tt_zone); in tt_zone_reg()
435 struct tt_thermal_zone *tt_zone __free(put_tt_zone); in tt_zone_unreg()
448 struct tt_thermal_zone *tt_zone, *aux; in tt_zone_cleanup()