/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-wmt.c | 23 #define REG_CR 0x00 macro 149 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write() 151 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write() 153 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write() 155 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write() 170 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write() 172 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write() 196 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write() 202 writew(CR_ENABLE, i2c_dev->base + REG_CR); in wmt_i2c_write() 206 writew(CR_CPU_RDY | CR_ENABLE, i2c_dev->base + REG_CR); in wmt_i2c_write() [all …]
|
/linux-6.1.9/drivers/tty/serial/ |
D | amba-pl011.c | 65 REG_CR, enumerator 93 [REG_CR] = UART011_CR, 181 [REG_CR] = UART011_CR, 1313 cr = pl011_read(uap, REG_CR); in pl011_rs485_tx_stop() 1323 pl011_write(cr, uap, REG_CR); in pl011_rs485_tx_stop() 1444 cr = pl011_read(uap, REG_CR); in pl011_rs485_tx_start() 1456 pl011_write(cr, uap, REG_CR); in pl011_rs485_tx_start() 1630 cr = pl011_read(uap, REG_CR); in pl011_set_mctrl() 1650 pl011_write(cr, uap, REG_CR); in pl011_set_mctrl() 1866 cr = pl011_read(uap, REG_CR); in pl011_startup() [all …]
|
/linux-6.1.9/drivers/staging/r8188eu/hal/ |
D | usb_halinit.c | 104 rtw_write16(adapt, REG_CR, 0x00); /* suggseted by zhouzhou, by page, 20111230 */ in rtl8188eu_InitPowerOn() 107 res = rtw_read16(adapt, REG_CR, &value16); in rtl8188eu_InitPowerOn() 115 rtw_write16(adapt, REG_CR, value16); in rtl8188eu_InitPowerOn() 283 res = rtw_read32(Adapter, REG_CR, &value32); in _InitNetworkType() 290 rtw_write32(Adapter, REG_CR, value32); in _InitNetworkType() 492 res = rtw_read8(Adapter, REG_CR + 1, &haldata->RegCR_1); in _InitBeaconParameters() 646 res = rtw_read16(Adapter, REG_CR, &value16); in rtl8188eu_hal_init() 651 rtw_write8(Adapter, REG_CR, value16); in rtl8188eu_hal_init() 770 rtw_write8(Adapter, REG_CR, 0x0); in CardDisableRTL8188EU()
|
D | rtl8188e_cmd.c | 550 rtw_write8(adapt, REG_CR + 1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd() 627 rtw_write8(adapt, REG_CR + 1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd()
|
/linux-6.1.9/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_cmd.c | 650 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page() 652 rtw_write8(padapter, REG_CR+1, v8); in rtl8723b_download_rsvd_page() 713 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page() 715 rtw_write8(padapter, REG_CR+1, v8); in rtl8723b_download_rsvd_page() 917 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 919 rtw_write8(padapter, REG_CR+1, val8); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 977 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 979 rtw_write8(padapter, REG_CR+1, val8); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
|
D | sdio_halinit.c | 77 rtw_write8(padapter, REG_CR, 0x00); in _InitPowerOn_8723BS() 79 value16 = rtw_read16(padapter, REG_CR); in _InitPowerOn_8723BS() 90 rtw_write16(padapter, REG_CR, value16); in _InitPowerOn_8723BS() 358 value32 = rtw_read32(padapter, REG_CR); in _InitNetworkType() 364 rtw_write32(padapter, REG_CR, value32); in _InitNetworkType() 784 u1bTmp = rtw_read8(padapter, REG_CR); in rtl8723bs_hal_init() 786 rtw_write8(padapter, REG_CR, u1bTmp); in rtl8723bs_hal_init() 916 val8 = rtw_read8(padapter, REG_CR); in rtl8723bs_hal_deinit()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
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()
|
D | mac.c | 261 if (rtw_read8(rtwdev, REG_CR) == 0xea) in rtw_mac_power_switch() 306 rtw_write8(rtwdev, REG_CR, 0xff); in __rtw_mac_init_system_cfg_legacy() 314 rtw_write16(rtwdev, REG_CR, 0x2ff); in __rtw_mac_init_system_cfg_legacy() 419 bckp[bckp_idx].reg = REG_CR; in download_firmware_reg_backup() 420 bckp[bckp_idx].val = rtw_read8(rtwdev, REG_CR); in download_firmware_reg_backup() 427 rtw_write8(rtwdev, REG_CR, tmp); in download_firmware_reg_backup() 1030 rtw_write8(rtwdev, REG_CR, 0); in txdma_queue_mapping() 1031 rtw_write8(rtwdev, REG_CR, MAC_TRX_ENABLE); in txdma_queue_mapping() 1117 rtw_write8(rtwdev, REG_CR + 3, 0); in __priority_queue_cfg()
|
D | reg.h | 163 #define REG_CR 0x0100 macro 217 #define REG_CR 0x0100 macro
|
/linux-6.1.9/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu_8723a.c | 343 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8723au_power_on() 349 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8723au_power_on()
|
D | rtl8xxxu_8192e.c | 1483 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_active_to_lps() 1486 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_active_to_lps() 1488 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_active_to_lps() 1490 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_active_to_lps() 1581 rtl8xxxu_write16(priv, REG_CR, 0x0000); in rtl8192eu_power_on() 1587 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_power_on() 1593 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_power_on()
|
D | rtl8xxxu_8192c.c | 524 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192cu_power_on() 528 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192cu_power_on()
|
/linux-6.1.9/drivers/net/fjes/ |
D | fjes_regs.h | 72 union REG_CR { union
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 296 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8821ae_download_rsvd_page() 297 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr | BIT(0))); in _rtl8821ae_download_rsvd_page() 382 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8821ae_download_rsvd_page() 383 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr & ~(BIT(0)))); in _rtl8821ae_download_rsvd_page() 930 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8821ae_init_mac() 932 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8821ae_init_mac() 952 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8821ae_init_mac() 1183 tmp = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl8821ae_enable_hw_security_config() 1184 rtl_write_byte(rtlpriv, REG_CR + 1, tmp | BIT(1)); in rtl8821ae_enable_hw_security_config() 1280 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8821ae_reset_pcie_interface_dma() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 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 + 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.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 346 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8723be_download_rsvd_page() 347 rtl_write_byte(rtlpriv, REG_CR + 1, in _rtl8723be_download_rsvd_page() 385 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8723be_download_rsvd_page() 386 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr & ~(BIT(0)))); in _rtl8723be_download_rsvd_page() 837 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8723be_init_mac() 839 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8723be_init_mac() 858 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8723be_init_mac() 1143 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl8723be_enable_hw_security_config() 1264 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8723be_reset_pcie_interface_dma() 1285 rtl_write_byte(rtlpriv, REG_CR, 0xFF); in _rtl8723be_reset_pcie_interface_dma() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 426 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl8723e_set_hw_reg() 427 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl8723e_set_hw_reg() 452 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl8723e_set_hw_reg() 587 rtl_write_byte(rtlpriv, REG_CR, 0x8B); in _rtl8723e_llt_table_init() 635 rtl_write_byte(rtlpriv, REG_CR, 0xff); in _rtl8723e_llt_table_init() 671 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8712e_init_mac() 711 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8712e_init_mac() 712 rtl_write_word(rtlpriv, REG_CR + 1, 0x06); in _rtl8712e_init_mac() 901 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl8723e_enable_hw_security_config()
|
/linux-6.1.9/drivers/net/can/sja1000/ |
D | plx_pci.c | 87 #define REG_CR 0x00 macro 420 if ((priv->read_reg(priv, REG_CR) & REG_CR_BASICCAN_INITIAL_MASK) == in plx_pci_check_sja1000()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 392 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl92de_set_hw_reg() 393 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92de_set_hw_reg() 410 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92de_set_hw_reg() 671 rtl_write_word(rtlpriv, REG_CR, 0x0); in _rtl92de_init_mac() 674 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92de_init_mac() 869 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92de_enable_hw_security_config() 1330 rtl_write_byte(rtlpriv, REG_CR, 0x0); in rtl92de_card_disable()
|
D | reg.h | 76 #define REG_CR 0x0100 macro 327 #define MSR (REG_CR + 2)
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 629 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl88ee_set_hw_reg() 630 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl88ee_set_hw_reg() 676 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl88ee_set_hw_reg() 866 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl88ee_init_mac() 867 rtl_write_byte(rtlpriv, REG_CR+1, 0x06); in _rtl88ee_init_mac() 1024 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl88ee_enable_hw_security_config() 1061 u1byte = rtl_read_byte(rtlpriv, REG_CR); in rtl88ee_hw_init()
|
/linux-6.1.9/drivers/staging/r8188eu/include/ |
D | rtl8188e_spec.h | 92 #define REG_CR 0x0100 macro 394 #define MSR (REG_CR + 2) /* Media Status reg */
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 424 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl92ce_set_hw_reg() 425 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92ce_set_hw_reg() 450 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92ce_set_hw_reg() 715 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92ce_init_mac() 903 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92ce_enable_hw_security_config()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 484 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() 879 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92cu_enable_hw_security_config() 1834 rtl_write_byte(rtlpriv, REG_CR + 1, 0x03); in rtl92cu_set_hw_reg() 1851 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92cu_set_hw_reg()
|
/linux-6.1.9/drivers/staging/rtl8723bs/include/ |
D | hal_com_reg.h | 101 #define REG_CR 0x0100 macro 488 #define MSR (REG_CR + 2) /* Media Status register */
|