Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c40 u8 rpwm; in r8712_set_rpwm() local
43 if (pwrpriv->rpwm == val8) { in r8712_set_rpwm()
49 rpwm = val8 | pwrpriv->tog; in r8712_set_rpwm()
65 pwrpriv->rpwm = val8; in r8712_set_rpwm()
66 r8712_write8(padapter, 0x1025FE58, rpwm); in r8712_set_rpwm()
134 if (pwrpriv->cpwm != pwrpriv->rpwm) in _rpwm_check_handler()
158 if (pwrpriv->cpwm != pwrpriv->rpwm) { in rpwm_workitem_callback()
162 r8712_set_rpwm(padapter, pwrpriv->rpwm); in rpwm_workitem_callback()
Drtl871x_pwrctrl.h92 /*volatile*/ u8 rpwm; /* requested power state for fw */ member
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c264 u8 rpwm; in rtw_set_rpwm() local
273 if ((pwrpriv->rpwm == pslv) in rtw_set_rpwm()
274 || ((pwrpriv->rpwm >= PS_STATE_S2) && (pslv >= PS_STATE_S2))) { in rtw_set_rpwm()
276 ("%s: Already set rpwm[0x%02X], new = 0x%02X!\n", __func__, pwrpriv->rpwm, pslv)); in rtw_set_rpwm()
303 rpwm = pslv | pwrpriv->tog; in rtw_set_rpwm()
306 rpwm |= PS_ACK; in rtw_set_rpwm()
308 ("rtw_set_rpwm: rpwm = 0x%02x cpwm = 0x%02x\n", rpwm, pwrpriv->cpwm)); in rtw_set_rpwm()
310 pwrpriv->rpwm = pslv; in rtw_set_rpwm()
313 if (rpwm & PS_ACK) in rtw_set_rpwm()
316 if (rpwm & PS_ACK) in rtw_set_rpwm()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_8822b/
Dhalmac_api_8822b_sdio.c30 u8 rpwm; in halmac_mac_power_switch_8822b_sdio() local
61 rpwm = (u8)((halmac_adapter->rpwm_record ^ BIT(7)) & 0x80); in halmac_mac_power_switch_8822b_sdio()
62 HALMAC_REG_WRITE_8(halmac_adapter, REG_SDIO_HRPWM1, rpwm); in halmac_mac_power_switch_8822b_sdio()
/Linux-v4.19/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()
520 pwrctrlpriv->rpwm = 0; in rtw_init_pwrctrl_priv()
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Drtw_pwrctrl.h140 volatile u8 rpwm; /* requested power state for fw */ member
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_pwrctrl.h212 volatile u8 rpwm; /* requested power state for fw */ member
/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/
Dhalmac_api_88xx.c2413 u8 rpwm; in halmac_enter_ps_88xx() local
2456 rpwm = (u8)(((halmac_adapter->rpwm_record ^ (BIT(7))) | in halmac_enter_ps_88xx()
2460 rpwm); in halmac_enter_ps_88xx()
2465 rpwm = (u8)(((halmac_adapter->rpwm_record ^ (BIT(7))) | in halmac_enter_ps_88xx()
2468 HALMAC_REG_WRITE_8(halmac_adapter, 0xFE58, rpwm); in halmac_enter_ps_88xx()
2482 u8 rpwm, cpwm; in halmac_leave_ps_88xx() local
2513 rpwm = (u8)( in halmac_leave_ps_88xx()
2516 HALMAC_REG_WRITE_8(halmac_adapter, REG_SDIO_HRPWM1, rpwm); in halmac_leave_ps_88xx()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8821a1ant.c892 u8 rpwm = rpwm_val; in btc8821a1ant_set_lps_rpwm() local
895 btcoexist->btc_set(btcoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in btc8821a1ant_set_lps_rpwm()
Dhalbtc8723b1ant.c744 u8 rpwm = rpwm_val; in halbtc8723b1ant_set_lps_rpwm() local
747 btcoexist->btc_set(btcoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in halbtc8723b1ant_set_lps_rpwm()
Dhalbtc8723b2ant.c1026 u8 rpwm = rpwm_val; in btc8723b2ant_set_lps_rpwm() local
1029 btcoexist->btc_set(btcoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in btc8723b2ant_set_lps_rpwm()
Dhalbtc8821a2ant.c1003 u8 rpwm = rpwm_val; in btc8821a2ant_set_lps_rpwm() local
1006 btcoexist->btc_set(btcoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in btc8821a2ant_set_lps_rpwm()
/Linux-v4.19/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()
/Linux-v4.19/drivers/staging/rtlwifi/btcoexist/
Dhalbtc8822b1ant.c1589 u8 rpwm = rpwm_val; in halbtc8822b1ant_set_lps_rpwm() local
1592 btcoexist->btc_set(btcoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in halbtc8822b1ant_set_lps_rpwm()
Dhalbtc8822b2ant.c1322 u8 rpwm = rpwm_val; in halbtc8822b2ant_set_lps_rpwm() local
1325 btcoexist->btc_set(btcoexist, BTC_SET_U1_RPWM_VAL, &rpwm); in halbtc8822b2ant_set_lps_rpwm()