Home
last modified time | relevance | path

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

/linux/drivers/thermal/
H A Dthermal_debugfs.c154 int nr_trips; member
629 if (!tz_dbg->nr_trips) { in thermal_debug_tz_trip_up()
650 tz_dbg->trips_crossed[tz_dbg->nr_trips++] = trip_id; in thermal_debug_tz_trip_up()
696 if (!tz_dbg->nr_trips) in thermal_debug_tz_trip_down()
699 for (i = tz_dbg->nr_trips - 1; i >= 0; i--) { in thermal_debug_tz_trip_down()
707 tz_dbg->nr_trips--; in thermal_debug_tz_trip_down()
709 if (i < tz_dbg->nr_trips) in thermal_debug_tz_trip_down()
710 tz_dbg->trips_crossed[i] = tz_dbg->trips_crossed[tz_dbg->nr_trips]; in thermal_debug_tz_trip_down()
720 if (!tz_dbg->nr_trips) in thermal_debug_tz_trip_down()
741 if (!tz_dbg->nr_trips) in thermal_debug_update_trip_stats()
[all …]