Home
last modified time | relevance | path

Searched refs:trip_stats (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/thermal/
H A Dthermal_debugfs.c100 struct trip_stats { struct
131 struct trip_stats trip_stats[]; member
562 tze = kzalloc(struct_size(tze, trip_stats, tz->num_trips), GFP_KERNEL); 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()
585 struct trip_stats *trip_stats; in thermal_debug_tz_trip_up() local
653 trip_stats = &tze->trip_stats[trip_id]; in thermal_debug_tz_trip_up()
654 trip_stats->trip_temp = trip->temperature; in thermal_debug_tz_trip_up()
655 trip_stats->trip_hyst = trip->hysteresis; in thermal_debug_tz_trip_up()
656 trip_stats->timestamp = now; in thermal_debug_tz_trip_up()
[all …]