Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp230 const CdevInfo &cdev_info = cooling_device_info_map.at(binded_cdev_info_pair.first); in updatePowerBudget() local
232 default_i_budget += cdev_info.state2power[max_cdev_vote]; in updatePowerBudget()
463 const CdevInfo &cdev_info = cooling_device_info_map.at(binded_cdev_info_pair.first); in allocatePowerToCdev() local
472 binded_cdev_info_pair.first) == cdev_info.max_state)) { in allocatePowerToCdev()
474 << " has been already at max state " << cdev_info.max_state; in allocatePowerToCdev()
479 cdev_power_budget = cdev_info.state2power[0]; in allocatePowerToCdev()
496 if (!std::isnan(cdev_info.state2power[0]) && in allocatePowerToCdev()
497 cdev_power_budget > cdev_info.state2power[0]) { in allocatePowerToCdev()
498 cdev_power_budget = cdev_info.state2power[0]; in allocatePowerToCdev()
517 cdev_power_budget = cdev_info.state2power[curr_cdev_vote]; in allocatePowerToCdev()
[all …]
/hardware/google/pixel/thermal/
Dthermal-helper.cpp127 const auto &cdev_info = cooling_device_info_map_.at(binded_cdev_info_pair.first); in maxCoolingRequestCheck() local
129 if (cdev_ceiling > cdev_info.max_state) { in maxCoolingRequestCheck()
132 << " is higher than max state:" << cdev_info.max_state; in maxCoolingRequestCheck()
134 cdev_ceiling = cdev_info.max_state; in maxCoolingRequestCheck()
492 const CdevInfo &cdev_info = cooling_device_info_map_.at(cooling_device.data()); in readCoolingDevice() local
493 const CoolingType &type = cdev_info.type; in readCoolingDevice()