Lines Matching refs:new_pwrst
1052 u8 new_pwrst; in pwrdm_get_valid_lp_state() local
1066 new_pwrst = req_state - 1; in pwrdm_get_valid_lp_state()
1068 while (!(pwrdm_states & BIT(new_pwrst))) { in pwrdm_get_valid_lp_state()
1070 if (new_pwrst == PWRDM_POWER_OFF) { in pwrdm_get_valid_lp_state()
1074 new_pwrst--; in pwrdm_get_valid_lp_state()
1082 new_pwrst = req_state + 1; in pwrdm_get_valid_lp_state()
1083 while (!(pwrdm_states & BIT(new_pwrst))) { in pwrdm_get_valid_lp_state()
1084 if (new_pwrst > PWRDM_POWER_ON) { in pwrdm_get_valid_lp_state()
1090 if (new_pwrst == default_pwrst) in pwrdm_get_valid_lp_state()
1092 new_pwrst++; in pwrdm_get_valid_lp_state()
1095 return new_pwrst; in pwrdm_get_valid_lp_state()