Home
last modified time | relevance | path

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

/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c884 u8 tmp_u1b; in rtl92de_hw_init() local
912 tmp_u1b = rtl_read_byte(rtlpriv, 0x605); in rtl92de_hw_init()
913 tmp_u1b = tmp_u1b | 0x30; in rtl92de_hw_init()
914 rtl_write_byte(rtlpriv, 0x605, tmp_u1b); in rtl92de_hw_init()
920 tmp_u1b = rtl_read_byte(rtlpriv, 0x4d0); in rtl92de_hw_init()
921 tmp_u1b = tmp_u1b | 0x1f; in rtl92de_hw_init()
922 rtl_write_byte(rtlpriv, 0x4d0, tmp_u1b); in rtl92de_hw_init()
926 tmp_u1b = rtl_read_byte(rtlpriv, 0x605); in rtl92de_hw_init()
927 tmp_u1b = tmp_u1b | 0x40; in rtl92de_hw_init()
928 rtl_write_byte(rtlpriv, 0x605, tmp_u1b); in rtl92de_hw_init()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c1047 u8 tmp_u1b, u1byte; in rtl88ee_hw_init() local
1064 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CLKR+1); in rtl88ee_hw_init()
1066 if ((tmp_u1b & BIT(3)) && (u1byte != 0 && u1byte != 0xEA)) { in rtl88ee_hw_init()
1151 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl88ee_hw_init()
1152 if (!(tmp_u1b & BIT(0))) { in rtl88ee_hw_init()
1157 if (!(tmp_u1b & BIT(4))) { in rtl88ee_hw_init()
1158 tmp_u1b = rtl_read_byte(rtlpriv, 0x16); in rtl88ee_hw_init()
1159 tmp_u1b &= 0x0F; in rtl88ee_hw_init()
1160 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl88ee_hw_init()
1162 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl88ee_hw_init()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c923 u8 tmp_u1b; in rtl92ce_hw_init() local
1013 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl92ce_hw_init()
1014 if (!(tmp_u1b & BIT(0))) { in rtl92ce_hw_init()
1019 if (!(tmp_u1b & BIT(1)) && is92c) { in rtl92ce_hw_init()
1024 if (!(tmp_u1b & BIT(4))) { in rtl92ce_hw_init()
1025 tmp_u1b = rtl_read_byte(rtlpriv, 0x16); in rtl92ce_hw_init()
1026 tmp_u1b &= 0x0F; in rtl92ce_hw_init()
1027 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl92ce_hw_init()
1029 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl92ce_hw_init()
1727 u8 tmp_u1b; in rtl92ce_read_eeprom_info() local
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c920 u8 tmp_u1b; in rtl8723e_hw_init() local
1009 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl8723e_hw_init()
1010 if (!(tmp_u1b & BIT(0))) { in rtl8723e_hw_init()
1015 if (!(tmp_u1b & BIT(4))) { in rtl8723e_hw_init()
1016 tmp_u1b = rtl_read_byte(rtlpriv, 0x16); in rtl8723e_hw_init()
1017 tmp_u1b &= 0x0F; in rtl8723e_hw_init()
1018 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl8723e_hw_init()
1020 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl8723e_hw_init()
1794 u8 tmp_u1b; in rtl8723e_read_eeprom_info() local
1811 tmp_u1b = rtl_read_byte(rtlpriv, REG_9346CR); in rtl8723e_read_eeprom_info()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c1341 u8 tmp_u1b; in rtl8723be_hw_init() local
1352 tmp_u1b = rtl_read_byte(rtlpriv, REG_CR); in rtl8723be_hw_init()
1353 if (tmp_u1b != 0 && tmp_u1b != 0xea) { in rtl8723be_hw_init()
1376 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CFG); in rtl8723be_hw_init()
1377 rtl_write_byte(rtlpriv, REG_SYS_CFG, tmp_u1b & 0x7F); in rtl8723be_hw_init()
1441 tmp_u1b = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in rtl8723be_hw_init()
1442 if (tmp_u1b & BIT(2)) { in rtl8723be_hw_init()
1444 tmp_u1b &= (~BIT(2)); in rtl8723be_hw_init()
1445 rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, tmp_u1b); in rtl8723be_hw_init()
2253 u8 tmp_u1b; in rtl8723be_read_eeprom_info() local
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c1854 u8 tmp_u1b; in rtl8821ae_hw_init() local
1865 tmp_u1b = rtl_read_byte(rtlpriv, REG_CR); in rtl8821ae_hw_init()
1866 if (tmp_u1b != 0 && tmp_u1b != 0xEA) { in rtl8821ae_hw_init()
1907 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CFG); in rtl8821ae_hw_init()
1908 tmp_u1b &= 0x7F; in rtl8821ae_hw_init()
1909 rtl_write_byte(rtlpriv, REG_SYS_CFG, tmp_u1b); in rtl8821ae_hw_init()
1980 tmp_u1b = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in rtl8821ae_hw_init()
1981 if (tmp_u1b & BIT(2)) { in rtl8821ae_hw_init()
1983 tmp_u1b &= ~BIT(2); in rtl8821ae_hw_init()
1984 rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, tmp_u1b); in rtl8821ae_hw_init()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c1281 u8 tmp_u1b, u1byte; in rtl92ee_hw_init() local
1288 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CLKR+1); in rtl92ee_hw_init()
1290 if ((tmp_u1b & BIT(3)) && (u1byte != 0 && u1byte != 0xEA)) { in rtl92ee_hw_init()
1401 efuse_one_byte_read(hw, 0x1FA, &tmp_u1b); in rtl92ee_hw_init()
1402 if (!(tmp_u1b & BIT(0))) { in rtl92ee_hw_init()
1407 if ((!(tmp_u1b & BIT(1))) && (rtlphy->rf_type == RF_2T2R)) { in rtl92ee_hw_init()
2185 u8 tmp_u1b; in rtl92ee_read_eeprom_info() local
2196 tmp_u1b = rtl_read_byte(rtlpriv, REG_9346CR); in rtl92ee_read_eeprom_info()
2197 if (tmp_u1b & BIT(4)) { in rtl92ee_read_eeprom_info()
2204 if (tmp_u1b & BIT(5)) { in rtl92ee_read_eeprom_info()
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c929 u8 tmp_u1b; in rtl92se_hw_init() local
1052 tmp_u1b = rtl_read_byte(rtlpriv, MAC_PINMUX_CFG); in rtl92se_hw_init()
1053 rtl_write_byte(rtlpriv, MAC_PINMUX_CFG, tmp_u1b & (~BIT(3))); in rtl92se_hw_init()
1984 u8 tmp_u1b = 0; in rtl92se_read_eeprom_info() local
1986 tmp_u1b = rtl_read_byte(rtlpriv, EPROM_CMD); in rtl92se_read_eeprom_info()
1988 if (tmp_u1b & BIT(4)) { in rtl92se_read_eeprom_info()
1996 if (tmp_u1b & BIT(5)) { in rtl92se_read_eeprom_info()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c399 u8 tmp_u1b; in rtl92cu_read_eeprom_info() local
403 tmp_u1b = rtl_read_byte(rtlpriv, REG_9346CR); in rtl92cu_read_eeprom_info()
404 rtlefuse->epromtype = (tmp_u1b & BOOT_FROM_EEPROM) ? in rtl92cu_read_eeprom_info()
407 tmp_u1b & BOOT_FROM_EEPROM ? "EERROM" : "EFUSE"); in rtl92cu_read_eeprom_info()
408 rtlefuse->autoload_failflag = (tmp_u1b & EEPROM_EN) ? false : true; in rtl92cu_read_eeprom_info()
410 tmp_u1b & EEPROM_EN ? "OK!!" : "ERR!!"); in rtl92cu_read_eeprom_info()
/drivers/net/wireless/realtek/rtlwifi/
Dpci.c206 u8 tmp_u1b = 0; in rtl_pci_disable_aspm() local
224 pci_read_config_byte(rtlpci->pdev, 0x80, &tmp_u1b); in rtl_pci_disable_aspm()