Home
last modified time | relevance | path

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

12

/linux/drivers/i2c/busses/
A 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()
228 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
230 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_read()
232 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
234 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_read()
[all …]
/linux/drivers/tty/serial/
A Damba-pl011.c65 [REG_CR] = UART011_CR,
153 [REG_CR] = UART011_CR,
198 [REG_CR] = ZX_UART011_CR,
1310 cr = pl011_read(uap, REG_CR); in pl011_rs485_tx_stop()
1320 pl011_write(cr, uap, REG_CR); in pl011_rs485_tx_stop()
1432 cr = pl011_read(uap, REG_CR); in pl011_rs485_tx_start()
1444 pl011_write(cr, uap, REG_CR); in pl011_rs485_tx_start()
1621 cr = pl011_read(uap, REG_CR); in pl011_set_mctrl()
1641 pl011_write(cr, uap, REG_CR); in pl011_set_mctrl()
1853 pl011_write(cr, uap, REG_CR); in pl011_startup()
[all …]
A Damba-pl011.h14 REG_CR, enumerator
/linux/drivers/staging/rtl8723bs/hal/
A Drtl8723b_cmd.c650 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()
A Dsdio_halinit.c77 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/drivers/net/wireless/realtek/rtw88/
A 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()
A 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()
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()
A Dreg.h163 #define REG_CR 0x0100 macro
217 #define REG_CR 0x0100 macro
/linux/drivers/net/wireless/realtek/rtl8xxxu/
A 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()
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()
A Drtl8xxxu_8723a.c343 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8723au_power_on()
349 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8723au_power_on()
A Drtl8xxxu_8192c.c524 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192cu_power_on()
528 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192cu_power_on()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
A Dhw.c930 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()
1280 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8821ae_reset_pcie_interface_dma()
1296 rtl_write_byte(rtlpriv, REG_CR, 0xFF); in _rtl8821ae_reset_pcie_interface_dma()
1555 rtl_write_byte(rtlpriv, REG_CR, 0x00); in _rtl8821ae_dynamic_rqpn()
1560 tmp = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8821ae_dynamic_rqpn()
1562 rtl_write_byte(rtlpriv, REG_CR + 1, tmp); in _rtl8821ae_dynamic_rqpn()
1571 tmp = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8821ae_dynamic_rqpn()
[all …]
/linux/drivers/net/fjes/
A Dfjes_regs.h72 union REG_CR { union
/linux/drivers/staging/r8188eu/hal/
A Dusb_halinit.c103 rtw_write16(adapt, REG_CR, 0x00); /* suggseted by zhouzhou, by page, 20111230 */ in rtl8188eu_InitPowerOn()
106 value16 = rtw_read16(adapt, REG_CR); in rtl8188eu_InitPowerOn()
111 rtw_write16(adapt, REG_CR, value16); in rtl8188eu_InitPowerOn()
324 value32 = rtw_read32(Adapter, REG_CR); in _InitNetworkType()
328 rtw_write32(Adapter, REG_CR, value32); in _InitNetworkType()
561 haldata->RegCR_1 = rtw_read8(Adapter, REG_CR + 1); in _InitBeaconParameters()
742 value16 = rtw_read16(Adapter, REG_CR); in rtl8188eu_hal_init()
744 rtw_write8(Adapter, REG_CR, value16); in rtl8188eu_hal_init()
877 rtw_write8(Adapter, REG_CR, 0x0); in CardDisableRTL8188EU()
A Drtl8188e_cmd.c568 rtw_write8(adapt, REG_CR + 1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd()
638 rtw_write8(adapt, REG_CR + 1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
A 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()
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()
1230 rtl_write_byte(rtlpriv, REG_CR, 0xFF); in _rtl8192ee_reset_pcie_interface_dma()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
A 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 …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A 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()
A Dreg.h76 #define REG_CR 0x0100 macro
327 #define MSR (REG_CR + 2)
/linux/drivers/net/can/sja1000/
A Dplx_pci.c87 #define REG_CR 0x00 macro
420 if ((priv->read_reg(priv, REG_CR) & REG_CR_BASICCAN_INITIAL_MASK) == in plx_pci_check_sja1000()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
A 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
A 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
A 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()
1833 rtl_write_byte(rtlpriv, REG_CR + 1, 0x03); in rtl92cu_set_hw_reg()
1850 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92cu_set_hw_reg()
/linux/drivers/staging/r8188eu/include/
A Drtl8188e_spec.h93 #define REG_CR 0x0100 macro
395 #define MSR (REG_CR + 2) /* Media Status reg */

Completed in 78 milliseconds

12