Lines Matching refs:nr_trips
154 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()
749 for (i = 0; i < tz_dbg->nr_trips; i++) { in thermal_debug_update_trip_stats()
949 if (!tz_dbg->nr_trips) in thermal_debug_tz_resume()
959 for (i = 0; i < tz_dbg->nr_trips; i++) in thermal_debug_tz_resume()
964 tz_dbg->nr_trips = 0; in thermal_debug_tz_resume()