Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/staging/r8188eu/hal/
Drtl8188e_hal_init.c717 u16 tmpV16; in hal_EfusePowerSwitch_RTL8188E() local
723 tmpV16 = rtw_read16(pAdapter, REG_SYS_ISO_CTRL); in hal_EfusePowerSwitch_RTL8188E()
724 if (!(tmpV16 & PWC_EV12V)) { in hal_EfusePowerSwitch_RTL8188E()
725 tmpV16 |= PWC_EV12V; in hal_EfusePowerSwitch_RTL8188E()
726 rtw_write16(pAdapter, REG_SYS_ISO_CTRL, tmpV16); in hal_EfusePowerSwitch_RTL8188E()
729 tmpV16 = rtw_read16(pAdapter, REG_SYS_FUNC_EN); in hal_EfusePowerSwitch_RTL8188E()
730 if (!(tmpV16 & FEN_ELDR)) { in hal_EfusePowerSwitch_RTL8188E()
731 tmpV16 |= FEN_ELDR; in hal_EfusePowerSwitch_RTL8188E()
732 rtw_write16(pAdapter, REG_SYS_FUNC_EN, tmpV16); in hal_EfusePowerSwitch_RTL8188E()
736 tmpV16 = rtw_read16(pAdapter, REG_SYS_CLKR); in hal_EfusePowerSwitch_RTL8188E()
[all …]
/Linux-v5.15/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c652 u16 tmpV16; in Hal_EfusePowerSwitch() local
684 tmpV16 = rtw_read16(padapter, REG_SYS_FUNC_EN); in Hal_EfusePowerSwitch()
685 if (!(tmpV16 & FEN_ELDR)) { in Hal_EfusePowerSwitch()
686 tmpV16 |= FEN_ELDR; in Hal_EfusePowerSwitch()
687 rtw_write16(padapter, REG_SYS_FUNC_EN, tmpV16); in Hal_EfusePowerSwitch()
691 tmpV16 = rtw_read16(padapter, REG_SYS_CLKR); in Hal_EfusePowerSwitch()
692 if ((!(tmpV16 & LOADER_CLK_EN)) || (!(tmpV16 & ANA8M))) { in Hal_EfusePowerSwitch()
693 tmpV16 |= (LOADER_CLK_EN | ANA8M); in Hal_EfusePowerSwitch()
694 rtw_write16(padapter, REG_SYS_CLKR, tmpV16); in Hal_EfusePowerSwitch()