Home
last modified time | relevance | path

Searched refs:bytetmp (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c810 unsigned char bytetmp; in _rtl8723be_init_mac() local
816 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO + 1) & (~BIT(7)); in _rtl8723be_init_mac()
817 rtl_write_byte(rtlpriv, REG_APS_FSMCO + 1, bytetmp); in _rtl8723be_init_mac()
831 bytetmp = rtl_read_byte(rtlpriv, REG_MULTI_FUNC_CTRL); in _rtl8723be_init_mac()
832 rtl_write_byte(rtlpriv, REG_MULTI_FUNC_CTRL, bytetmp | BIT(3)); in _rtl8723be_init_mac()
834 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO) | BIT(4); in _rtl8723be_init_mac()
835 rtl_write_byte(rtlpriv, REG_APS_FSMCO, bytetmp); in _rtl8723be_init_mac()
837 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8723be_init_mac()
838 bytetmp = 0xff; in _rtl8723be_init_mac()
839 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8723be_init_mac()
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c821 u8 bytetmp; in _rtl88ee_init_mac() local
825 bytetmp = rtl_read_byte(rtlpriv, REG_XCK_OUT_CTRL) & (~BIT(0)); in _rtl88ee_init_mac()
826 rtl_write_byte(rtlpriv, REG_XCK_OUT_CTRL, bytetmp); in _rtl88ee_init_mac()
828 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO + 1) & (~BIT(7)); in _rtl88ee_init_mac()
829 rtl_write_byte(rtlpriv, REG_APS_FSMCO + 1, bytetmp); in _rtl88ee_init_mac()
841 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO) | BIT(4); in _rtl88ee_init_mac()
842 rtl_write_byte(rtlpriv, REG_APS_FSMCO, bytetmp); in _rtl88ee_init_mac()
844 bytetmp = rtl_read_byte(rtlpriv, REG_PCIE_CTRL_REG+2); in _rtl88ee_init_mac()
845 rtl_write_byte(rtlpriv, REG_PCIE_CTRL_REG+2, bytetmp|BIT(2)); in _rtl88ee_init_mac()
847 bytetmp = rtl_read_byte(rtlpriv, REG_WATCH_DOG+1); in _rtl88ee_init_mac()
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c736 u8 bytetmp; in _rtl92ee_init_mac() local
746 bytetmp = rtl_read_byte(rtlpriv, 0x16); in _rtl92ee_init_mac()
747 rtl_write_byte(rtlpriv, 0x16, bytetmp | BIT(4) | BIT(6)); in _rtl92ee_init_mac()
751 bytetmp = rtl_read_byte(rtlpriv, REG_AFE_CTRL2); in _rtl92ee_init_mac()
752 bytetmp &= 0xfb; in _rtl92ee_init_mac()
753 rtl_write_byte(rtlpriv, REG_AFE_CTRL2, bytetmp); in _rtl92ee_init_mac()
762 bytetmp = rtl_read_byte(rtlpriv, REG_AFE_CTRL2); in _rtl92ee_init_mac()
763 bytetmp &= 0xbf; in _rtl92ee_init_mac()
764 rtl_write_byte(rtlpriv, REG_AFE_CTRL2, bytetmp); in _rtl92ee_init_mac()
780 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl92ee_init_mac()
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c661 unsigned char bytetmp; in _rtl92ce_init_mac() local
683 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO + 1) | BIT(0); in _rtl92ce_init_mac()
686 rtl_write_byte(rtlpriv, REG_APS_FSMCO + 1, bytetmp); in _rtl92ce_init_mac()
689 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO + 1); in _rtl92ce_init_mac()
694 rtl_read_dword(rtlpriv, 0xEC), bytetmp); in _rtl92ce_init_mac()
696 while ((bytetmp & BIT(0)) && retry < 1000) { in _rtl92ce_init_mac()
699 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO + 1); in _rtl92ce_init_mac()
701 rtl_read_dword(rtlpriv, 0xEC), bytetmp); in _rtl92ce_init_mac()
711 bytetmp = rtl_read_byte(rtlpriv, REG_AFE_XTAL_CTRL+2) & 0xfd; in _rtl92ce_init_mac()
712 rtl_write_byte(rtlpriv, REG_AFE_XTAL_CTRL+2, bytetmp); in _rtl92ce_init_mac()
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c897 u8 bytetmp = 0; in _rtl8821ae_init_mac() local
904 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO + 1) & (~BIT(7)); in _rtl8821ae_init_mac()
905 rtl_write_byte(rtlpriv, REG_APS_FSMCO + 1, bytetmp); in _rtl8821ae_init_mac()
927 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO) | BIT(4); in _rtl8821ae_init_mac()
928 rtl_write_byte(rtlpriv, REG_APS_FSMCO, bytetmp); in _rtl8821ae_init_mac()
930 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8821ae_init_mac()
931 bytetmp = 0xff; in _rtl8821ae_init_mac()
932 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8821ae_init_mac()
935 bytetmp = 0xff; in _rtl8821ae_init_mac()
936 rtl_write_byte(rtlpriv, REG_HWSEQ_CTRL, bytetmp); in _rtl8821ae_init_mac()
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c664 unsigned char bytetmp; in _rtl8712e_init_mac() local
671 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8712e_init_mac()
672 if (bytetmp == 0xFF) in _rtl8712e_init_mac()
682 bytetmp = rtl_read_byte(rtlpriv, REG_PCIE_CTRL_REG+2); in _rtl8712e_init_mac()
683 rtl_write_byte(rtlpriv, REG_PCIE_CTRL_REG+2, bytetmp | BIT(4)); in _rtl8712e_init_mac()
686 bytetmp = rtl_read_byte(rtlpriv, 0x369); in _rtl8712e_init_mac()
687 rtl_write_byte(rtlpriv, 0x369, bytetmp | BIT(7)); in _rtl8712e_init_mac()
761 bytetmp = rtl_read_byte(rtlpriv, REG_APSD_CTRL); in _rtl8712e_init_mac()
762 rtl_write_byte(rtlpriv, REG_APSD_CTRL, bytetmp & ~BIT(6)); in _rtl8712e_init_mac()
765 bytetmp = rtl_read_byte(rtlpriv, REG_APSD_CTRL); in _rtl8712e_init_mac()
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c614 unsigned char bytetmp; in _rtl92de_init_mac() local
642 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO + 1) | BIT(0); in _rtl92de_init_mac()
644 rtl_write_byte(rtlpriv, REG_APS_FSMCO + 1, bytetmp); in _rtl92de_init_mac()
648 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO + 1); in _rtl92de_init_mac()
651 while ((bytetmp & BIT(0)) && retry < 1000) { in _rtl92de_init_mac()
653 bytetmp = rtl_read_byte(rtlpriv, REG_APS_FSMCO + 1); in _rtl92de_init_mac()
754 bytetmp = rtl_read_byte(rtlpriv, REG_APSD_CTRL); in _rtl92de_init_mac()
755 rtl_write_byte(rtlpriv, REG_APSD_CTRL, bytetmp & ~BIT(6)); in _rtl92de_init_mac()
758 bytetmp = rtl_read_byte(rtlpriv, REG_APSD_CTRL); in _rtl92de_init_mac()
759 } while ((retry < 200) && !(bytetmp & BIT(7))); in _rtl92de_init_mac()