Home
last modified time | relevance | path

Searched refs:SYS_CLKR (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8712/
Dusb_halinit.c46 r8712_write8(padapter, SYS_CLKR, val8); in r8712_usb_hal_bus_init()
86 val8 = r8712_read8(padapter, SYS_CLKR + 1); in r8712_usb_hal_bus_init()
89 r8712_write8(padapter, SYS_CLKR + 1, val8); in r8712_usb_hal_bus_init()
97 val8 = r8712_read8(padapter, SYS_CLKR + 1); in r8712_usb_hal_bus_init()
100 r8712_write8(padapter, SYS_CLKR + 1, val8); in r8712_usb_hal_bus_init()
148 val8 = r8712_read8(padapter, SYS_CLKR); in r8712_usb_hal_bus_init()
149 r8712_write8(padapter, SYS_CLKR, val8 & (~SYS_CLKSEL)); in r8712_usb_hal_bus_init()
151 val8 = r8712_read8(padapter, SYS_CLKR); in r8712_usb_hal_bus_init()
153 val8 = r8712_read8(padapter, SYS_CLKR + 1); in r8712_usb_hal_bus_init()
154 r8712_write8(padapter, SYS_CLKR + 1, (val8 | 0x18)); in r8712_usb_hal_bus_init()
[all …]
Dhal_init.c245 tmp8 = r8712_read8(padapter, SYS_CLKR); in rtl8712_dl_fw()
246 r8712_write8(padapter, SYS_CLKR, tmp8 | BIT(2)); in rtl8712_dl_fw()
247 tmp8_a = r8712_read8(padapter, SYS_CLKR); in rtl8712_dl_fw()
365 r8712_write8(padapter, SYS_CLKR + 1, 0x38); /* Switch Control Path */ in rtl8712_hal_deinit()
Drtl8712_syscfg_regdef.h33 #define SYS_CLKR (RTL8712_SYSCFG_ + 0x0008) macro
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c474 rtl_write_byte(rtlpriv, SYS_CLKR + 1, data); in _rtl92se_halset_sysclk()
480 tmpvalue = rtl_read_byte(rtlpriv, SYS_CLKR + 1); in _rtl92se_halset_sysclk()
490 tmpvalue = rtl_read_byte(rtlpriv, SYS_CLKR + 1); in _rtl92se_halset_sysclk()
571 tmpu1b = rtl_read_byte(rtlpriv, (SYS_CLKR + 1)); in _rtl92se_macconfig_before_fwdownload()
660 tmpu2b = rtl_read_word(rtlpriv, SYS_CLKR); in _rtl92se_macconfig_before_fwdownload()
661 rtl_write_word(rtlpriv, SYS_CLKR, (tmpu2b | BIT(12) | BIT(11))); in _rtl92se_macconfig_before_fwdownload()
674 tmpu2b = rtl_read_word(rtlpriv, SYS_CLKR); in _rtl92se_macconfig_before_fwdownload()
675 rtl_write_word(rtlpriv, SYS_CLKR, (tmpu2b & (~BIT(2)))); in _rtl92se_macconfig_before_fwdownload()
677 tmpu1b = rtl_read_byte(rtlpriv, (SYS_CLKR + 1)); in _rtl92se_macconfig_before_fwdownload()
1285 rtl_write_byte(rtlpriv, SYS_CLKR + 1, data); in _rtl92s_set_sysclk()
[all …]
Dfw.c53 tmpu1b = rtl_read_byte(rtlpriv, SYS_CLKR); in _rtl92s_firmware_enable_cpu()
55 rtl_write_byte(rtlpriv, SYS_CLKR, (tmpu1b | SYS_CPU_CLKSEL)); in _rtl92s_firmware_enable_cpu()
Dsw.c317 .maps[SYS_CLK] = SYS_CLKR,
Dreg.h32 #define SYS_CLKR 0x0008 macro