Searched refs:pslv (Results 1 – 2 of 2) sorted by relevance
/drivers/staging/rtl8723au/core/ |
D | rtw_pwrctrl.c | 191 void rtw_set_rpwm23a(struct rtw_adapter *padapter, u8 pslv) in rtw_set_rpwm23a() argument 196 pslv = PS_STATE(pslv); in rtw_set_rpwm23a() 199 if (pslv < PS_STATE_S4) in rtw_set_rpwm23a() 200 pslv = PS_STATE_S3; in rtw_set_rpwm23a() 203 if (pwrpriv->rpwm == pslv) { in rtw_set_rpwm23a() 206 __func__, pwrpriv->rpwm, pslv)); in rtw_set_rpwm23a() 225 __func__, pslv)); in rtw_set_rpwm23a() 227 if (pslv < PS_STATE_S2) { in rtw_set_rpwm23a() 231 __func__, pslv)); in rtw_set_rpwm23a() 236 rpwm = pslv | pwrpriv->tog; in rtw_set_rpwm23a() [all …]
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_pwrctrl.c | 298 void rtw_set_rpwm(struct adapter *padapter, u8 pslv) in rtw_set_rpwm() argument 303 pslv = PS_STATE(pslv); in rtw_set_rpwm() 306 if (pslv < PS_STATE_S4) in rtw_set_rpwm() 307 pslv = PS_STATE_S3; in rtw_set_rpwm() 310 if ((pwrpriv->rpwm == pslv)) { in rtw_set_rpwm() 312 ("%s: Already set rpwm[0x%02X], new=0x%02X!\n", __func__, pwrpriv->rpwm, pslv)); in rtw_set_rpwm() 329 ("%s: change power state(0x%02X) when DriverStopped\n", __func__, pslv)); in rtw_set_rpwm() 331 if (pslv < PS_STATE_S2) { in rtw_set_rpwm() 333 ("%s: Reject to enter PS_STATE(0x%02X) lower than S2 when DriverStopped!!\n", __func__, pslv)); in rtw_set_rpwm() 338 rpwm = pslv | pwrpriv->tog; in rtw_set_rpwm() [all …]
|