Symbol: trip_stats
drivers/thermal/thermal_debugfs.c
131
struct trip_stats trip_stats[];
drivers/thermal/thermal_debugfs.c
562
tze = kzalloc_flex(*tze, trip_stats, tz->num_trips);
drivers/thermal/thermal_debugfs.c
572
tze->trip_stats[i].trip_temp = THERMAL_TEMP_INVALID;
drivers/thermal/thermal_debugfs.c
573
tze->trip_stats[i].min = INT_MAX;
drivers/thermal/thermal_debugfs.c
585
struct trip_stats *trip_stats;
drivers/thermal/thermal_debugfs.c
653
trip_stats = &tze->trip_stats[trip_id];
drivers/thermal/thermal_debugfs.c
654
trip_stats->trip_temp = trip->temperature;
drivers/thermal/thermal_debugfs.c
655
trip_stats->trip_hyst = trip->hysteresis;
drivers/thermal/thermal_debugfs.c
656
trip_stats->timestamp = now;
drivers/thermal/thermal_debugfs.c
664
struct trip_stats *trip_stats = &tze->trip_stats[trip_id];
drivers/thermal/thermal_debugfs.c
665
ktime_t delta = ktime_sub(now, trip_stats->timestamp);
drivers/thermal/thermal_debugfs.c
667
trip_stats->duration = ktime_add(delta, trip_stats->duration);
drivers/thermal/thermal_debugfs.c
669
trip_stats->timestamp = KTIME_MAX;
drivers/thermal/thermal_debugfs.c
751
struct trip_stats *trip_stats = &tze->trip_stats[trip_id];
drivers/thermal/thermal_debugfs.c
753
trip_stats->min = min(trip_stats->min, tz->temperature);
drivers/thermal/thermal_debugfs.c
754
trip_stats->avg += (tz->temperature - trip_stats->avg) /
drivers/thermal/thermal_debugfs.c
755
++trip_stats->count;
drivers/thermal/thermal_debugfs.c
814
struct trip_stats *trip_stats;
drivers/thermal/thermal_debugfs.c
825
trip_stats = &tze->trip_stats[trip_id];
drivers/thermal/thermal_debugfs.c
828
if (trip_stats->trip_temp == THERMAL_TEMP_INVALID)
drivers/thermal/thermal_debugfs.c
831
if (trip_stats->timestamp != KTIME_MAX) {
drivers/thermal/thermal_debugfs.c
834
trip_stats->timestamp);
drivers/thermal/thermal_debugfs.c
836
delta = ktime_add(delta, trip_stats->duration);
drivers/thermal/thermal_debugfs.c
840
duration_ms = ktime_to_ms(trip_stats->duration);
drivers/thermal/thermal_debugfs.c
847
9, trip_stats->trip_temp,
drivers/thermal/thermal_debugfs.c
848
9, trip_stats->trip_hyst,
drivers/thermal/thermal_debugfs.c
850
9, trip_stats->avg,
drivers/thermal/thermal_debugfs.c
851
9, trip_stats->min);