Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c1043 u8 tmp_u1b, u1byte; in rtl88ee_hw_init() local
1060 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CLKR+1); in rtl88ee_hw_init()
1062 if ((tmp_u1b & BIT(3)) && (u1byte != 0 && u1byte != 0xEA)) { in rtl88ee_hw_init()
1147 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl88ee_hw_init()
1148 if (!(tmp_u1b & BIT(0))) { in rtl88ee_hw_init()
1153 if (!(tmp_u1b & BIT(4))) { in rtl88ee_hw_init()
1154 tmp_u1b = rtl_read_byte(rtlpriv, 0x16); in rtl88ee_hw_init()
1155 tmp_u1b &= 0x0F; in rtl88ee_hw_init()
1156 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl88ee_hw_init()
1158 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl88ee_hw_init()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c1337 u8 tmp_u1b; in rtl8723be_hw_init() local
1348 tmp_u1b = rtl_read_byte(rtlpriv, REG_CR); in rtl8723be_hw_init()
1349 if (tmp_u1b != 0 && tmp_u1b != 0xea) { in rtl8723be_hw_init()
1372 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CFG); in rtl8723be_hw_init()
1373 rtl_write_byte(rtlpriv, REG_SYS_CFG, tmp_u1b & 0x7F); in rtl8723be_hw_init()
1437 tmp_u1b = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in rtl8723be_hw_init()
1438 if (tmp_u1b & BIT(2)) { in rtl8723be_hw_init()
1440 tmp_u1b &= (~BIT(2)); in rtl8723be_hw_init()
1441 rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, tmp_u1b); in rtl8723be_hw_init()
2249 u8 tmp_u1b; in rtl8723be_read_eeprom_info() local
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c1850 u8 tmp_u1b; in rtl8821ae_hw_init() local
1861 tmp_u1b = rtl_read_byte(rtlpriv, REG_CR); in rtl8821ae_hw_init()
1862 if (tmp_u1b != 0 && tmp_u1b != 0xEA) { in rtl8821ae_hw_init()
1903 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CFG); in rtl8821ae_hw_init()
1904 tmp_u1b &= 0x7F; in rtl8821ae_hw_init()
1905 rtl_write_byte(rtlpriv, REG_SYS_CFG, tmp_u1b); in rtl8821ae_hw_init()
1976 tmp_u1b = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in rtl8821ae_hw_init()
1977 if (tmp_u1b & BIT(2)) { in rtl8821ae_hw_init()
1979 tmp_u1b &= ~BIT(2); in rtl8821ae_hw_init()
1980 rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, tmp_u1b); in rtl8821ae_hw_init()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Dpci.c201 u8 tmp_u1b = 0; in rtl_pci_disable_aspm() local
219 pci_read_config_byte(rtlpci->pdev, 0x80, &tmp_u1b); in rtl_pci_disable_aspm()