Home
last modified time | relevance | path

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

12

/drivers/i2c/busses/
Di2c-wmt.c27 #define REG_CR 0x00 macro
153 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write()
155 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write()
157 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write()
159 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write()
174 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write()
176 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write()
200 writew(val, i2c_dev->base + REG_CR); in wmt_i2c_write()
206 writew(CR_ENABLE, i2c_dev->base + REG_CR); in wmt_i2c_write()
210 writew(CR_CPU_RDY | CR_ENABLE, i2c_dev->base + REG_CR); in wmt_i2c_write()
[all …]
/drivers/staging/rtl8723au/hal/
Drtl8723a_cmd.c587 v8 = rtl8723au_read8(padapter, REG_CR+1); in rtl8723a_set_FwJoinBssReport_cmd()
589 rtl8723au_write8(padapter, REG_CR+1, v8); in rtl8723a_set_FwJoinBssReport_cmd()
624 v8 = rtl8723au_read8(padapter, REG_CR+1); in rtl8723a_set_FwJoinBssReport_cmd()
626 rtl8723au_write8(padapter, REG_CR+1, v8); in rtl8723a_set_FwJoinBssReport_cmd()
Dusb_halinit.c105 value16 = rtl8723au_read16(padapter, REG_CR); in _InitPowerOn()
109 rtl8723au_write16(padapter, REG_CR, value16); in _InitPowerOn()
517 val8 = rtl8723au_read8(Adapter, REG_CR); in rtl8723au_hal_init()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c318 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8821ae_download_rsvd_page()
319 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr | BIT(0))); in _rtl8821ae_download_rsvd_page()
404 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8821ae_download_rsvd_page()
405 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr & ~(BIT(0)))); in _rtl8821ae_download_rsvd_page()
957 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8821ae_init_mac()
959 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8821ae_init_mac()
979 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8821ae_init_mac()
1210 tmp = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl8821ae_enable_hw_security_config()
1211 rtl_write_byte(rtlpriv, REG_CR + 1, tmp | BIT(1)); in rtl8821ae_enable_hw_security_config()
1307 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8821ae_reset_pcie_interface_dma()
[all …]
/drivers/staging/rtl8188eu/hal/
Dusb_halinit.c119 usb_write16(adapt, REG_CR, 0x00); /* suggseted by zhouzhou, by page, 20111230 */ in rtl8188eu_InitPowerOn()
122 value16 = usb_read16(adapt, REG_CR); in rtl8188eu_InitPowerOn()
127 usb_write16(adapt, REG_CR, value16); in rtl8188eu_InitPowerOn()
343 value32 = usb_read32(Adapter, REG_CR); in _InitNetworkType()
347 usb_write32(Adapter, REG_CR, value32); in _InitNetworkType()
604 haldata->RegCR_1 = usb_read8(Adapter, REG_CR+1); in _InitBeaconParameters()
798 value16 = usb_read16(Adapter, REG_CR); in rtl8188eu_hal_init()
800 usb_write8(Adapter, REG_CR, value16); in rtl8188eu_hal_init()
924 usb_write8(Adapter, REG_CR, 0x0); in CardDisableRTL8188EU()
Drtl8188e_cmd.c581 usb_write8(adapt, REG_CR+1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd()
651 usb_write8(adapt, REG_CR+1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd()
/drivers/net/fjes/
Dfjes_regs.h87 union REG_CR { union
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c357 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl92ee_download_rsvd_page()
358 rtl_write_byte(rtlpriv, REG_CR + 1, tmp_regcr | BIT(0)); in _rtl92ee_download_rsvd_page()
423 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl92ee_download_rsvd_page()
424 rtl_write_byte(rtlpriv, REG_CR + 1, tmp_regcr & (~BIT(0))); in _rtl92ee_download_rsvd_page()
800 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl92ee_init_mac()
802 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl92ee_init_mac()
814 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92ee_init_mac()
1131 tmp = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl92ee_enable_hw_security_config()
1132 rtl_write_byte(rtlpriv, REG_CR + 1, tmp | BIT(1)); in rtl92ee_enable_hw_security_config()
1210 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8192ee_reset_pcie_interface_dma()
[all …]
Dreg.h87 #define REG_CR 0x0100 macro
381 #define MSR (REG_CR + 2)
933 #define REG_LBMODE (REG_CR + 3)
/drivers/isdn/i4l/
Disdn_tty.h25 #define REG_CR 3 macro
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c365 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8723be_download_rsvd_page()
366 rtl_write_byte(rtlpriv, REG_CR + 1, in _rtl8723be_download_rsvd_page()
404 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in _rtl8723be_download_rsvd_page()
405 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr & ~(BIT(0)))); in _rtl8723be_download_rsvd_page()
855 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8723be_init_mac()
857 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8723be_init_mac()
876 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8723be_init_mac()
1161 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl8723be_enable_hw_security_config()
1282 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8723be_reset_pcie_interface_dma()
1303 rtl_write_byte(rtlpriv, REG_CR, 0xFF); in _rtl8723be_reset_pcie_interface_dma()
[all …]
Dreg.h102 #define REG_CR 0x0100 macro
366 #define MSR (REG_CR + 2)
966 #define REG_LBMODE (REG_CR + 3)
/drivers/net/can/sja1000/
Dplx_pci.c103 #define REG_CR 0x00 macro
369 if ((priv->read_reg(priv, REG_CR) & REG_CR_BASICCAN_INITIAL_MASK) == in plx_pci_check_sja1000()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c445 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl8723e_set_hw_reg()
446 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl8723e_set_hw_reg()
471 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl8723e_set_hw_reg()
607 rtl_write_byte(rtlpriv, REG_CR, 0x8B); in _rtl8723e_llt_table_init()
655 rtl_write_byte(rtlpriv, REG_CR, 0xff); in _rtl8723e_llt_table_init()
692 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8712e_init_mac()
732 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8712e_init_mac()
733 rtl_write_word(rtlpriv, REG_CR + 1, 0x06); in _rtl8712e_init_mac()
924 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl8723e_enable_hw_security_config()
Dreg.h82 #define REG_CR 0x0100 macro
319 #define MSR (REG_CR + 2)
935 #define REG_LBMODE (REG_CR + 3)
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c417 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl92de_set_hw_reg()
418 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92de_set_hw_reg()
435 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92de_set_hw_reg()
698 rtl_write_word(rtlpriv, REG_CR, 0x0); in _rtl92de_init_mac()
701 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92de_init_mac()
896 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92de_enable_hw_security_config()
1360 rtl_write_byte(rtlpriv, REG_CR, 0x0); in rtl92de_card_disable()
Dreg.h102 #define REG_CR 0x0100 macro
353 #define MSR (REG_CR + 2)
/drivers/staging/rtl8723au/include/
Drtl8723a_spec.h90 #define REG_CR 0x0100 macro
437 #define MSR (REG_CR + 2)
1310 #define REG_LBMODE (REG_CR + 3)
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c647 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl88ee_set_hw_reg()
648 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl88ee_set_hw_reg()
694 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl88ee_set_hw_reg()
887 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl88ee_init_mac()
888 rtl_write_byte(rtlpriv, REG_CR+1, 0x06); in _rtl88ee_init_mac()
1049 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl88ee_enable_hw_security_config()
1086 u1byte = rtl_read_byte(rtlpriv, REG_CR); in rtl88ee_hw_init()
Dreg.h95 #define REG_CR 0x0100 macro
351 #define MSR (REG_CR + 2)
971 #define REG_LBMODE (REG_CR + 3)
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.c3625 val8 = rtl8xxxu_read8(priv, REG_CR); in rtl8xxxu_active_to_lps()
3627 rtl8xxxu_write8(priv, REG_CR, val8); in rtl8xxxu_active_to_lps()
3630 val8 = rtl8xxxu_read8(priv, REG_CR + 1); in rtl8xxxu_active_to_lps()
3632 rtl8xxxu_write8(priv, REG_CR + 1, val8); in rtl8xxxu_active_to_lps()
3809 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8723au_power_on()
3815 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8723au_power_on()
3914 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192cu_power_on()
3918 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192cu_power_on()
3999 val8 = rtl8xxxu_read8(priv, REG_CR); in rtl8xxxu_init_device()
5348 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8xxxu_set_key()
[all …]
/drivers/staging/rtl8188eu/include/
Drtl8188e_spec.h109 #define REG_CR 0x0100 macro
411 #define MSR (REG_CR + 2) /* Media Status reg */
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dreg.h93 #define REG_CR 0x0100 macro
337 #define MSR (REG_CR + 2)
896 #define REG_LBMODE (REG_CR + 3)
Dhw.c447 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl92ce_set_hw_reg()
448 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92ce_set_hw_reg()
473 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92ce_set_hw_reg()
739 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92ce_init_mac()
928 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92ce_enable_hw_security_config()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c538 value16 = rtl_read_word(rtlpriv, REG_CR); in _rtl92cu_init_power_on()
541 rtl_write_word(rtlpriv, REG_CR, value16); in _rtl92cu_init_power_on()
941 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92cu_enable_hw_security_config()
1894 rtl_write_byte(rtlpriv, REG_CR + 1, 0x03); in rtl92cu_set_hw_reg()
1911 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl92cu_set_hw_reg()

12