• Home
  • Raw
  • Download

Lines Matching refs:ThrottlingSeverity

188             .severity = ThrottlingSeverity::NONE,  in ThermalHelper()
189 .prev_hot_severity = ThrottlingSeverity::NONE, in ThermalHelper()
190 .prev_cold_severity = ThrottlingSeverity::NONE, in ThermalHelper()
273 sensor_info.hot_thresholds[static_cast<size_t>(ThrottlingSeverity::SEVERE)]; in readTemperature()
275 sensor_info.hot_thresholds[static_cast<size_t>(ThrottlingSeverity::SHUTDOWN)]; in readTemperature()
283 std::pair<ThrottlingSeverity, ThrottlingSeverity> *throtting_status) const { in readTemperature() argument
302 std::pair<ThrottlingSeverity, ThrottlingSeverity> status = in readTemperature()
303 std::make_pair(ThrottlingSeverity::NONE, ThrottlingSeverity::NONE); in readTemperature()
306 ThrottlingSeverity prev_hot_severity, prev_cold_severity; in readTemperature()
349 std::pair<ThrottlingSeverity, ThrottlingSeverity> ThermalHelper::getSeverityFromThresholds( in getSeverityFromThresholds()
352 ThrottlingSeverity prev_hot_severity, ThrottlingSeverity prev_cold_severity, in getSeverityFromThresholds()
354 ThrottlingSeverity ret_hot = ThrottlingSeverity::NONE; in getSeverityFromThresholds()
355 ThrottlingSeverity ret_hot_hysteresis = ThrottlingSeverity::NONE; in getSeverityFromThresholds()
356 ThrottlingSeverity ret_cold = ThrottlingSeverity::NONE; in getSeverityFromThresholds()
357 ThrottlingSeverity ret_cold_hysteresis = ThrottlingSeverity::NONE; in getSeverityFromThresholds()
361 for (size_t i = static_cast<size_t>(ThrottlingSeverity::SHUTDOWN); in getSeverityFromThresholds()
362 i > static_cast<size_t>(ThrottlingSeverity::NONE); --i) { in getSeverityFromThresholds()
364 ret_hot == ThrottlingSeverity::NONE) { in getSeverityFromThresholds()
365 ret_hot = static_cast<ThrottlingSeverity>(i); in getSeverityFromThresholds()
368 ret_hot_hysteresis == ThrottlingSeverity::NONE) { in getSeverityFromThresholds()
369 ret_hot_hysteresis = static_cast<ThrottlingSeverity>(i); in getSeverityFromThresholds()
372 ret_cold == ThrottlingSeverity::NONE) { in getSeverityFromThresholds()
373 ret_cold = static_cast<ThrottlingSeverity>(i); in getSeverityFromThresholds()
376 ret_cold_hysteresis == ThrottlingSeverity::NONE) { in getSeverityFromThresholds()
377 ret_cold_hysteresis = static_cast<ThrottlingSeverity>(i); in getSeverityFromThresholds()
584 if (sensor_status.severity != ThrottlingSeverity::NONE) { in thermalWatcherCallbackFunc()
590 std::pair<ThrottlingSeverity, ThrottlingSeverity> throtting_status; in thermalWatcherCallbackFunc()
616 if (sensor_status.severity != ThrottlingSeverity::NONE) { in thermalWatcherCallbackFunc()