Home
last modified time | relevance | path

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

/drivers/net/wireless/rtlwifi/rtl8192se/
Dhw.c537 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload()
539 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b); in _rtl92se_macconfig_before_fwdownload()
541 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b | BIT(0)); in _rtl92se_macconfig_before_fwdownload()
563 tmpu1b = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92se_macconfig_before_fwdownload()
565 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmpu1b); in _rtl92se_macconfig_before_fwdownload()
606 tmpu2b = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92se_macconfig_before_fwdownload()
607 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | BIT(13))); in _rtl92se_macconfig_before_fwdownload()
638 tmpu2b = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in _rtl92se_macconfig_before_fwdownload()
639 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | BIT(11))); in _rtl92se_macconfig_before_fwdownload()
641 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.c322 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
Dreg.h34 #define REG_SYS_FUNC_EN 0x0002 macro
/drivers/net/wireless/rtlwifi/rtl8192ce/
Dphy.c97 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92c_phy_bb_config()
98 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92c_phy_bb_config()
103 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, in rtl92c_phy_bb_config()
492 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92ce_phy_set_rf_sleep()
493 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92ce_phy_set_rf_sleep()
499 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92ce_phy_set_rf_sleep()
Dsw.c264 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
Dhw.c1209 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92ce_poweroff_adapter()
1210 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE0); in _rtl92ce_poweroff_adapter()
1213 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, 0x51); in _rtl92ce_poweroff_adapter()
Dreg.h34 #define REG_SYS_FUNC_EN 0x0002 macro
/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/rtl8192c/
Dfw_common.c54 tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in _rtl92c_enable_fw_download()
55 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, in _rtl92c_enable_fw_download()
531 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92c_firmware_selfreset()
540 u1b_tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); in rtl92c_firmware_selfreset()
Dphy_common.c1915 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl92ce_phy_set_rf_on()
1917 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in rtl92ce_phy_set_rf_on()
1918 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in rtl92ce_phy_set_rf_on()
1942 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92c_phy_set_rf_sleep()
1943 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92c_phy_set_rf_sleep()
1949 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92c_phy_set_rf_sleep()
/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.c800 regval = rtl_read_word(rtlpriv, REG_SYS_FUNC_EN); in rtl92d_phy_bb_config()
801 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92d_phy_bb_config()
809 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, FEN_PPLL | FEN_PCIEA | in rtl92d_phy_bb_config()
3140 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfon()
3146 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfon()
3147 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfon()
3181 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE2); in _rtl92d_phy_set_rfsleep()
3182 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, 0xE3); in _rtl92d_phy_set_rfsleep()
3189 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