/linux/drivers/staging/rtl8723bs/hal/ |
H A D | rtl8723b_cmd.c | 630 /* set REG_CR bit 8 */ in rtl8723b_download_rsvd_page() 631 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page() 633 rtw_write8(padapter, REG_CR+1, v8); in rtl8723b_download_rsvd_page() 694 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page() 696 rtw_write8(padapter, REG_CR+1, v8); in rtl8723b_download_rsvd_page() 896 /* set REG_CR bit 8 */ in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 897 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 899 rtw_write8(padapter, REG_CR+1, val8); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 957 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 959 rtw_write8(padapter, REG_CR in rtl8723b_download_BTCoex_AP_mode_rsvd_page() [all...] |
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | sec.c | 133 ctrl_reg = rtw_read16(rtwdev, REG_CR); in rtw_sec_enable_sec_engine() 135 rtw_write16(rtwdev, REG_CR, ctrl_reg); in rtw_sec_enable_sec_engine()
|
H A D | mac.c | 291 if (rtw_read8(rtwdev, REG_CR) == 0xea) in rtw_mac_power_switch() 357 rtw_write8(rtwdev, REG_CR, 0xff); in __rtw_mac_init_system_cfg_legacy() 365 rtw_write16(rtwdev, REG_CR, 0x2ff); in __rtw_mac_init_system_cfg_legacy() 475 bckp[bckp_idx].reg = REG_CR; in download_firmware_reg_backup() 476 bckp[bckp_idx].val = rtw_read8(rtwdev, REG_CR); in download_firmware_reg_backup() 483 rtw_write8(rtwdev, REG_CR, tmp); in download_firmware_reg_backup() 1123 rtw_write8(rtwdev, REG_CR, 0); in txdma_queue_mapping() 1124 rtw_write8(rtwdev, REG_CR, MAC_TRX_ENABLE); in txdma_queue_mapping() 1227 rtw_write8(rtwdev, REG_CR + 3, 0); in __priority_queue_cfg()
|
H A D | rtw88xxa.c | 324 rtw_write16(rtwdev, REG_CR, 0); in rtw88xxau_hw_reset() 356 rtw_write16(rtwdev, REG_CR, 0); in rtw88xxau_init_power_on() 360 rtw_write16_set(rtwdev, REG_CR, val16); in rtw88xxau_init_power_on() 708 reg_cr = rtw_read8(rtwdev, REG_CR); in rtw88xxa_power_off() 738 rtw_write8(rtwdev, REG_CR, 0); in rtw88xxa_power_off() 1102 rtw_write32_mask(rtwdev, REG_CR, 0x30000, 0x2); in rtw88xxa_power_on() 1175 rtw_write8_set(rtwdev, REG_CR, BIT_MACTXEN | BIT_MACRXEN); in rtw88xxa_power_on()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | hw.c | 156 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl92de_set_hw_reg() 157 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92de_set_hw_reg() 174 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92de_set_hw_reg() 403 /* Disable REG_CR before enable it to assure reset */ in _rtl92de_init_mac() 404 rtl_write_word(rtlpriv, REG_CR, 0x0); in _rtl92de_init_mac() 407 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92de_init_mac() 412 /* rtl_write_word(rtlpriv,REG_CR+2, 0x2); */ in _rtl92de_init_mac() 1003 /* d. stop tx/rx dma before disable REG_CR (0x100) to fix */ in rtl92de_card_disable() 1007 rtl_write_byte(rtlpriv, REG_CR, 0x0); in rtl92de_card_disable()
|
/linux/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | 8710b.c | 1595 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8710bu_active_to_lps() 1599 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8710bu_active_to_lps() 1640 rtl8xxxu_write16(priv, REG_CR, 0); in rtl8710bu_power_on() 1642 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8710bu_power_on() 1648 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8710bu_power_on() 1691 rtl8xxxu_write8(priv, REG_CR, 0x00); in rtl8710bu_power_off() 1753 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8710b_usb_quirks() 1755 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8710b_usb_quirks()
|
H A D | 8192e.c | 1479 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_active_to_lps() 1482 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_active_to_lps() 1484 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_active_to_lps() 1486 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_active_to_lps() 1577 rtl8xxxu_write16(priv, REG_CR, 0x0000); in rtl8192eu_power_on() 1583 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_power_on() 1589 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_power_on()
|
H A D | 8188f.c | 1500 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8188fu_active_to_lps() 1503 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188fu_active_to_lps() 1525 rtl8xxxu_write8(priv, REG_CR, 0); in rtl8188fu_power_on() 1527 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8188fu_power_on() 1533 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188fu_power_on() 1638 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8188f_usb_quirks() 1640 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188f_usb_quirks()
|
H A D | 8192c.c | 577 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192cu_power_on() 581 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192cu_power_on()
|
H A D | 8192f.c | 1819 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192fu_active_to_lps() 1823 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192fu_active_to_lps() 1844 rtl8xxxu_write16(priv, REG_CR, 0); in rtl8192fu_power_on() 1846 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192fu_power_on() 1852 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192fu_power_on() 1866 rtl8xxxu_write8(priv, REG_CR, 0x00); in rtl8192fu_power_off() 1932 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192f_usb_quirks() 1934 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192f_usb_quirks()
|
H A D | 8723a.c | 397 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8723au_power_on() 403 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8723au_power_on()
|
H A D | 8188e.c | 1152 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8188eu_active_to_lps() 1155 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188eu_active_to_lps() 1189 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188eu_power_on() 1299 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8188e_usb_quirks() 1301 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188e_usb_quirks()
|
/linux/drivers/net/fjes/ |
H A D | fjes_regs.h | 72 union REG_CR { union
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | hal_com_reg.h | 44 #define REG_CR 0x0100 macro 198 #define MSR (REG_CR + 2) /* Media Status register */
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
H A D | hw.c | 122 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl92du_set_hw_reg() 123 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92du_set_hw_reg() 143 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92du_set_hw_reg() 594 wordtmp = rtl_read_word(rtlpriv, REG_CR); in _rtl92du_init_power_on() 597 rtl_write_word(rtlpriv, REG_CR, wordtmp); in _rtl92du_init_power_on() 1136 rtl_write_byte(rtlpriv, REG_CR, 0); in rtl92du_card_disable()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | hw.c | 336 /*Set REG_CR bit 8. DMA beacon by SW.*/ in _rtl92ee_download_rsvd_page() 337 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl92ee_download_rsvd_page() 338 rtl_write_byte(rtlpriv, REG_CR + 1, tmp_regcr | BIT(0)); in _rtl92ee_download_rsvd_page() 403 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl92ee_download_rsvd_page() 404 rtl_write_byte(rtlpriv, REG_CR + 1, tmp_regcr & (~BIT(0))); in _rtl92ee_download_rsvd_page() 780 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl92ee_init_mac() 782 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl92ee_init_mac() 794 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92ee_init_mac() 1130 tmp = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl92ee_enable_hw_security_config() 1131 rtl_write_byte(rtlpriv, REG_CR in rtl92ee_enable_hw_security_config() [all...] |
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | hw.c | 350 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8723be_download_rsvd_page() 351 rtl_write_byte(rtlpriv, REG_CR + 1, in _rtl8723be_download_rsvd_page() 389 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8723be_download_rsvd_page() 390 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr & ~(BIT(0)))); in _rtl8723be_download_rsvd_page() 835 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8723be_init_mac() 837 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8723be_init_mac() 856 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8723be_init_mac() 1141 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl8723be_enable_hw_security_config() 1262 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8723be_reset_pcie_interface_dma() 1283 rtl_write_byte(rtlpriv, REG_CR, in _rtl8723be_reset_pcie_interface_dma() [all...] |
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | hw.c | 421 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl8723e_set_hw_reg() 422 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl8723e_set_hw_reg() 447 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl8723e_set_hw_reg() 582 rtl_write_byte(rtlpriv, REG_CR, 0x8B); in _rtl8723e_llt_table_init() 630 rtl_write_byte(rtlpriv, REG_CR, 0xff); in _rtl8723e_llt_table_init() 666 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8712e_init_mac() 706 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8712e_init_mac() 707 rtl_write_word(rtlpriv, REG_CR + 1, 0x06); in _rtl8712e_init_mac() 896 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl8723e_enable_hw_security_config()
|
/linux/drivers/net/can/sja1000/ |
H A D | plx_pci.c | 87 #define REG_CR 0x00 macro 419 if ((priv->read_reg(priv, REG_CR) & REG_CR_BASICCAN_INITIAL_MASK) == in plx_pci_check_sja1000()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | hw.c | 628 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl88ee_set_hw_reg() 629 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl88ee_set_hw_reg() 675 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl88ee_set_hw_reg() 865 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl88ee_init_mac() 866 rtl_write_byte(rtlpriv, REG_CR+1, 0x06); in _rtl88ee_init_mac() 1023 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl88ee_enable_hw_security_config() 1060 u1byte = rtl_read_byte(rtlpriv, REG_CR); in rtl88ee_hw_init()
|
H A D | reg.h | 73 #define REG_CR 0x0100 macro 329 #define MSR (REG_CR + 2) 949 #define REG_LBMODE (REG_CR + 3)
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
H A D | reg.h | 79 #define REG_CR 0x0100 macro 337 #define MSR (REG_CR + 2)
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | hw.c | 473 value16 = rtl_read_word(rtlpriv, REG_CR); in _rtl92cu_init_power_on() 476 rtl_write_word(rtlpriv, REG_CR, value16); in _rtl92cu_init_power_on() 799 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92cu_enable_hw_security_config() 1732 rtl_write_byte(rtlpriv, REG_CR + 1, 0x03); in rtl92cu_set_hw_reg() 1749 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92cu_set_hw_reg()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | hw.c | 419 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl92ce_set_hw_reg() 420 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92ce_set_hw_reg() 445 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92ce_set_hw_reg() 710 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92ce_init_mac() 898 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92ce_enable_hw_security_config()
|
H A D | reg.h | 67 #define REG_CR 0x0100 macro 311 #define MSR (REG_CR + 2) 870 #define REG_LBMODE (REG_CR + 3)
|