Home
last modified time | relevance | path

Searched refs:bt_msr (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c738 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl92de_set_media_status() local
741 bt_msr &= 0xfc; in _rtl92de_set_media_status()
758 bt_msr |= MSR_NOLINK; in _rtl92de_set_media_status()
764 bt_msr |= MSR_ADHOC; in _rtl92de_set_media_status()
769 bt_msr |= MSR_INFRA; in _rtl92de_set_media_status()
775 bt_msr |= MSR_AP; in _rtl92de_set_media_status()
783 rtl_write_byte(rtlpriv, MSR, bt_msr); in _rtl92de_set_media_status()
785 if ((bt_msr & MSR_MASK) == MSR_AP) in _rtl92de_set_media_status()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Dhw.c883 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl92du_set_media_status() local
885 bt_msr &= 0xfc; in _rtl92du_set_media_status()
903 bt_msr |= MSR_NOLINK; in _rtl92du_set_media_status()
909 bt_msr |= MSR_ADHOC; in _rtl92du_set_media_status()
914 bt_msr |= MSR_INFRA; in _rtl92du_set_media_status()
920 bt_msr |= MSR_AP; in _rtl92du_set_media_status()
928 rtl_write_byte(rtlpriv, MSR, bt_msr); in _rtl92du_set_media_status()
932 if ((bt_msr & MSR_MASK) == MSR_AP) in _rtl92du_set_media_status()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c1142 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl92se_set_media_status() local
1144 bt_msr &= ~MSR_LINK_MASK; in _rtl92se_set_media_status()
1148 bt_msr |= (MSR_LINK_NONE << MSR_LINK_SHIFT); in _rtl92se_set_media_status()
1153 bt_msr |= (MSR_LINK_ADHOC << MSR_LINK_SHIFT); in _rtl92se_set_media_status()
1158 bt_msr |= (MSR_LINK_MANAGED << MSR_LINK_SHIFT); in _rtl92se_set_media_status()
1163 bt_msr |= (MSR_LINK_MASTER << MSR_LINK_SHIFT); in _rtl92se_set_media_status()
1175 bt_msr = rtl_read_byte(rtlpriv, MSR) & ~MSR_LINK_MASK; in _rtl92se_set_media_status()
1176 rtl_write_byte(rtlpriv, MSR, bt_msr); in _rtl92se_set_media_status()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1203 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl92cu_set_media_status() local
1206 bt_msr &= 0xfc; in _rtl92cu_set_media_status()
1221 bt_msr |= MSR_NOLINK; in _rtl92cu_set_media_status()
1227 bt_msr |= MSR_ADHOC; in _rtl92cu_set_media_status()
1232 bt_msr |= MSR_INFRA; in _rtl92cu_set_media_status()
1238 bt_msr |= MSR_AP; in _rtl92cu_set_media_status()
1246 rtl_write_byte(rtlpriv, MSR, bt_msr); in _rtl92cu_set_media_status()
1248 if ((bt_msr & MSR_MASK) == MSR_AP) in _rtl92cu_set_media_status()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c2098 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl8821ae_set_media_status() local
2100 bt_msr &= 0xfc; in _rtl8821ae_set_media_status()
2122 bt_msr |= MSR_NOLINK; in _rtl8821ae_set_media_status()
2128 bt_msr |= MSR_ADHOC; in _rtl8821ae_set_media_status()
2133 bt_msr |= MSR_INFRA; in _rtl8821ae_set_media_status()
2139 bt_msr |= MSR_AP; in _rtl8821ae_set_media_status()
2148 rtl_write_byte(rtlpriv, MSR, bt_msr); in _rtl8821ae_set_media_status()
2150 if ((bt_msr & MSR_MASK) == MSR_AP) in _rtl8821ae_set_media_status()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c1130 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl92ce_set_media_status() local
1134 bt_msr &= 0xfc; in _rtl92ce_set_media_status()
1192 rtl_write_byte(rtlpriv, MSR, bt_msr | mode); in _rtl92ce_set_media_status()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c1096 u8 bt_msr = rtl_read_byte(rtlpriv, MSR) & 0xfc; in _rtl8723e_set_media_status() local
1155 rtl_write_byte(rtlpriv, MSR, bt_msr | mode); in _rtl8723e_set_media_status()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c1197 u8 bt_msr = rtl_read_byte(rtlpriv, MSR) & 0xfc; in _rtl88ee_set_media_status() local
1253 rtl_write_byte(rtlpriv, MSR, bt_msr | mode); in _rtl88ee_set_media_status()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c1487 u8 bt_msr = rtl_read_byte(rtlpriv, MSR) & 0xfc; in _rtl8723be_set_media_status() local
1543 rtl_write_byte(rtlpriv, MSR, bt_msr | mode); in _rtl8723be_set_media_status()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c1454 u8 bt_msr = rtl_read_byte(rtlpriv, MSR) & 0xfc; in _rtl92ee_set_media_status() local
1510 rtl_write_byte(rtlpriv, MSR, bt_msr | mode); in _rtl92ee_set_media_status()