Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-wmt.c23 #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 …]
/kernel/linux/linux-5.10/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.c261 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()
1011 rtw_write8(rtwdev, REG_CR, 0); in txdma_queue_mapping()
1012 rtw_write8(rtwdev, REG_CR, MAC_TRX_ENABLE); in txdma_queue_mapping()
1098 rtw_write8(rtwdev, REG_CR + 3, 0); in __priority_queue_cfg()
Dreg.h160 #define REG_CR 0x0100 macro
214 #define REG_CR 0x0100 macro
/kernel/linux/linux-5.10/drivers/tty/serial/
Damba-pl011.h14 REG_CR, enumerator
Damba-pl011.c65 [REG_CR] = UART011_CR,
153 [REG_CR] = UART011_CR,
198 [REG_CR] = ZX_UART011_CR,
1547 cr = pl011_read(uap, REG_CR); in pl011_set_mctrl()
1567 pl011_write(cr, uap, REG_CR); in pl011_set_mctrl()
1769 pl011_write(cr, uap, REG_CR); in pl011_startup()
1833 cr = pl011_read(uap, REG_CR); in pl011_disable_uart()
1837 pl011_write(cr, uap, REG_CR); in pl011_disable_uart()
2009 old_cr = pl011_read(uap, REG_CR); in pl011_set_termios()
2010 pl011_write(0, uap, REG_CR); in pl011_set_termios()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c156 rtw_write8(padapter, REG_CR, 0x00); in _InitPowerOn_8723BS()
158 value16 = rtw_read16(padapter, REG_CR); in _InitPowerOn_8723BS()
169 rtw_write16(padapter, REG_CR, value16); in _InitPowerOn_8723BS()
448 value32 = rtw_read32(padapter, REG_CR); in _InitNetworkType()
454 rtw_write32(padapter, REG_CR, value32); in _InitNetworkType()
766 rtw_write16(padapter, REG_CR, 0); in rtl8723bs_hal_init()
938 u1bTmp = rtw_read8(padapter, REG_CR); in rtl8723bs_hal_init()
940 rtw_write8(padapter, REG_CR, u1bTmp); in rtl8723bs_hal_init()
1084 val8 = rtw_read8(padapter, REG_CR); in rtl8723bs_hal_deinit()
1101 rtw_read8(padapter, REG_CR), in rtl8723bs_hal_deinit()
Drtl8723b_cmd.c1947 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page()
1949 rtw_write8(padapter, REG_CR+1, v8); in rtl8723b_download_rsvd_page()
2022 v8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_rsvd_page()
2024 rtw_write8(padapter, REG_CR+1, v8); in rtl8723b_download_rsvd_page()
2252 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
2254 rtw_write8(padapter, REG_CR+1, val8); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
2321 val8 = rtw_read8(padapter, REG_CR+1); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
2323 rtw_write8(padapter, REG_CR+1, val8); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8723a.c343 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8723au_power_on()
349 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8723au_power_on()
Drtl8xxxu_8192e.c1483 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()
1583 rtl8xxxu_write16(priv, REG_CR, 0x0000); in rtl8192eu_power_on()
1589 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_power_on()
1595 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_power_on()
Drtl8xxxu_8192c.c524 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192cu_power_on()
528 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192cu_power_on()
/kernel/linux/linux-5.10/drivers/net/fjes/
Dfjes_regs.h72 union REG_CR { union
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c296 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 …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
Dusb_halinit.c100 usb_write16(adapt, REG_CR, 0x00); /* suggseted by zhouzhou, by page, 20111230 */ in rtw_hal_power_on()
103 value16 = usb_read16(adapt, REG_CR); in rtw_hal_power_on()
108 usb_write16(adapt, REG_CR, value16); in rtw_hal_power_on()
318 value32 = usb_read32(Adapter, REG_CR); in _InitNetworkType()
322 usb_write32(Adapter, REG_CR, value32); in _InitNetworkType()
574 haldata->RegCR_1 = usb_read8(Adapter, REG_CR + 1); in _InitBeaconParameters()
761 value16 = usb_read16(Adapter, REG_CR); in rtl8188eu_hal_init()
763 usb_write8(Adapter, REG_CR, value16); in rtl8188eu_hal_init()
886 usb_write8(Adapter, REG_CR, 0x0); in CardDisableRTL8188EU()
Drtl8188e_cmd.c554 usb_write8(adapt, REG_CR + 1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd()
624 usb_write8(adapt, REG_CR + 1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c346 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c426 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()
/kernel/linux/linux-5.10/drivers/net/can/sja1000/
Dplx_pci.c99 #define REG_CR 0x00 macro
432 if ((priv->read_reg(priv, REG_CR) & REG_CR_BASICCAN_INITIAL_MASK) == in plx_pci_check_sja1000()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c392 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()
Dreg.h76 #define REG_CR 0x0100 macro
327 #define MSR (REG_CR + 2)
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c629 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()
/kernel/linux/linux-5.10/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()
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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c424 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()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Drtl8188e_spec.h100 #define REG_CR 0x0100 macro
406 #define MSR (REG_CR + 2) /* Media Status reg */

12