Home
last modified time | relevance | path

Searched refs:binded_cdev_info_pair (Results 1 – 5 of 5) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp227 for (const auto &binded_cdev_info_pair : in updatePowerBudget() local
230 const CdevInfo &cdev_info = cooling_device_info_map.at(binded_cdev_info_pair.first); in updatePowerBudget()
231 max_cdev_vote = getCdevMaxRequest(binded_cdev_info_pair.first, &max_cdev_vote); in updatePowerBudget()
389 for (const auto &binded_cdev_info_pair : in allocatePowerToCdev()
393 const auto cdev_weight = binded_cdev_info_pair.second in allocatePowerToCdev()
395 if (!binded_cdev_info_pair.second.enabled) { in allocatePowerToCdev()
398 allocated_cdev.insert(binded_cdev_info_pair.first); in allocatePowerToCdev()
405 for (const auto &binded_cdev_info_pair : in allocatePowerToCdev()
411 binded_cdev_info_pair.second in allocatePowerToCdev()
414 if (allocated_cdev.count(binded_cdev_info_pair.first)) { in allocatePowerToCdev()
[all …]
Dthermal_stats_helper.cpp132 for (const auto &binded_cdev_info_pair : in initializeSensorCdevRequestStats() local
134 const auto &cdev = binded_cdev_info_pair.first; in initializeSensorCdevRequestStats()
136 cooling_device_info_map_.at(binded_cdev_info_pair.first).max_state; in initializeSensorCdevRequestStats()
Dthermal_info.cpp984 for (const auto &binded_cdev_info_pair : binded_cdev_info_map_profile) { in ParseSensorThrottlingInfo() local
985 if (binded_cdev_info_map.count(binded_cdev_info_pair.first)) { in ParseSensorThrottlingInfo()
986 if (binded_cdev_info_pair.second.power_rail != in ParseSensorThrottlingInfo()
987 binded_cdev_info_map.at(binded_cdev_info_pair.first).power_rail) { in ParseSensorThrottlingInfo()
989 << binded_cdev_info_pair.first in ParseSensorThrottlingInfo()
998 << binded_cdev_info_pair.first in ParseSensorThrottlingInfo()
/hardware/google/pixel/thermal/
DThermal.cpp440 for (const auto &binded_cdev_info_pair : in dumpThrottlingInfo() local
444 *dump_buf << " Cooling device name: " << binded_cdev_info_pair.first << std::endl; in dumpThrottlingInfo()
449 *dump_buf << binded_cdev_info_pair.second.cdev_weight_for_pid[i] << " "; in dumpThrottlingInfo()
455 *dump_buf << binded_cdev_info_pair.second.cdev_ceiling[i] << " "; in dumpThrottlingInfo()
460 *dump_buf << binded_cdev_info_pair.second.limit_info[i] << " "; in dumpThrottlingInfo()
464 if (!binded_cdev_info_pair.second.power_rail.empty()) { in dumpThrottlingInfo()
466 << binded_cdev_info_pair.second.power_rail << std::endl; in dumpThrottlingInfo()
469 *dump_buf << binded_cdev_info_pair.second.power_thresholds[i] << " "; in dumpThrottlingInfo()
474 *dump_buf << binded_cdev_info_pair.second.cdev_floor_with_power_link[i] in dumpThrottlingInfo()
479 switch (binded_cdev_info_pair.second.release_logic) { in dumpThrottlingInfo()
[all …]
Dthermal-helper.cpp126 for (auto &binded_cdev_info_pair : *binded_cdev_info_map) { in maxCoolingRequestCheck()
127 const auto &cdev_info = cooling_device_info_map_.at(binded_cdev_info_pair.first); in maxCoolingRequestCheck()
128 for (auto &cdev_ceiling : binded_cdev_info_pair.second.cdev_ceiling) { in maxCoolingRequestCheck()
131 LOG(ERROR) << binded_cdev_info_pair.first << " cdev_ceiling:" << cdev_ceiling in maxCoolingRequestCheck()