/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 591 u8 tmp_u1b; in rtl92de_hw_init() local 619 tmp_u1b = rtl_read_byte(rtlpriv, 0x605); in rtl92de_hw_init() 620 tmp_u1b = tmp_u1b | 0x30; in rtl92de_hw_init() 621 rtl_write_byte(rtlpriv, 0x605, tmp_u1b); in rtl92de_hw_init() 627 tmp_u1b = rtl_read_byte(rtlpriv, 0x4d0); in rtl92de_hw_init() 628 tmp_u1b = tmp_u1b | 0x1f; in rtl92de_hw_init() 629 rtl_write_byte(rtlpriv, 0x4d0, tmp_u1b); in rtl92de_hw_init() 633 tmp_u1b = rtl_read_byte(rtlpriv, 0x605); in rtl92de_hw_init() 634 tmp_u1b = tmp_u1b | 0x40; in rtl92de_hw_init() 635 rtl_write_byte(rtlpriv, 0x605, tmp_u1b); in rtl92de_hw_init()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 1042 u8 tmp_u1b, u1byte; in rtl88ee_hw_init() local 1059 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CLKR+1); in rtl88ee_hw_init() 1061 if ((tmp_u1b & BIT(3)) && (u1byte != 0 && u1byte != 0xEA)) { in rtl88ee_hw_init() 1146 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl88ee_hw_init() 1147 if (!(tmp_u1b & BIT(0))) { in rtl88ee_hw_init() 1152 if (!(tmp_u1b & BIT(4))) { in rtl88ee_hw_init() 1153 tmp_u1b = rtl_read_byte(rtlpriv, 0x16); in rtl88ee_hw_init() 1154 tmp_u1b &= 0x0F; in rtl88ee_hw_init() 1155 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl88ee_hw_init() 1157 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl88ee_hw_init() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 918 u8 tmp_u1b; in rtl92ce_hw_init() local 1008 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl92ce_hw_init() 1009 if (!(tmp_u1b & BIT(0))) { in rtl92ce_hw_init() 1014 if (!(tmp_u1b & BIT(1)) && is92c) { in rtl92ce_hw_init() 1019 if (!(tmp_u1b & BIT(4))) { in rtl92ce_hw_init() 1020 tmp_u1b = rtl_read_byte(rtlpriv, 0x16); in rtl92ce_hw_init() 1021 tmp_u1b &= 0x0F; in rtl92ce_hw_init() 1022 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl92ce_hw_init() 1024 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl92ce_hw_init() 1731 u8 tmp_u1b; in rtl92ce_read_eeprom_info() local [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 915 u8 tmp_u1b; in rtl8723e_hw_init() local 1004 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl8723e_hw_init() 1005 if (!(tmp_u1b & BIT(0))) { in rtl8723e_hw_init() 1010 if (!(tmp_u1b & BIT(4))) { in rtl8723e_hw_init() 1011 tmp_u1b = rtl_read_byte(rtlpriv, 0x16); in rtl8723e_hw_init() 1012 tmp_u1b &= 0x0F; in rtl8723e_hw_init() 1013 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl8723e_hw_init() 1015 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl8723e_hw_init() 1789 u8 tmp_u1b; in rtl8723e_read_eeprom_info() local 1806 tmp_u1b = rtl_read_byte(rtlpriv, REG_9346CR); in rtl8723e_read_eeprom_info() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 1335 u8 tmp_u1b; in rtl8723be_hw_init() local 1346 tmp_u1b = rtl_read_byte(rtlpriv, REG_CR); in rtl8723be_hw_init() 1347 if (tmp_u1b != 0 && tmp_u1b != 0xea) { in rtl8723be_hw_init() 1370 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CFG); in rtl8723be_hw_init() 1371 rtl_write_byte(rtlpriv, REG_SYS_CFG, tmp_u1b & 0x7F); in rtl8723be_hw_init() 1435 tmp_u1b = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in rtl8723be_hw_init() 1436 if (tmp_u1b & BIT(2)) { in rtl8723be_hw_init() 1438 tmp_u1b &= (~BIT(2)); in rtl8723be_hw_init() 1439 rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, tmp_u1b); in rtl8723be_hw_init() 2247 u8 tmp_u1b; in rtl8723be_read_eeprom_info() local [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 1849 u8 tmp_u1b; in rtl8821ae_hw_init() local 1860 tmp_u1b = rtl_read_byte(rtlpriv, REG_CR); in rtl8821ae_hw_init() 1861 if (tmp_u1b != 0 && tmp_u1b != 0xEA) { in rtl8821ae_hw_init() 1902 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CFG); in rtl8821ae_hw_init() 1903 tmp_u1b &= 0x7F; in rtl8821ae_hw_init() 1904 rtl_write_byte(rtlpriv, REG_SYS_CFG, tmp_u1b); in rtl8821ae_hw_init() 1975 tmp_u1b = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in rtl8821ae_hw_init() 1976 if (tmp_u1b & BIT(2)) { in rtl8821ae_hw_init() 1978 tmp_u1b &= ~BIT(2); in rtl8821ae_hw_init() 1979 rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, tmp_u1b); in rtl8821ae_hw_init() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
D | hw_common.c | 747 u8 tmp_u1b; in rtl92d_read_eeprom_info() local 750 tmp_u1b = rtl_read_byte(rtlpriv, REG_9346CR); in rtl92d_read_eeprom_info() 751 rtlefuse->autoload_status = tmp_u1b; in rtl92d_read_eeprom_info() 752 if (tmp_u1b & BIT(4)) { in rtl92d_read_eeprom_info() 759 if (tmp_u1b & BIT(5)) { in rtl92d_read_eeprom_info()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 1281 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() 1400 efuse_one_byte_read(hw, 0x1FA, &tmp_u1b); in rtl92ee_hw_init() 1401 if (!(tmp_u1b & BIT(0))) { in rtl92ee_hw_init() 1406 if ((!(tmp_u1b & BIT(1))) && (rtlphy->rf_type == RF_2T2R)) { in rtl92ee_hw_init() 2184 u8 tmp_u1b; in rtl92ee_read_eeprom_info() local 2195 tmp_u1b = rtl_read_byte(rtlpriv, REG_9346CR); in rtl92ee_read_eeprom_info() 2196 if (tmp_u1b & BIT(4)) { in rtl92ee_read_eeprom_info() 2203 if (tmp_u1b & BIT(5)) { in rtl92ee_read_eeprom_info()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 929 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() 1975 u8 tmp_u1b = 0; in rtl92se_read_eeprom_info() local 1977 tmp_u1b = rtl_read_byte(rtlpriv, EPROM_CMD); in rtl92se_read_eeprom_info() 1979 if (tmp_u1b & BIT(4)) { in rtl92se_read_eeprom_info() 1987 if (tmp_u1b & BIT(5)) { in rtl92se_read_eeprom_info()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 399 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.12.1/drivers/net/wireless/realtek/rtlwifi/ |
D | pci.c | 206 u16 tmp_u1b = 0; in rtl_pci_disable_aspm() local 224 pcie_capability_read_word(rtlpci->pdev, PCI_EXP_LNKCTL, &tmp_u1b); in rtl_pci_disable_aspm()
|