Home
last modified time | relevance | path

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

/linux-6.15/drivers/thermal/intel/
H A Dintel_pch_thermal.c166 int nr_trips = 0; in intel_pch_thermal_probe() local
225 ptd_trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp); in intel_pch_thermal_probe()
226 ptd_trips[nr_trips++].type = THERMAL_TRIP_CRITICAL; in intel_pch_thermal_probe()
232 ptd_trips[nr_trips].temperature = GET_WPT_TEMP(trip_temp); in intel_pch_thermal_probe()
233 ptd_trips[nr_trips++].type = THERMAL_TRIP_HOT; in intel_pch_thermal_probe()
236 nr_trips += pch_wpt_add_acpi_psv_trip(ptd, &ptd_trips[nr_trips]); in intel_pch_thermal_probe()
239 ptd_trips, nr_trips, in intel_pch_thermal_probe()
/linux-6.15/drivers/thermal/
H A Dthermal_debugfs.c154 int nr_trips; member
629 if (!tz_dbg->nr_trips) { in thermal_debug_tz_trip_up()
696 if (!tz_dbg->nr_trips) 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()
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()
[all …]