Home
last modified time | relevance | path

Searched refs:REG_SYS_FUNC_EN (Results 1 – 25 of 28) sorted by relevance

12

/drivers/net/wireless/rtlwifi/rtl8192se/
Dhw.c570 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload()
572 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b); in _rtl92se_macconfig_before_fwdownload()
574 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b | BIT(0)); in _rtl92se_macconfig_before_fwdownload()
596 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload()
598 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b); in _rtl92se_macconfig_before_fwdownload()
639 tmpu2b = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92se_macconfig_before_fwdownload()
640 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | BIT(13))); in _rtl92se_macconfig_before_fwdownload()
671 tmpu2b = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92se_macconfig_before_fwdownload()
672 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | BIT(11))); in _rtl92se_macconfig_before_fwdownload()
674 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload()
[all …]
Dfw.c61 tmpu2b = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92s_firmware_enable_cpu()
62 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | FEN_CPUEN)); in _rtl92s_firmware_enable_cpu()
Dsw.c319 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
Dreg.h34 #define REG_SYS_FUNC_EN 0x0002 macro
/drivers/net/wireless/rtlwifi/rtl8192ce/
Dphy.c99 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92c_phy_bb_config()
100 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92c_phy_bb_config()
105 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, in rtl92c_phy_bb_config()
494 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92ce_phy_set_rf_sleep()
495 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92ce_phy_set_rf_sleep()
501 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92ce_phy_set_rf_sleep()
Dsw.c263 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
Dhw.c1296 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92ce_poweroff_adapter()
1297 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE0); in _rtl92ce_poweroff_adapter()
1300 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, 0x51); in _rtl92ce_poweroff_adapter()
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dfw.c43 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl8723ae_enable_fw_download()
44 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp | 0x04); in _rtl8723ae_enable_fw_download()
473 u1tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset()
480 u1tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset()
483 u1tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl8723ae_firmware_selfreset()
484 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, u1tmp&(~BIT(2))); in rtl8723ae_firmware_selfreset()
Dphy.c322 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN); in rtl8723ae_phy_bb_config()
323 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, (tmpu1b | in rtl8723ae_phy_bb_config()
1880 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl8723ae_phy_set_rf_on()
1882 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl8723ae_phy_set_rf_on()
1883 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl8723ae_phy_set_rf_on()
1906 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl8723ae_phy_set_rf_sleep()
1907 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl8723ae_phy_set_rf_sleep()
1913 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl8723ae_phy_set_rf_sleep()
Dsw.c258 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
Dhw.c1215 u1tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl8723ae_poweroff_adapter()
1216 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1tmp & (~BIT(2)))); in _rtl8723ae_poweroff_adapter()
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dfw.c45 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl88e_enable_fw_download()
46 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp | 0x04); in _rtl88e_enable_fw_download()
447 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in rtl88e_firmware_selfreset()
448 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in rtl88e_firmware_selfreset()
449 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp | BIT(2))); in rtl88e_firmware_selfreset()
Dphy.c622 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl88e_phy_bb_config()
623 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl88e_phy_bb_config()
627 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, in rtl88e_phy_bb_config()
2052 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl88ee_phy_set_rf_on()
2054 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl88ee_phy_set_rf_on()
2055 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl88ee_phy_set_rf_on()
2066 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl88ee_phy_set_rf_sleep()
Dsw.c279 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
Dhw.c1356 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN+1); in _rtl88ee_poweroff_adapter()
1357 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in _rtl88ee_poweroff_adapter()
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dphy.c126 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92cu_phy_bb_config()
127 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, regval | BIT(13) | in rtl92cu_phy_bb_config()
133 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, FEN_PPLL | FEN_PCIEA | in rtl92cu_phy_bb_config()
136 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, FEN_USBA | FEN_USBD | in rtl92cu_phy_bb_config()
Dhw.c1058 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, value8);/*0x16*/ in _DisableRFAFEAndResetBB()
1060 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, value8); /*0x14*/ in _DisableRFAFEAndResetBB()
1078 valu16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _ResetDigitalProcedure1()
1079 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (valu16 & in _ResetDigitalProcedure1()
1081 valu16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN)&0x0FFF; in _ResetDigitalProcedure1()
1082 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (valu16 | in _ResetDigitalProcedure1()
1084 valu16 = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _ResetDigitalProcedure1()
1085 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (valu16 | in _ResetDigitalProcedure1()
1098 REG_SYS_FUNC_EN))) { in _ResetDigitalProcedure1()
1106 REG_SYS_FUNC_EN + 1, in _ResetDigitalProcedure1()
[all …]
Dsw.c176 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
/drivers/net/wireless/rtlwifi/rtl8192de/
Dfw.c50 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92d_enable_fw_download()
51 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp | 0x04); in _rtl92d_enable_fw_download()
181 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_firmware_selfreset()
187 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92d_firmware_selfreset()
Dphy.c781 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92d_phy_bb_config()
782 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92d_phy_bb_config()
790 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, FEN_PPLL | FEN_PCIEA | in rtl92d_phy_bb_config()
3122 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfon()
3128 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfon()
3129 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfon()
3163 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfsleep()
3164 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfsleep()
3171 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfsleep()
Dsw.c272 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
Dhw.c1255 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, 0x51); in _rtl92de_poweroff_adapter()
1363 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl92de_card_disable()
1368 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE0); in rtl92de_card_disable()
Dreg.h37 #define REG_SYS_FUNC_EN 0x0002 macro
/drivers/net/wireless/rtlwifi/rtl8192c/
Dfw_common.c55 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92c_enable_fw_download()
56 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, in _rtl92c_enable_fw_download()
532 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92c_firmware_selfreset()
541 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92c_firmware_selfreset()
Dphy_common.c1916 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl92ce_phy_set_rf_on()
1918 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl92ce_phy_set_rf_on()
1919 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl92ce_phy_set_rf_on()
1943 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92c_phy_set_rf_sleep()
1944 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92c_phy_set_rf_sleep()
1950 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92c_phy_set_rf_sleep()

12