Home
last modified time | relevance | path

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

/aosp12/hardware/google/pixel/thermal/utils/
H A Dconfig_parser.cpp207 std::array<float, kThrottlingSeverityCount> hot_thresholds; in ParseSensorInfo() local
208 hot_thresholds.fill(NAN); in ParseSensorInfo()
236 hot_thresholds[j] = getFloatFromValue(values[j]); in ParseSensorInfo()
237 if (!std::isnan(hot_thresholds[j])) { in ParseSensorInfo()
238 if (hot_thresholds[j] < min) { in ParseSensorInfo()
241 << "]: " << hot_thresholds[j] << " < " << min; in ParseSensorInfo()
245 min = hot_thresholds[j]; in ParseSensorInfo()
248 << "]: " << hot_thresholds[j]; in ParseSensorInfo()
660 .hot_thresholds = hot_thresholds, in ParseSensorInfo()
H A Dconfig_parser.h101 ThrottlingArray hot_thresholds; member
/aosp12/hardware/google/pixel/thermal/
H A Dthermal-helper.cpp475 sensor_info.hot_thresholds[static_cast<size_t>(ThrottlingSeverity::SEVERE)]; in readTemperature()
477 sensor_info.hot_thresholds[static_cast<size_t>(ThrottlingSeverity::SHUTDOWN)]; in readTemperature()
523 status = getSeverityFromThresholds(sensor_info.hot_thresholds, sensor_info.cold_thresholds, in readTemperature()
553 out->hotThrottlingThresholds = sensor_info.hot_thresholds; in readTemperatureThreshold()
593 float err = sensor_info.hot_thresholds[target_state] - temp.value; in pidPowerCalculator()
761 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds, in getSeverityFromThresholds() argument
774 if (!std::isnan(hot_thresholds[i]) && hot_thresholds[i] <= value && in getSeverityFromThresholds()
778 if (!std::isnan(hot_thresholds[i]) && (hot_thresholds[i] - hot_hysteresis[i]) < value && in getSeverityFromThresholds()
958 if (!std::isnan(sensor_info.second.hot_thresholds[i]) && in initializeTrip()
962 sensor_info.second.hot_thresholds[i] / sensor_info.second.multiplier)); in initializeTrip()
H A Dthermal-helper.h188 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds,