/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 906 u8 tmp_u1b; in rtl92de_hw_init() local 934 tmp_u1b = rtl_read_byte(rtlpriv, 0x605); in rtl92de_hw_init() 935 tmp_u1b = tmp_u1b | 0x30; in rtl92de_hw_init() 936 rtl_write_byte(rtlpriv, 0x605, tmp_u1b); in rtl92de_hw_init() 942 tmp_u1b = rtl_read_byte(rtlpriv, 0x4d0); in rtl92de_hw_init() 943 tmp_u1b = tmp_u1b | 0x1f; in rtl92de_hw_init() 944 rtl_write_byte(rtlpriv, 0x4d0, tmp_u1b); in rtl92de_hw_init() 948 tmp_u1b = rtl_read_byte(rtlpriv, 0x605); in rtl92de_hw_init() 949 tmp_u1b = tmp_u1b | 0x40; in rtl92de_hw_init() 950 rtl_write_byte(rtlpriv, 0x605, tmp_u1b); in rtl92de_hw_init() [all …]
|
/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/ |
D | halmac_func_88xx.c | 4102 u8 tmp_u1b = 0; in halmac_dbi_write32_88xx() local 4120 tmp_u1b = HALMAC_REG_READ_8(halmac_adapter, REG_DBI_FLAG_V1 + 2); in halmac_dbi_write32_88xx() 4123 while (tmp_u1b && count != 0) { in halmac_dbi_write32_88xx() 4125 tmp_u1b = in halmac_dbi_write32_88xx() 4130 if (tmp_u1b) { in halmac_dbi_write32_88xx() 4141 u8 tmp_u1b = 0; in halmac_dbi_read32_88xx() local 4153 tmp_u1b = HALMAC_REG_READ_8(halmac_adapter, REG_DBI_FLAG_V1 + 2); in halmac_dbi_read32_88xx() 4156 while (tmp_u1b && count != 0) { in halmac_dbi_read32_88xx() 4158 tmp_u1b = in halmac_dbi_read32_88xx() 4163 if (tmp_u1b) { in halmac_dbi_read32_88xx() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 1070 u8 tmp_u1b, u1byte; in rtl88ee_hw_init() local 1087 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CLKR+1); in rtl88ee_hw_init() 1089 if ((tmp_u1b & BIT(3)) && (u1byte != 0 && u1byte != 0xEA)) { in rtl88ee_hw_init() 1174 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl88ee_hw_init() 1175 if (!(tmp_u1b & BIT(0))) { in rtl88ee_hw_init() 1180 if (!(tmp_u1b & BIT(4))) { in rtl88ee_hw_init() 1181 tmp_u1b = rtl_read_byte(rtlpriv, 0x16); in rtl88ee_hw_init() 1182 tmp_u1b &= 0x0F; in rtl88ee_hw_init() 1183 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl88ee_hw_init() 1185 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl88ee_hw_init() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 940 u8 tmp_u1b; in rtl92ce_hw_init() local 1030 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl92ce_hw_init() 1031 if (!(tmp_u1b & BIT(0))) { in rtl92ce_hw_init() 1036 if (!(tmp_u1b & BIT(1)) && is92c) { in rtl92ce_hw_init() 1041 if (!(tmp_u1b & BIT(4))) { in rtl92ce_hw_init() 1042 tmp_u1b = rtl_read_byte(rtlpriv, 0x16); in rtl92ce_hw_init() 1043 tmp_u1b &= 0x0F; in rtl92ce_hw_init() 1044 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl92ce_hw_init() 1046 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl92ce_hw_init() 1743 u8 tmp_u1b; in rtl92ce_read_eeprom_info() local [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 944 u8 tmp_u1b; in rtl8723e_hw_init() local 1033 tmp_u1b = efuse_read_1byte(hw, 0x1FA); in rtl8723e_hw_init() 1034 if (!(tmp_u1b & BIT(0))) { in rtl8723e_hw_init() 1039 if (!(tmp_u1b & BIT(4))) { in rtl8723e_hw_init() 1040 tmp_u1b = rtl_read_byte(rtlpriv, 0x16); in rtl8723e_hw_init() 1041 tmp_u1b &= 0x0F; in rtl8723e_hw_init() 1042 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl8723e_hw_init() 1044 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl8723e_hw_init() 1818 u8 tmp_u1b; in rtl8723e_read_eeprom_info() local 1835 tmp_u1b = rtl_read_byte(rtlpriv, REG_9346CR); in rtl8723e_read_eeprom_info() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 1360 u8 tmp_u1b; in rtl8723be_hw_init() local 1371 tmp_u1b = rtl_read_byte(rtlpriv, REG_CR); in rtl8723be_hw_init() 1372 if (tmp_u1b != 0 && tmp_u1b != 0xea) { in rtl8723be_hw_init() 1395 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CFG); in rtl8723be_hw_init() 1396 rtl_write_byte(rtlpriv, REG_SYS_CFG, tmp_u1b & 0x7F); in rtl8723be_hw_init() 1460 tmp_u1b = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in rtl8723be_hw_init() 1461 if (tmp_u1b & BIT(2)) { in rtl8723be_hw_init() 1463 tmp_u1b &= (~BIT(2)); in rtl8723be_hw_init() 1464 rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, tmp_u1b); in rtl8723be_hw_init() 2272 u8 tmp_u1b; in rtl8723be_read_eeprom_info() local [all …]
|
/Linux-v4.19/drivers/staging/rtlwifi/phydm/ |
D | phydm_adc_sampling.c | 209 u8 tmp_u1b; in phydm_adc_smp_start() local 230 tmp_u1b = odm_read_1byte(dm, 0x7c0); in phydm_adc_smp_start() 238 } else if (tmp_u1b & target_polling_bit) { in phydm_adc_smp_start()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 1873 u8 tmp_u1b; in rtl8821ae_hw_init() local 1884 tmp_u1b = rtl_read_byte(rtlpriv, REG_CR); in rtl8821ae_hw_init() 1885 if (tmp_u1b != 0 && tmp_u1b != 0xEA) { in rtl8821ae_hw_init() 1926 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CFG); in rtl8821ae_hw_init() 1927 tmp_u1b &= 0x7F; in rtl8821ae_hw_init() 1928 rtl_write_byte(rtlpriv, REG_SYS_CFG, tmp_u1b); in rtl8821ae_hw_init() 1999 tmp_u1b = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); in rtl8821ae_hw_init() 2000 if (tmp_u1b & BIT(2)) { in rtl8821ae_hw_init() 2002 tmp_u1b &= ~BIT(2); in rtl8821ae_hw_init() 2003 rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, tmp_u1b); in rtl8821ae_hw_init() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 1303 u8 tmp_u1b, u1byte; in rtl92ee_hw_init() local 1310 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_CLKR+1); in rtl92ee_hw_init() 1312 if ((tmp_u1b & BIT(3)) && (u1byte != 0 && u1byte != 0xEA)) { in rtl92ee_hw_init() 1423 efuse_one_byte_read(hw, 0x1FA, &tmp_u1b); in rtl92ee_hw_init() 1424 if (!(tmp_u1b & BIT(0))) { in rtl92ee_hw_init() 1429 if ((!(tmp_u1b & BIT(1))) && (rtlphy->rf_type == RF_2T2R)) { in rtl92ee_hw_init() 2207 u8 tmp_u1b; in rtl92ee_read_eeprom_info() local 2218 tmp_u1b = rtl_read_byte(rtlpriv, REG_9346CR); in rtl92ee_read_eeprom_info() 2219 if (tmp_u1b & BIT(4)) { in rtl92ee_read_eeprom_info() 2226 if (tmp_u1b & BIT(5)) { in rtl92ee_read_eeprom_info()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 951 u8 tmp_u1b; in rtl92se_hw_init() local 1075 tmp_u1b = rtl_read_byte(rtlpriv, MAC_PINMUX_CFG); in rtl92se_hw_init() 1076 rtl_write_byte(rtlpriv, MAC_PINMUX_CFG, tmp_u1b & (~BIT(3))); in rtl92se_hw_init() 2007 u8 tmp_u1b = 0; in rtl92se_read_eeprom_info() local 2009 tmp_u1b = rtl_read_byte(rtlpriv, EPROM_CMD); in rtl92se_read_eeprom_info() 2011 if (tmp_u1b & BIT(4)) { in rtl92se_read_eeprom_info() 2019 if (tmp_u1b & BIT(5)) { in rtl92se_read_eeprom_info()
|
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/ |
D | hw.c | 992 u8 tmp_u1b; in rtl8822be_hw_init() local 1019 tmp_u1b = rtl_read_byte(rtlpriv, REG_PCIE_CTRL_8822B + 2); in rtl8822be_hw_init() 1020 rtl_write_byte(rtlpriv, REG_PCIE_CTRL_8822B + 2, (tmp_u1b | BIT(4))); in rtl8822be_hw_init() 1990 u8 tmp_u1b; in rtl8822be_read_eeprom_info() local 2014 tmp_u1b = rtl_read_byte(rtlpriv, REG_SYS_EEPROM_CTRL_8822B); in rtl8822be_read_eeprom_info() 2015 if (tmp_u1b & BIT(4)) { in rtl8822be_read_eeprom_info() 2022 if (tmp_u1b & BIT(5)) { in rtl8822be_read_eeprom_info()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 421 u8 tmp_u1b; in rtl92cu_read_eeprom_info() local 425 tmp_u1b = rtl_read_byte(rtlpriv, REG_9346CR); in rtl92cu_read_eeprom_info() 426 rtlefuse->epromtype = (tmp_u1b & BOOT_FROM_EEPROM) ? in rtl92cu_read_eeprom_info() 429 tmp_u1b & BOOT_FROM_EEPROM ? "EERROM" : "EFUSE"); in rtl92cu_read_eeprom_info() 430 rtlefuse->autoload_failflag = (tmp_u1b & EEPROM_EN) ? false : true; in rtl92cu_read_eeprom_info() 432 tmp_u1b & EEPROM_EN ? "OK!!" : "ERR!!"); in rtl92cu_read_eeprom_info()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/ |
D | pci.c | 223 u8 tmp_u1b = 0; in rtl_pci_disable_aspm() local 241 pci_read_config_byte(rtlpci->pdev, 0x80, &tmp_u1b); in rtl_pci_disable_aspm()
|
/Linux-v4.19/drivers/staging/rtlwifi/ |
D | pci.c | 229 u8 tmp_u1b = 0; in rtl_pci_disable_aspm() local 247 pci_read_config_byte(rtlpci->pdev, 0x80, &tmp_u1b); in rtl_pci_disable_aspm()
|