/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
A D | fw_common.c | 17 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723_enable_fw_download() 18 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, in rtl8723_enable_fw_download() 77 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset() 84 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset() 87 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset() 88 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, in rtl8723ae_firmware_selfreset() 102 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723be_firmware_selfreset() 103 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in rtl8723be_firmware_selfreset() 109 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723be_firmware_selfreset() 110 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp | BIT(2))); in rtl8723be_firmware_selfreset()
|
A D | fw_common.h | 7 #define REG_SYS_FUNC_EN 0x0002 macro
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | hw.c | 541 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload() 543 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b); in _rtl92se_macconfig_before_fwdownload() 567 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload() 569 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b); in _rtl92se_macconfig_before_fwdownload() 610 tmpu2b = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92se_macconfig_before_fwdownload() 642 tmpu2b = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92se_macconfig_before_fwdownload() 645 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload() 857 tmpu2b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN); in _rtl92se_macconfig_after_fwdownload() 1407 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_power_domain_init() 1458 tmpu2b = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92se_power_domain_init() [all …]
|
A D | fw.c | 35 tmpu2b = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92s_firmware_enable_cpu() 36 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | FEN_CPUEN)); in _rtl92s_firmware_enable_cpu()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
A D | fw.c | 19 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl88e_enable_fw_download() 20 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp | 0x04); in _rtl88e_enable_fw_download() 359 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in rtl88e_firmware_selfreset() 360 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in rtl88e_firmware_selfreset() 361 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp | BIT(2))); in rtl88e_firmware_selfreset()
|
A D | phy.c | 233 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl88e_phy_bb_config() 234 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl88e_phy_bb_config() 238 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, in rtl88e_phy_bb_config() 2140 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl88ee_phy_set_rf_on() 2142 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl88ee_phy_set_rf_on() 2143 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl88ee_phy_set_rf_on() 2153 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl88ee_phy_set_rf_sleep()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
A D | fw.c | 25 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92d_enable_fw_download() 26 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp | 0x04); in _rtl92d_enable_fw_download() 98 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_firmware_selfreset() 104 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_firmware_selfreset()
|
A D | phy.c | 737 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92d_phy_bb_config() 738 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92d_phy_bb_config() 746 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, FEN_PPLL | FEN_PCIEA | in rtl92d_phy_bb_config() 2978 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfon() 2984 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfon() 2985 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfon() 3019 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfsleep() 3020 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfsleep() 3027 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfsleep()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | fw.c | 380 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92ee_firmware_selfreset() 381 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in rtl92ee_firmware_selfreset() 388 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92ee_firmware_selfreset() 389 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp | BIT(2))); in rtl92ee_firmware_selfreset()
|
A D | phy.c | 225 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92ee_phy_bb_config() 226 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92ee_phy_bb_config() 230 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, in rtl92ee_phy_bb_config() 3023 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl92ee_phy_set_rf_on() 3025 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl92ee_phy_set_rf_on() 3026 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl92ee_phy_set_rf_on() 3037 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92ee_phy_set_rf_sleep()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
A D | fw_common.c | 31 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92c_enable_fw_download() 32 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, in _rtl92c_enable_fw_download() 411 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92c_firmware_selfreset() 420 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92c_firmware_selfreset()
|
A D | phy_common.c | 1590 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl92ce_phy_set_rf_on() 1592 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl92ce_phy_set_rf_on() 1593 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl92ce_phy_set_rf_on() 1617 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92c_phy_set_rf_sleep() 1618 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92c_phy_set_rf_sleep() 1624 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92c_phy_set_rf_sleep()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
A D | phy.c | 77 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92c_phy_bb_config() 78 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92c_phy_bb_config() 83 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, in rtl92c_phy_bb_config()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
A D | hw.c | 1027 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, value8);/*0x16*/ in disable_rfafeandresetbb() 1029 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, value8); /*0x14*/ in disable_rfafeandresetbb() 1047 valu16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _resetdigitalprocedure1() 1048 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (valu16 & in _resetdigitalprocedure1() 1050 valu16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN)&0x0FFF; in _resetdigitalprocedure1() 1051 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (valu16 | in _resetdigitalprocedure1() 1053 valu16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _resetdigitalprocedure1() 1054 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (valu16 | in _resetdigitalprocedure1() 1067 REG_SYS_FUNC_EN))) { in _resetdigitalprocedure1() 1074 REG_SYS_FUNC_EN + 1, in _resetdigitalprocedure1() [all …]
|
A D | phy.c | 99 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92cu_phy_bb_config() 100 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, regval | BIT(13) | in rtl92cu_phy_bb_config() 105 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, FEN_USBA | FEN_USBD | in rtl92cu_phy_bb_config()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
A D | phy.c | 156 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN); in rtl8723e_phy_bb_config() 157 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, in rtl8723e_phy_bb_config() 1513 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl8723e_phy_set_rf_on() 1515 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl8723e_phy_set_rf_on() 1516 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl8723e_phy_set_rf_on() 1539 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl8723e_phy_set_rf_sleep() 1540 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl8723e_phy_set_rf_sleep() 1546 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl8723e_phy_set_rf_sleep()
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/ |
A D | rtl8723b_phycfg.c | 393 RegVal = rtw_read16(Adapter, REG_SYS_FUNC_EN); in PHY_BBConfig8723B() 394 rtw_write16(Adapter, REG_SYS_FUNC_EN, (u16)(RegVal|BIT13|BIT0|BIT1)); in PHY_BBConfig8723B() 404 rtw_write8(Adapter, REG_SYS_FUNC_EN, FEN_PPLL|FEN_PCIEA|FEN_DIO_PCIE|FEN_BB_GLB_RSTn|FEN_BBRSTB); in PHY_BBConfig8723B()
|
A D | rtl8723b_hal_init.c | 21 tmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _FWDownloadEnable() 22 rtw_write8(padapter, REG_SYS_FUNC_EN+1, tmp|0x04); in _FWDownloadEnable() 164 cpu_rst = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _8051Reset8723() 166 rtw_write8(padapter, REG_SYS_FUNC_EN+1, cpu_rst); in _8051Reset8723() 174 cpu_rst = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _8051Reset8723() 176 rtw_write8(padapter, REG_SYS_FUNC_EN+1, cpu_rst); in _8051Reset8723() 270 u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in rtl8723b_FirmwareSelfReset() 276 u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in rtl8723b_FirmwareSelfReset() 281 u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in rtl8723b_FirmwareSelfReset() 684 tmpV16 = rtw_read16(padapter, REG_SYS_FUNC_EN); in Hal_EfusePowerSwitch() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/ |
A D | mac.c | 100 value8 = rtw_read8(rtwdev, REG_SYS_FUNC_EN); in rtw_mac_pre_system_cfg() 102 rtw_write8(rtwdev, REG_SYS_FUNC_EN, value8); in rtw_mac_pre_system_cfg() 294 rtw_write8_set(rtwdev, REG_SYS_FUNC_EN + 1, sys_func_en); in __rtw_mac_init_system_cfg() 401 rtw_write8_set(rtwdev, REG_SYS_FUNC_EN + 1, BIT_FEN_CPUEN); in wlan_cpu_enable() 404 rtw_write8_clr(rtwdev, REG_SYS_FUNC_EN + 1, BIT_FEN_CPUEN); in wlan_cpu_enable() 777 rtw_write8_set(rtwdev, REG_SYS_FUNC_EN + 1, BIT_FEN_CPUEN); in __rtw_download_firmware()
|
A D | rtw8821c.c | 141 val = rtw_read8(rtwdev, REG_SYS_FUNC_EN); in rtw8821c_phy_set_param() 143 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val); in rtw8821c_phy_set_param() 147 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val); in rtw8821c_phy_set_param() 149 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val); in rtw8821c_phy_set_param() 151 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val); in rtw8821c_phy_set_param()
|
A D | wow.c | 285 rtw_write8_clr(rtwdev, REG_SYS_FUNC_EN, BIT_FEN_BB_RSTB); in rtw_wow_bb_stop() 292 rtw_write8_set(rtwdev, REG_SYS_FUNC_EN, BIT_FEN_BB_RSTB); in rtw_wow_bb_start()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | fw.c | 446 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in rtl8821ae_firmware_selfreset() 447 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in rtl8821ae_firmware_selfreset() 458 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in rtl8821ae_firmware_selfreset() 459 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp | BIT(2))); in rtl8821ae_firmware_selfreset()
|
A D | hw.c | 1288 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl8821ae_reset_pcie_interface_dma() 1290 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); in _rtl8821ae_reset_pcie_interface_dma() 1293 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl8821ae_reset_pcie_interface_dma() 1295 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); in _rtl8821ae_reset_pcie_interface_dma() 1552 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN); in _rtl8821ae_dynamic_rqpn() 1554 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, tmp); in _rtl8821ae_dynamic_rqpn() 1586 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN); in _rtl8821ae_dynamic_rqpn() 1587 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, (tmp | BIT(0))); in _rtl8821ae_dynamic_rqpn() 1818 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl8821ae_poweroff_adapter() 1819 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in _rtl8821ae_poweroff_adapter()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
A D | phy.c | 104 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl8723be_phy_bb_config() 105 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl8723be_phy_bb_config() 109 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, in rtl8723be_phy_bb_config() 2490 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl8723be_phy_set_rf_on() 2491 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl8723be_phy_set_rf_on() 2492 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl8723be_phy_set_rf_on() 2502 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl8723be_phy_set_rf_sleep()
|
A D | hw.c | 1176 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl8723be_poweroff_adapter() 1177 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in _rtl8723be_poweroff_adapter() 1274 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl8723be_reset_pcie_interface_dma() 1276 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); in _rtl8723be_reset_pcie_interface_dma() 1281 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl8723be_reset_pcie_interface_dma() 1283 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); in _rtl8723be_reset_pcie_interface_dma()
|