Home
last modified time | relevance | path

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

/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c259 void rtw_set_rpwm(struct adapter *padapter, u8 pslv) in rtw_set_rpwm() argument
265 pslv = PS_STATE(pslv); in rtw_set_rpwm()
268 DBG_871X("%s: RPWM timeout, force to set RPWM(0x%02X) again!\n", __func__, pslv); in rtw_set_rpwm()
270 if ((pwrpriv->rpwm == pslv) in rtw_set_rpwm()
271 || ((pwrpriv->rpwm >= PS_STATE_S2) && (pslv >= PS_STATE_S2))) { in rtw_set_rpwm()
273 ("%s: Already set rpwm[0x%02X], new = 0x%02X!\n", __func__, pwrpriv->rpwm, pslv)); in rtw_set_rpwm()
290 ("%s: change power state(0x%02X) when DriverStopped\n", __func__, pslv)); in rtw_set_rpwm()
292 if (pslv < PS_STATE_S2) { in rtw_set_rpwm()
294 … ("%s: Reject to enter PS_STATE(0x%02X) lower than S2 when DriverStopped!!\n", __func__, pslv)); in rtw_set_rpwm()
299 rpwm = pslv | pwrpriv->tog; in rtw_set_rpwm()
[all …]
/drivers/staging/rtl8188eu/core/
Drtw_pwrctrl.c279 void rtw_set_rpwm(struct adapter *padapter, u8 pslv) in rtw_set_rpwm() argument
284 pslv = PS_STATE(pslv); in rtw_set_rpwm()
287 if (pslv < PS_STATE_S4) in rtw_set_rpwm()
288 pslv = PS_STATE_S3; in rtw_set_rpwm()
291 if (pwrpriv->rpwm == pslv) { in rtw_set_rpwm()
293 ("%s: Already set rpwm[0x%02X], new=0x%02X!\n", __func__, pwrpriv->rpwm, pslv)); in rtw_set_rpwm()
310 ("%s: change power state(0x%02X) when DriverStopped\n", __func__, pslv)); in rtw_set_rpwm()
312 if (pslv < PS_STATE_S2) { in rtw_set_rpwm()
314 ("%s: Reject to enter PS_STATE(0x%02X) lower than S2 when DriverStopped!!\n", __func__, pslv)); in rtw_set_rpwm()
319 rpwm = pslv | pwrpriv->tog; in rtw_set_rpwm()
[all …]