Searched refs:tze (Results 1 – 1 of 1) sorted by relevance
559 struct tz_episode *tze; in thermal_debugfs_tz_event_alloc() local562 tze = kzalloc(struct_size(tze, trip_stats, tz->num_trips), GFP_KERNEL); in thermal_debugfs_tz_event_alloc()563 if (!tze) in thermal_debugfs_tz_event_alloc()566 INIT_LIST_HEAD(&tze->node); in thermal_debugfs_tz_event_alloc()567 tze->timestamp = now; in thermal_debugfs_tz_event_alloc()568 tze->duration = KTIME_MIN; in thermal_debugfs_tz_event_alloc()569 tze->max_temp = INT_MIN; in thermal_debugfs_tz_event_alloc()572 tze->trip_stats[i].trip_temp = THERMAL_TEMP_INVALID; in thermal_debugfs_tz_event_alloc()573 tze->trip_stats[i].min = INT_MAX; in thermal_debugfs_tz_event_alloc()576 return tze; in thermal_debugfs_tz_event_alloc()[all …]