Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp508 const auto curr_cdev_vote = in allocatePowerToCdev() local
516 if (!power_data_invalid && curr_cdev_vote < max_cdev_vote) { in allocatePowerToCdev()
517 cdev_power_budget = cdev_info.state2power[curr_cdev_vote]; in allocatePowerToCdev()
519 << " vote: " << curr_cdev_vote in allocatePowerToCdev()
523 while ((curr_cdev_vote - target_release_step) > in allocatePowerToCdev()
527 cdev_info.state2power[curr_cdev_vote - target_release_step] == in allocatePowerToCdev()
528 cdev_info.state2power[curr_cdev_vote]) { in allocatePowerToCdev()
532 std::max(curr_cdev_vote - target_release_step, 0); in allocatePowerToCdev()
543 while ((curr_cdev_vote + target_throttle_step) < in allocatePowerToCdev()
546 cdev_info.state2power[curr_cdev_vote + target_throttle_step] == in allocatePowerToCdev()
[all …]