Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rtl8712/
Dusb_halinit.c34 r8712_write8(adapter, SYS_CLKR, val8); in r8712_usb_hal_bus_init()
74 val8 = r8712_read8(adapter, SYS_CLKR + 1); in r8712_usb_hal_bus_init()
77 r8712_write8(adapter, SYS_CLKR + 1, val8); in r8712_usb_hal_bus_init()
85 val8 = r8712_read8(adapter, SYS_CLKR + 1); in r8712_usb_hal_bus_init()
88 r8712_write8(adapter, SYS_CLKR + 1, val8); in r8712_usb_hal_bus_init()
136 val8 = r8712_read8(adapter, SYS_CLKR); in r8712_usb_hal_bus_init()
137 r8712_write8(adapter, SYS_CLKR, val8 & (~SYS_CLKSEL)); in r8712_usb_hal_bus_init()
139 val8 = r8712_read8(adapter, SYS_CLKR); in r8712_usb_hal_bus_init()
141 val8 = r8712_read8(adapter, SYS_CLKR + 1); in r8712_usb_hal_bus_init()
142 r8712_write8(adapter, SYS_CLKR + 1, (val8 | 0x18)); in r8712_usb_hal_bus_init()
[all …]
Dhal_init.c249 tmp8 = r8712_read8(adapter, SYS_CLKR); in rtl8712_dl_fw()
250 r8712_write8(adapter, SYS_CLKR, tmp8 | BIT(2)); in rtl8712_dl_fw()
251 tmp8_a = r8712_read8(adapter, SYS_CLKR); in rtl8712_dl_fw()
369 r8712_write8(padapter, SYS_CLKR + 1, 0x38); /* Switch Control Path */ in rtl8712_hal_deinit()
Drtl8712_syscfg_regdef.h20 #define SYS_CLKR (RTL8712_SYSCFG_ + 0x0008) macro
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c452 rtl_write_byte(rtlpriv, SYS_CLKR + 1, data); in _rtl92se_halset_sysclk()
458 tmpvalue = rtl_read_byte(rtlpriv, SYS_CLKR + 1); in _rtl92se_halset_sysclk()
468 tmpvalue = rtl_read_byte(rtlpriv, SYS_CLKR + 1); in _rtl92se_halset_sysclk()
549 tmpu1b = rtl_read_byte(rtlpriv, (SYS_CLKR + 1)); in _rtl92se_macconfig_before_fwdownload()
638 tmpu2b = rtl_read_word(rtlpriv, SYS_CLKR); in _rtl92se_macconfig_before_fwdownload()
639 rtl_write_word(rtlpriv, SYS_CLKR, (tmpu2b | BIT(12) | BIT(11))); in _rtl92se_macconfig_before_fwdownload()
652 tmpu2b = rtl_read_word(rtlpriv, SYS_CLKR); in _rtl92se_macconfig_before_fwdownload()
653 rtl_write_word(rtlpriv, SYS_CLKR, (tmpu2b & (~BIT(2)))); in _rtl92se_macconfig_before_fwdownload()
655 tmpu1b = rtl_read_byte(rtlpriv, (SYS_CLKR + 1)); in _rtl92se_macconfig_before_fwdownload()
1262 rtl_write_byte(rtlpriv, SYS_CLKR + 1, data); in _rtl92s_set_sysclk()
[all …]
Dfw.c31 tmpu1b = rtl_read_byte(rtlpriv, SYS_CLKR); in _rtl92s_firmware_enable_cpu()
33 rtl_write_byte(rtlpriv, SYS_CLKR, (tmpu1b | SYS_CPU_CLKSEL)); in _rtl92s_firmware_enable_cpu()
Dsw.c292 .maps[SYS_CLK] = SYS_CLKR,
Dreg.h11 #define SYS_CLKR 0x0008 macro