Home
last modified time | relevance | path

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

/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.c1137 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl92ce_set_media_status() local
1139 bt_msr &= 0xfc; in _rtl92ce_set_media_status()
1157 bt_msr |= MSR_NOLINK; in _rtl92ce_set_media_status()
1163 bt_msr |= MSR_ADHOC; in _rtl92ce_set_media_status()
1168 bt_msr |= MSR_INFRA; in _rtl92ce_set_media_status()
1174 bt_msr |= MSR_AP; in _rtl92ce_set_media_status()
1179 bt_msr |= MSR_ADHOC; in _rtl92ce_set_media_status()
1191 rtl_write_byte(rtlpriv, (MSR), bt_msr); in _rtl92ce_set_media_status()
1193 if ((bt_msr & 0xfc) == MSR_AP) in _rtl92ce_set_media_status()
/drivers/net/wireless/rtlwifi/rtl8192de/
Dhw.c1075 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl92de_set_media_status() local
1079 bt_msr &= 0xfc; in _rtl92de_set_media_status()
1097 bt_msr |= MSR_NOLINK; in _rtl92de_set_media_status()
1104 bt_msr |= MSR_ADHOC; in _rtl92de_set_media_status()
1110 bt_msr |= MSR_INFRA; in _rtl92de_set_media_status()
1117 bt_msr |= MSR_AP; in _rtl92de_set_media_status()
1129 rtl_write_byte(rtlpriv, REG_CR + 2, bt_msr); in _rtl92de_set_media_status()
1131 if ((bt_msr & 0xfc) == MSR_AP) in _rtl92de_set_media_status()
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dhw.c1172 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl88ee_set_media_status() local
1174 bt_msr &= 0xfc; in _rtl88ee_set_media_status()
1193 bt_msr |= MSR_NOLINK; in _rtl88ee_set_media_status()
1199 bt_msr |= MSR_ADHOC; in _rtl88ee_set_media_status()
1204 bt_msr |= MSR_INFRA; in _rtl88ee_set_media_status()
1210 bt_msr |= MSR_AP; in _rtl88ee_set_media_status()
1215 bt_msr |= MSR_ADHOC; in _rtl88ee_set_media_status()
1225 rtl_write_byte(rtlpriv, (MSR), bt_msr); in _rtl88ee_set_media_status()
1227 if ((bt_msr & 0xfc) == MSR_AP) in _rtl88ee_set_media_status()
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dhw.c1303 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl92cu_set_media_status() local
1306 bt_msr &= 0xfc; in _rtl92cu_set_media_status()
1322 bt_msr |= MSR_NOLINK; in _rtl92cu_set_media_status()
1328 bt_msr |= MSR_ADHOC; in _rtl92cu_set_media_status()
1333 bt_msr |= MSR_INFRA; in _rtl92cu_set_media_status()
1339 bt_msr |= MSR_AP; in _rtl92cu_set_media_status()
1348 rtl_write_byte(rtlpriv, (MSR), bt_msr); in _rtl92cu_set_media_status()
1350 if ((bt_msr & 0xfc) == MSR_AP) in _rtl92cu_set_media_status()
/drivers/net/wireless/rtlwifi/rtl8192se/
Dhw.c1158 u8 bt_msr = rtl_read_byte(rtlpriv, MSR); in _rtl92se_set_media_status() local
1160 bt_msr &= ~MSR_LINK_MASK; in _rtl92se_set_media_status()
1164 bt_msr |= (MSR_LINK_NONE << MSR_LINK_SHIFT); in _rtl92se_set_media_status()
1169 bt_msr |= (MSR_LINK_ADHOC << MSR_LINK_SHIFT); in _rtl92se_set_media_status()
1174 bt_msr |= (MSR_LINK_MANAGED << MSR_LINK_SHIFT); in _rtl92se_set_media_status()
1179 bt_msr |= (MSR_LINK_MASTER << MSR_LINK_SHIFT); in _rtl92se_set_media_status()
1191 rtl_write_byte(rtlpriv, (MSR), bt_msr); in _rtl92se_set_media_status()
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dhw.c1050 u8 bt_msr = rtl_read_byte(rtlpriv, MSR) & 0xfc; in _rtl8723ae_set_media_status() local
1073 bt_msr |= MSR_NOLINK; in _rtl8723ae_set_media_status()
1079 bt_msr |= MSR_ADHOC; in _rtl8723ae_set_media_status()
1084 bt_msr |= MSR_INFRA; in _rtl8723ae_set_media_status()
1090 bt_msr |= MSR_AP; in _rtl8723ae_set_media_status()
1103 rtl_write_byte(rtlpriv, (MSR), bt_msr); in _rtl8723ae_set_media_status()
1105 if ((bt_msr & 0x03) == MSR_AP) in _rtl8723ae_set_media_status()