/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
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()
|
D | fw_common.h | 7 #define REG_SYS_FUNC_EN 0x0002 macro
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
D | rf.c | 33 val16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN | maskforphyset); in rtl92du_phy_enable_anotherphy() 35 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN | maskforphyset, val16); in rtl92du_phy_enable_anotherphy() 37 val16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN | maskforphyset); in rtl92du_phy_enable_anotherphy() 39 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN | maskforphyset, val16); in rtl92du_phy_enable_anotherphy()
|
D | hw.c | 609 val8 = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92du_init_mac() 611 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, val8); in _rtl92du_init_mac() 1035 val16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92du_poweroff_adapter() 1041 val16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92du_poweroff_adapter() 1048 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, 0x50); in _rtl92du_poweroff_adapter() 1055 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, 0x54); in _rtl92du_poweroff_adapter() 1145 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, val8); in rtl92du_card_disable() 1156 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, val8); in rtl92du_card_disable()
|
D | phy.c | 394 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92du_phy_bb_config() 395 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92du_phy_bb_config() 411 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, value); in rtl92du_phy_bb_config() 2558 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92du_phy_set_rfon() 2566 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92du_phy_set_rfon() 2567 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92du_phy_set_rfon() 2605 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92du_phy_set_rfsleep() 2606 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92du_phy_set_rfsleep() 2614 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92du_phy_set_rfsleep()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
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() 545 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b | BIT(0)); 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() 611 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | BIT(13))); in _rtl92se_macconfig_before_fwdownload() 642 tmpu2b = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92se_macconfig_before_fwdownload() 643 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | BIT(11))); in _rtl92se_macconfig_before_fwdownload() 645 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload() [all …]
|
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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
D | fw_common.c | 24 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_enable_fw_download() 25 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp | 0x04); in rtl92d_enable_fw_download() 125 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_firmware_selfreset() 132 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_firmware_selfreset()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
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()
|
D | phy.c | 227 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl88e_phy_bb_config() 228 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl88e_phy_bb_config() 232 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, in rtl88e_phy_bb_config() 2134 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl88ee_phy_set_rf_on() 2136 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl88ee_phy_set_rf_on() 2137 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl88ee_phy_set_rf_on() 2147 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl88ee_phy_set_rf_sleep()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
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()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
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()
|
D | phy_common.c | 1578 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl92ce_phy_set_rf_on() 1580 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl92ce_phy_set_rf_on() 1581 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl92ce_phy_set_rf_on() 1605 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92c_phy_set_rf_sleep() 1606 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92c_phy_set_rf_sleep() 1612 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92c_phy_set_rf_sleep()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 958 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, value8);/*0x16*/ in disable_rfafeandresetbb() 960 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, value8); /*0x14*/ in disable_rfafeandresetbb() 978 valu16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _resetdigitalprocedure1() 979 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (valu16 & in _resetdigitalprocedure1() 981 valu16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN)&0x0FFF; in _resetdigitalprocedure1() 982 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (valu16 | in _resetdigitalprocedure1() 984 valu16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _resetdigitalprocedure1() 985 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (valu16 | in _resetdigitalprocedure1() 998 REG_SYS_FUNC_EN))) { in _resetdigitalprocedure1() 1005 REG_SYS_FUNC_EN + 1, in _resetdigitalprocedure1() [all …]
|
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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
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.12.1/drivers/net/wireless/realtek/rtw88/ |
D | mac.c | 124 value8 = rtw_read8(rtwdev, REG_SYS_FUNC_EN); in rtw_mac_pre_system_cfg() 126 rtw_write8(rtwdev, REG_SYS_FUNC_EN, value8); in rtw_mac_pre_system_cfg() 338 rtw_write8_set(rtwdev, REG_SYS_FUNC_EN + 1, sys_func_en); in __rtw_mac_init_system_cfg() 445 rtw_write8_set(rtwdev, REG_SYS_FUNC_EN + 1, BIT_FEN_CPUEN); in wlan_cpu_enable() 448 rtw_write8_clr(rtwdev, REG_SYS_FUNC_EN + 1, BIT_FEN_CPUEN); in wlan_cpu_enable() 826 rtw_write8_set(rtwdev, REG_SYS_FUNC_EN + 1, BIT_FEN_CPUEN); in __rtw_download_firmware()
|
/linux-6.12.1/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_phycfg.c | 392 RegVal = rtw_read16(Adapter, REG_SYS_FUNC_EN); in PHY_BBConfig8723B() 393 rtw_write16(Adapter, REG_SYS_FUNC_EN, (u16)(RegVal|BIT13|BIT0|BIT1)); in PHY_BBConfig8723B() 403 rtw_write8(Adapter, REG_SYS_FUNC_EN, FEN_PPLL|FEN_PCIEA|FEN_DIO_PCIE|FEN_BB_GLB_RSTn|FEN_BBRSTB); in PHY_BBConfig8723B()
|
D | rtl8723b_hal_init.c | 20 tmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _FWDownloadEnable() 21 rtw_write8(padapter, REG_SYS_FUNC_EN+1, tmp|0x04); in _FWDownloadEnable() 163 cpu_rst = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _8051Reset8723() 165 rtw_write8(padapter, REG_SYS_FUNC_EN+1, cpu_rst); in _8051Reset8723() 173 cpu_rst = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in _8051Reset8723() 175 rtw_write8(padapter, REG_SYS_FUNC_EN+1, cpu_rst); in _8051Reset8723() 269 u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in rtl8723b_FirmwareSelfReset() 275 u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in rtl8723b_FirmwareSelfReset() 280 u1bTmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); in rtl8723b_FirmwareSelfReset() 281 rtw_write8(padapter, REG_SYS_FUNC_EN+1, u1bTmp&(~BIT2)); in rtl8723b_FirmwareSelfReset() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
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()
|
D | hw.c | 1283 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl8821ae_reset_pcie_interface_dma() 1285 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); in _rtl8821ae_reset_pcie_interface_dma() 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() 1547 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN); in _rtl8821ae_dynamic_rqpn() 1549 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, tmp); in _rtl8821ae_dynamic_rqpn() 1581 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN); in _rtl8821ae_dynamic_rqpn() 1582 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, (tmp | BIT(0))); in _rtl8821ae_dynamic_rqpn() 1813 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl8821ae_poweroff_adapter() 1814 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in _rtl8821ae_poweroff_adapter()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | phy.c | 429 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92d_phy_bb_config() 430 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92d_phy_bb_config() 438 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, FEN_PPLL | FEN_PCIEA | in rtl92d_phy_bb_config() 2286 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfon() 2292 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfon() 2293 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfon() 2327 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfsleep() 2328 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfsleep() 2335 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfsleep()
|
D | hw.c | 887 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, 0x51); in _rtl92de_poweroff_adapter() 995 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl92de_card_disable() 1000 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE0); in rtl92de_card_disable()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
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() 2497 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl8723be_phy_set_rf_on() 2498 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl8723be_phy_set_rf_on() 2499 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl8723be_phy_set_rf_on() 2509 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl8723be_phy_set_rf_sleep()
|