Home
last modified time | relevance | path

Searched refs:u1btmp (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Drf.c386 u8 u1btmp; in rtl92d_phy_enable_anotherphy() local
396 u1btmp = rtl_read_byte(rtlpriv, mac_reg); in rtl92d_phy_enable_anotherphy()
397 if (!(u1btmp & mac_on_bit)) { in rtl92d_phy_enable_anotherphy()
417 u8 u1btmp; in rtl92d_phy_powerdown_anotherphy() local
427 u1btmp = rtl_read_byte(rtlpriv, mac_reg); in rtl92d_phy_powerdown_anotherphy()
428 if (!(u1btmp & mac_on_bit)) { in rtl92d_phy_powerdown_anotherphy()
H A Dphy.c3506 u8 u1btmp; in rtl92d_phy_check_poweroff() local
3510 u1btmp = rtl_read_byte(rtlpriv, REG_MAC0); in rtl92d_phy_check_poweroff()
3511 rtl_write_byte(rtlpriv, REG_MAC0, u1btmp & (~MAC0_ON)); in rtl92d_phy_check_poweroff()
3516 u1btmp = rtl_read_byte(rtlpriv, REG_MAC0); in rtl92d_phy_check_poweroff()
3518 u1btmp = rtl_read_byte(rtlpriv, REG_MAC1); in rtl92d_phy_check_poweroff()
3519 u1btmp &= MAC1_ON; in rtl92d_phy_check_poweroff()
3521 u1btmp = rtl_read_byte(rtlpriv, REG_MAC1); in rtl92d_phy_check_poweroff()
3523 u1btmp = rtl_read_byte(rtlpriv, REG_MAC0); in rtl92d_phy_check_poweroff()
3524 u1btmp &= MAC0_ON; in rtl92d_phy_check_poweroff()
3526 if (u1btmp) { in rtl92d_phy_check_poweroff()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dhw.c1303 u8 u1btmp; in _rtl92s_phy_set_rfhalt() local
1309 u1btmp = rtl_read_byte(rtlpriv, LDOV12D_CTRL); in _rtl92s_phy_set_rfhalt()
1310 u1btmp |= BIT(0); in _rtl92s_phy_set_rfhalt()
1311 rtl_write_byte(rtlpriv, LDOV12D_CTRL, u1btmp); in _rtl92s_phy_set_rfhalt()
1327 u1btmp = rtl_read_byte(rtlpriv, (REG_SYS_FUNC_EN + 1)); in _rtl92s_phy_set_rfhalt()
1328 u1btmp &= ~(BIT(0)); in _rtl92s_phy_set_rfhalt()
1329 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, u1btmp); in _rtl92s_phy_set_rfhalt()
1332 u1btmp = rtl_read_byte(rtlpriv, (SYS_CLKR + 1)); in _rtl92s_phy_set_rfhalt()
1338 if (u1btmp & BIT(7)) { in _rtl92s_phy_set_rfhalt()
1339 u1btmp &= ~(BIT(6) | BIT(7)); in _rtl92s_phy_set_rfhalt()
[all …]
H A Dphy.c467 u8 u1btmp; in _rtl92se_phy_set_rf_sleep() local
469 u1btmp = rtl_read_byte(rtlpriv, LDOV12D_CTRL); in _rtl92se_phy_set_rf_sleep()
470 u1btmp |= BIT(0); in _rtl92se_phy_set_rf_sleep()
472 rtl_write_byte(rtlpriv, LDOV12D_CTRL, u1btmp); in _rtl92se_phy_set_rf_sleep()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dphy.c1877 u8 u1btmp; in _rtl88e_phy_set_rfpath_switch() local
1878 u1btmp = rtl_read_byte(rtlpriv, REG_LEDCFG0); in _rtl88e_phy_set_rfpath_switch()
1879 rtl_write_byte(rtlpriv, REG_LEDCFG0, u1btmp | BIT(7)); in _rtl88e_phy_set_rfpath_switch()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dphy.c2718 u8 u1btmp; in _rtl92ee_phy_set_rfpath_switch() local
2720 u1btmp = rtl_read_byte(rtlpriv, REG_LEDCFG0); in _rtl92ee_phy_set_rfpath_switch()
2721 rtl_write_byte(rtlpriv, REG_LEDCFG0, u1btmp | BIT(7)); in _rtl92ee_phy_set_rfpath_switch()