Lines Matching refs:new_pwrst
1049 u8 new_pwrst; in pwrdm_get_valid_lp_state() local
1063 new_pwrst = req_state - 1; in pwrdm_get_valid_lp_state()
1065 while (!(pwrdm_states & BIT(new_pwrst))) { in pwrdm_get_valid_lp_state()
1067 if (new_pwrst == PWRDM_POWER_OFF) { in pwrdm_get_valid_lp_state()
1071 new_pwrst--; in pwrdm_get_valid_lp_state()
1079 new_pwrst = req_state + 1; in pwrdm_get_valid_lp_state()
1080 while (!(pwrdm_states & BIT(new_pwrst))) { in pwrdm_get_valid_lp_state()
1081 if (new_pwrst > PWRDM_POWER_ON) { in pwrdm_get_valid_lp_state()
1087 if (new_pwrst == default_pwrst) in pwrdm_get_valid_lp_state()
1089 new_pwrst++; in pwrdm_get_valid_lp_state()
1092 return new_pwrst; in pwrdm_get_valid_lp_state()