/linux-6.6.21/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.6.21/drivers/tty/serial/ ! |
D | amba-pl011.c | 65 REG_CR, enumerator 93 [REG_CR] = UART011_CR, 181 [REG_CR] = UART011_CR, 1309 cr = pl011_read(uap, REG_CR); in pl011_rs485_tx_stop() 1319 pl011_write(cr, uap, REG_CR); in pl011_rs485_tx_stop() 1354 cr = pl011_read(uap, REG_CR); in pl011_rs485_tx_start() 1366 pl011_write(cr, uap, REG_CR); in pl011_rs485_tx_start() 1626 cr = pl011_read(uap, REG_CR); in pl011_set_mctrl() 1646 pl011_write(cr, uap, REG_CR); in pl011_set_mctrl() 1862 cr = pl011_read(uap, REG_CR); in pl011_startup() [all …]
|
/linux-6.6.21/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.6.21/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 | 290 if (rtw_read8(rtwdev, REG_CR) == 0xea) in rtw_mac_power_switch() 348 rtw_write8(rtwdev, REG_CR, 0xff); in __rtw_mac_init_system_cfg_legacy() 356 rtw_write16(rtwdev, REG_CR, 0x2ff); in __rtw_mac_init_system_cfg_legacy() 466 bckp[bckp_idx].reg = REG_CR; in download_firmware_reg_backup() 467 bckp[bckp_idx].val = rtw_read8(rtwdev, REG_CR); in download_firmware_reg_backup() 474 rtw_write8(rtwdev, REG_CR, tmp); in download_firmware_reg_backup() 1101 rtw_write8(rtwdev, REG_CR, 0); in txdma_queue_mapping() 1102 rtw_write8(rtwdev, REG_CR, MAC_TRX_ENABLE); in txdma_queue_mapping() 1195 rtw_write8(rtwdev, REG_CR + 3, 0); in __priority_queue_cfg()
|
D | reg.h | 164 #define REG_CR 0x0100 macro 222 #define REG_CR 0x0100 macro
|
/linux-6.6.21/drivers/net/wireless/realtek/rtl8xxxu/ ! |
D | rtl8xxxu_8710b.c | 1611 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8710bu_active_to_lps() 1615 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8710bu_active_to_lps() 1656 rtl8xxxu_write16(priv, REG_CR, 0); in rtl8710bu_power_on() 1658 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8710bu_power_on() 1664 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8710bu_power_on() 1707 rtl8xxxu_write8(priv, REG_CR, 0x00); in rtl8710bu_power_off() 1769 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8710b_usb_quirks() 1771 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8710b_usb_quirks()
|
D | rtl8xxxu_8192e.c | 1495 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_active_to_lps() 1498 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_active_to_lps() 1500 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_active_to_lps() 1502 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_active_to_lps() 1593 rtl8xxxu_write16(priv, REG_CR, 0x0000); in rtl8192eu_power_on() 1599 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_power_on() 1605 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_power_on()
|
D | rtl8xxxu_8188f.c | 1501 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8188fu_active_to_lps() 1504 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188fu_active_to_lps() 1526 rtl8xxxu_write8(priv, REG_CR, 0); in rtl8188fu_power_on() 1528 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8188fu_power_on() 1534 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188fu_power_on() 1639 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8188f_usb_quirks() 1641 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188f_usb_quirks()
|
D | rtl8xxxu_8192c.c | 567 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192cu_power_on() 571 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192cu_power_on()
|
D | rtl8xxxu_8192f.c | 1835 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192fu_active_to_lps() 1839 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192fu_active_to_lps() 1860 rtl8xxxu_write16(priv, REG_CR, 0); in rtl8192fu_power_on() 1862 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192fu_power_on() 1868 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192fu_power_on() 1882 rtl8xxxu_write8(priv, REG_CR, 0x00); in rtl8192fu_power_off() 1948 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192f_usb_quirks() 1950 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192f_usb_quirks()
|
D | rtl8xxxu_8723a.c | 388 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8723au_power_on() 394 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8723au_power_on()
|
D | rtl8xxxu_8188e.c | 1168 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8188eu_active_to_lps() 1171 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188eu_active_to_lps() 1205 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188eu_power_on() 1315 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8188e_usb_quirks() 1317 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8188e_usb_quirks()
|
/linux-6.6.21/drivers/net/fjes/ ! |
D | fjes_regs.h | 72 union REG_CR { union
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ ! |
D | hw.c | 300 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() 934 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8821ae_init_mac() 936 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8821ae_init_mac() 956 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8821ae_init_mac() 1187 tmp = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl8821ae_enable_hw_security_config() 1188 rtl_write_byte(rtlpriv, REG_CR + 1, tmp | BIT(1)); in rtl8821ae_enable_hw_security_config() 1284 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8821ae_reset_pcie_interface_dma() [all …]
|
/linux-6.6.21/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.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ ! |
D | hw.c | 350 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() 841 bytetmp = rtl_read_byte(rtlpriv, REG_CR); in _rtl8723be_init_mac() 843 rtl_write_byte(rtlpriv, REG_CR, bytetmp); in _rtl8723be_init_mac() 862 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8723be_init_mac() 1147 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl8723be_enable_hw_security_config() 1268 rtl_write_byte(rtlpriv, REG_CR, 0); in _rtl8723be_reset_pcie_interface_dma() 1289 rtl_write_byte(rtlpriv, REG_CR, 0xFF); in _rtl8723be_reset_pcie_interface_dma() [all …]
|
/linux-6.6.21/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.6.21/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.6.21/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() 1324 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.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ ! |
D | hw.c | 633 tmp_regcr = rtl_read_byte(rtlpriv, REG_CR + 1); in rtl88ee_set_hw_reg() 634 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl88ee_set_hw_reg() 680 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl88ee_set_hw_reg() 870 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl88ee_init_mac() 871 rtl_write_byte(rtlpriv, REG_CR+1, 0x06); in _rtl88ee_init_mac() 1028 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl88ee_enable_hw_security_config() 1065 u1byte = rtl_read_byte(rtlpriv, REG_CR); in rtl88ee_hw_init()
|
/linux-6.6.21/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.6.21/drivers/staging/rtl8723bs/include/ ! |
D | hal_com_reg.h | 101 #define REG_CR 0x0100 macro 488 #define MSR (REG_CR + 2) /* Media Status register */
|