Lines Matching refs:release_step

658         auto &release_step =  in throttlingReleaseUpdate()  local
664 release_step = binded_cdev_info_pair.second.throttling_with_power_link ? max_state : 0; in throttlingReleaseUpdate()
696 if (std::abs(release_step) < static_cast<int>(max_state)) { in throttlingReleaseUpdate()
697 release_step--; in throttlingReleaseUpdate()
700 release_step = 0; in throttlingReleaseUpdate()
705 if (release_step < static_cast<int>(max_state)) { in throttlingReleaseUpdate()
706 release_step++; in throttlingReleaseUpdate()
709 release_step = 0; in throttlingReleaseUpdate()
714 if (release_step < static_cast<int>(max_state)) { in throttlingReleaseUpdate()
715 release_step++; in throttlingReleaseUpdate()
718 if (std::abs(release_step) < static_cast<int>(max_state)) { in throttlingReleaseUpdate()
719 release_step--; in throttlingReleaseUpdate()
724 release_step = is_over_budget ? 0 : max_state; in throttlingReleaseUpdate()
776 int release_step = 0; in computeCoolingDevicesRequest() local
800 release_step = 0; in computeCoolingDevicesRequest()
812 release_step = cdev_release_map.at(cdev_name); in computeCoolingDevicesRequest()
818 << " release_step=" << release_step in computeCoolingDevicesRequest()
826 ATRACE_INT((atrace_prefix + std::string("-release_step")).c_str(), release_step); in computeCoolingDevicesRequest()
831 if (release_step) { in computeCoolingDevicesRequest()
832 if (release_step >= request_state) { in computeCoolingDevicesRequest()
835 request_state = request_state - release_step; in computeCoolingDevicesRequest()