Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dhw.c814 unsigned char bytetmp; in _rtl8723be_init_mac() local
839 rtl_write_byte(rtlpriv, REG_APS_FSMCO, bytetmp); in _rtl8723be_init_mac()
841 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8723be_init_mac()
842 bytetmp = 0xff; in _rtl8723be_init_mac()
843 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8723be_init_mac()
846 bytetmp = rtl_read_byte(rtlpriv, REG_HWSEQ_CTRL); in _rtl8723be_init_mac()
847 bytetmp |= 0x7f; in _rtl8723be_init_mac()
852 if (bytetmp & BIT(0)) { in _rtl8723be_init_mac()
853 bytetmp = rtl_read_byte(rtlpriv, 0x7c); in _rtl8723be_init_mac()
857 bytetmp = rtl_read_byte(rtlpriv, REG_SYS_CLKR); in _rtl8723be_init_mac()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dhw.c825 u8 bytetmp; in _rtl88ee_init_mac() local
830 rtl_write_byte(rtlpriv, REG_XCK_OUT_CTRL, bytetmp); in _rtl88ee_init_mac()
833 rtl_write_byte(rtlpriv, REG_APS_FSMCO + 1, bytetmp); in _rtl88ee_init_mac()
846 rtl_write_byte(rtlpriv, REG_APS_FSMCO, bytetmp); in _rtl88ee_init_mac()
848 bytetmp = rtl_read_byte(rtlpriv, REG_PCIE_CTRL_REG+2); in _rtl88ee_init_mac()
851 bytetmp = rtl_read_byte(rtlpriv, REG_WATCH_DOG+1); in _rtl88ee_init_mac()
857 bytetmp = rtl_read_byte(rtlpriv, REG_TX_RPT_CTRL); in _rtl88ee_init_mac()
863 bytetmp = rtl_read_byte(rtlpriv, REG_SYS_CLKR); in _rtl88ee_init_mac()
865 rtl_write_byte(rtlpriv, REG_SYS_CLKR, bytetmp|BIT(3)); in _rtl88ee_init_mac()
866 bytetmp = rtl_read_byte(rtlpriv, REG_GPIO_MUXCFG+1); in _rtl88ee_init_mac()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dhw.c736 u8 bytetmp; in _rtl92ee_init_mac() local
746 bytetmp = rtl_read_byte(rtlpriv, 0x16); 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()
763 bytetmp &= 0xbf; in _rtl92ee_init_mac()
780 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl92ee_init_mac()
781 bytetmp = 0xff; in _rtl92ee_init_mac()
782 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl92ee_init_mac()
784 bytetmp = 0x7f; in _rtl92ee_init_mac()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dhw.c661 unsigned char bytetmp; in _rtl92ce_init_mac() local
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()
712 rtl_write_byte(rtlpriv, REG_AFE_XTAL_CTRL+2, bytetmp); in _rtl92ce_init_mac()
764 bytetmp = rtl_read_byte(rtlpriv, REG_APSD_CTRL); in _rtl92ce_init_mac()
768 bytetmp = rtl_read_byte(rtlpriv, REG_APSD_CTRL); in _rtl92ce_init_mac()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dhw.c901 u8 bytetmp = 0; in _rtl8821ae_init_mac() local
932 rtl_write_byte(rtlpriv, REG_APS_FSMCO, bytetmp); in _rtl8821ae_init_mac()
934 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8821ae_init_mac()
935 bytetmp = 0xff; in _rtl8821ae_init_mac()
936 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8821ae_init_mac()
939 bytetmp = 0xff; in _rtl8821ae_init_mac()
945 if (bytetmp & BIT(0)) { in _rtl8821ae_init_mac()
946 bytetmp = rtl_read_byte(rtlpriv, 0x7c); in _rtl8821ae_init_mac()
947 bytetmp |= BIT(6); in _rtl8821ae_init_mac()
948 rtl_write_byte(rtlpriv, 0x7c, bytetmp); in _rtl8821ae_init_mac()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A 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 …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A 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()