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()567 tze->timestamp = now; in thermal_debugfs_tz_event_alloc()576 return tze; in thermal_debugfs_tz_event_alloc()631 if (!tze) in thermal_debug_tz_trip_up()721 tze->duration = ktime_sub(now, tze->timestamp); in thermal_debug_tz_trip_down()808 ktime_to_ms(tze->timestamp), c, duration_ms, tze->max_temp); in tze_seq_show()924 list_del(&tze->node); in thermal_debug_tz_remove()925 kfree(tze); in thermal_debug_tz_remove()[all …]