Home
last modified time | relevance | path

Searched refs:REG_CR (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.12.1/drivers/tty/serial/
Damba-pl011.c65 REG_CR, enumerator
93 [REG_CR] = UART011_CR,
181 [REG_CR] = UART011_CR,
1287 cr = pl011_read(uap, REG_CR); in pl011_rs485_tx_stop()
1297 pl011_write(cr, uap, REG_CR); in pl011_rs485_tx_stop()
1332 cr = pl011_read(uap, REG_CR); in pl011_rs485_tx_start()
1344 pl011_write(cr, uap, REG_CR); in pl011_rs485_tx_start()
1616 cr = pl011_read(uap, REG_CR); in pl011_set_mctrl()
1629 pl011_write(cr, uap, REG_CR); in pl011_set_mctrl()
1844 cr = pl011_read(uap, REG_CR); in pl011_startup()
[all …]
/linux-6.12.1/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c649 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page()
651 rtw_write8(padapter, REG_CR+1, v8); in rtl8723b_download_rsvd_page()
712 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page()
714 rtw_write8(padapter, REG_CR+1, v8); in rtl8723b_download_rsvd_page()
916 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
918 rtw_write8(padapter, REG_CR+1, val8); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
976 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
978 rtw_write8(padapter, REG_CR+1, val8); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
Dsdio_halinit.c76 rtw_write8(padapter, REG_CR, 0x00); in _InitPowerOn_8723BS()
78 value16 = rtw_read16(padapter, REG_CR); in _InitPowerOn_8723BS()
89 rtw_write16(padapter, REG_CR, value16); in _InitPowerOn_8723BS()
357 value32 = rtw_read32(padapter, REG_CR); in _InitNetworkType()
363 rtw_write32(padapter, REG_CR, value32); in _InitNetworkType()
783 u1bTmp = rtw_read8(padapter, REG_CR); in rtl8723bs_hal_init()
785 rtw_write8(padapter, REG_CR, u1bTmp); in rtl8723bs_hal_init()
915 val8 = rtw_read8(padapter, REG_CR); in rtl8723bs_hal_deinit()
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Dsec.c133 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()
Dmac.c290 if (rtw_read8(rtwdev, REG_CR) == 0xea) in rtw_mac_power_switch()
355 rtw_write8(rtwdev, REG_CR, 0xff); in __rtw_mac_init_system_cfg_legacy()
363 rtw_write16(rtwdev, REG_CR, 0x2ff); in __rtw_mac_init_system_cfg_legacy()
473 bckp[bckp_idx].reg = REG_CR; in download_firmware_reg_backup()
474 bckp[bckp_idx].val = rtw_read8(rtwdev, REG_CR); in download_firmware_reg_backup()
481 rtw_write8(rtwdev, REG_CR, tmp); in download_firmware_reg_backup()
1115 rtw_write8(rtwdev, REG_CR, 0); in txdma_queue_mapping()
1116 rtw_write8(rtwdev, REG_CR, MAC_TRX_ENABLE); in txdma_queue_mapping()
1218 rtw_write8(rtwdev, REG_CR + 3, 0); in __priority_queue_cfg()
Dreg.h173 #define REG_CR 0x0100 macro
231 #define REG_CR 0x0100 macro
/linux-6.12.1/drivers/net/wireless/realtek/rtl8xxxu/
D8710b.c1595 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()
D8192e.c1479 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()
D8188f.c1500 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()
D8192f.c1819 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()
D8192c.c577 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192cu_power_on()
581 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192cu_power_on()
D8723a.c397 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8723au_power_on()
403 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8723au_power_on()
D8188e.c1152 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-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c156 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()
404 rtl_write_word(rtlpriv, REG_CR, 0x0); in _rtl92de_init_mac()
407 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92de_init_mac()
1007 rtl_write_byte(rtlpriv, REG_CR, 0x0); in rtl92de_card_disable()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c300 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8821ae_download_rsvd_page()
301 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr | BIT(0))); in _rtl8821ae_download_rsvd_page()
386 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8821ae_download_rsvd_page()
387 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr & ~(BIT(0)))); in _rtl8821ae_download_rsvd_page()
929 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8821ae_init_mac()
931 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8821ae_init_mac()
951 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8821ae_init_mac()
1182 tmp = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl8821ae_enable_hw_security_config()
1183 rtl_write_byte(rtlpriv, REG_CR + 1, tmp | BIT(1)); in rtl8821ae_enable_hw_security_config()
1279 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8821ae_reset_pcie_interface_dma()
[all …]
/linux-6.12.1/drivers/net/fjes/
Dfjes_regs.h72 union REG_CR { union
/linux-6.12.1/drivers/staging/rtl8723bs/include/
Dhal_com_reg.h44 #define REG_CR 0x0100 macro
198 #define MSR (REG_CR + 2) /* Media Status register */
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Dhw.c122 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-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c337 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 + 1, tmp | BIT(1)); in rtl92ee_enable_hw_security_config()
1209 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8192ee_reset_pcie_interface_dma()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c350 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, 0xFF); in _rtl8723be_reset_pcie_interface_dma()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c421 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-6.12.1/drivers/net/can/sja1000/
Dplx_pci.c87 #define REG_CR 0x00 macro
419 if ((priv->read_reg(priv, REG_CR) & REG_CR_BASICCAN_INITIAL_MASK) == in plx_pci_check_sja1000()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c628 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()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Dreg.h79 #define REG_CR 0x0100 macro
337 #define MSR (REG_CR + 2)
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c484 value16 = rtl_read_word(rtlpriv, REG_CR); in _rtl92cu_init_power_on()
487 rtl_write_word(rtlpriv, REG_CR, value16); in _rtl92cu_init_power_on()
810 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92cu_enable_hw_security_config()
1743 rtl_write_byte(rtlpriv, REG_CR + 1, 0x03); in rtl92cu_set_hw_reg()
1760 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92cu_set_hw_reg()

12