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

/linux-master/drivers/thermal/intel/
H A Dintel_pch_thermal.c166 int nr_trips = 0; local
225 ptd_trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp);
226 ptd_trips[nr_trips++].type = THERMAL_TRIP_CRITICAL;
232 ptd_trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp);
233 ptd_trips[nr_trips++].type = THERMAL_TRIP_HOT;
236 nr_trips += pch_wpt_add_acpi_psv_trip(ptd, &ptd_trips[nr_trips]);
239 ptd_trips, nr_trips,
/linux-master/drivers/thermal/
H A Dthermal_debugfs.c144 * @nr_trips: the number of trip points currently being crossed
150 int nr_trips; member in struct:tz_debugfs
602 if (!tz_dbg->nr_trips) {
612 * is stored in the trip_crossed array and the nr_trips is
613 * incremented. A nr_trips equal to zero means we are entering
623 tz_dbg->trips_crossed[tz_dbg->nr_trips++] = trip_id;
662 if (!tz_dbg->nr_trips)
665 for (i = tz_dbg->nr_trips - 1; i >= 0; i--) {
673 tz_dbg->nr_trips--;
675 if (i < tz_dbg->nr_trips)
[all...]

Completed in 113 milliseconds