Home
last modified time | relevance | path

Searched refs:rpwm (Results 1 – 12 of 12) sorted by relevance

/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c28 u8 rpwm; in r8712_set_rpwm() local
31 if (pwrpriv->rpwm == val8) { in r8712_set_rpwm()
37 rpwm = val8 | pwrpriv->tog; in r8712_set_rpwm()
53 pwrpriv->rpwm = val8; in r8712_set_rpwm()
54 r8712_write8(padapter, 0x1025FE58, rpwm); in r8712_set_rpwm()
122 if (pwrpriv->cpwm != pwrpriv->rpwm) in _rpwm_check_handler()
146 if (pwrpriv->cpwm != pwrpriv->rpwm) { in rpwm_workitem_callback()
150 r8712_set_rpwm(padapter, pwrpriv->rpwm); in rpwm_workitem_callback()
Drtl871x_pwrctrl.h80 /*volatile*/ u8 rpwm; /* requested power state for fw */ member
/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c262 u8 rpwm; in rtw_set_rpwm() local
271 if ((pwrpriv->rpwm == pslv) in rtw_set_rpwm()
272 || ((pwrpriv->rpwm >= PS_STATE_S2) && (pslv >= PS_STATE_S2))) { in rtw_set_rpwm()
274 ("%s: Already set rpwm[0x%02X], new = 0x%02X!\n", __func__, pwrpriv->rpwm, pslv)); in rtw_set_rpwm()
300 rpwm = pslv | pwrpriv->tog; in rtw_set_rpwm()
303 rpwm |= PS_ACK; in rtw_set_rpwm()
305 ("rtw_set_rpwm: rpwm = 0x%02x cpwm = 0x%02x\n", rpwm, pwrpriv->cpwm)); in rtw_set_rpwm()
307 pwrpriv->rpwm = pslv; in rtw_set_rpwm()
310 if (rpwm & PS_ACK) in rtw_set_rpwm()
313 if (rpwm & PS_ACK) in rtw_set_rpwm()
[all …]
/drivers/staging/rtl8188eu/core/
Drtw_pwrctrl.c285 u8 rpwm; in rtw_set_rpwm() local
295 if (pwrpriv->rpwm == pslv) { in rtw_set_rpwm()
297 ("%s: Already set rpwm[0x%02X], new=0x%02X!\n", __func__, pwrpriv->rpwm, pslv)); in rtw_set_rpwm()
323 rpwm = pslv | pwrpriv->tog; in rtw_set_rpwm()
325 ("%s: rpwm=0x%02x cpwm=0x%02x\n", __func__, rpwm, pwrpriv->cpwm)); in rtw_set_rpwm()
327 pwrpriv->rpwm = pslv; in rtw_set_rpwm()
329 rtw_hal_set_hwreg(padapter, HW_VAR_SET_RPWM, (u8 *)(&rpwm)); in rtw_set_rpwm()
521 pwrctrlpriv->rpwm = 0; in rtw_init_pwrctrl_priv()
/drivers/net/wireless/realtek/rtw88/
Dmac.c225 u8 rpwm; in rtw_mac_power_switch() local
228 rpwm = rtw_read8(rtwdev, rtwdev->hci.rpwm_addr); in rtw_mac_power_switch()
232 rpwm = (rpwm ^ BIT_RPWM_TOGGLE) & BIT_RPWM_TOGGLE; in rtw_mac_power_switch()
233 rtw_write8(rtwdev, rtwdev->hci.rpwm_addr, rpwm); in rtw_mac_power_switch()
/drivers/staging/rtl8188eu/include/
Drtw_pwrctrl.h140 volatile u8 rpwm; /* requested power state for fw */ member
/drivers/staging/rtl8723bs/include/
Drtw_pwrctrl.h208 volatile u8 rpwm; /* requested power state for fw */ member
/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8821a1ant.c870 u8 rpwm = rpwm_val; in btc8821a1ant_set_lps_rpwm() local
873 btcoexist->btc_set(btcoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in btc8821a1ant_set_lps_rpwm()
Dhalbtc8723b1ant.c722 u8 rpwm = rpwm_val; in halbtc8723b1ant_set_lps_rpwm() local
725 btcoexist->btc_set(btcoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in halbtc8723b1ant_set_lps_rpwm()
Dhalbtc8723b2ant.c1005 u8 rpwm = rpwm_val; in btc8723b2ant_set_lps_rpwm() local
1008 btcoexist->btc_set(btcoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in btc8723b2ant_set_lps_rpwm()
Dhalbtc8821a2ant.c981 u8 rpwm = rpwm_val; in btc8821a2ant_set_lps_rpwm() local
984 btcoexist->btc_set(btcoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in btc8821a2ant_set_lps_rpwm()
/drivers/staging/rtl8723bs/hal/
DHalBtc8723b1Ant.c1050 u8 rpwm = rpwmVal; in halbtc8723b1ant_SetLpsRpwm() local
1053 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in halbtc8723b1ant_SetLpsRpwm()