Home
last modified time | relevance | path

Searched refs:LEDCFG (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dled.c53 LEDCFG, pled->ledpin); in rtl92se_sw_led_on()
55 ledcfg = rtl_read_byte(rtlpriv, LEDCFG); in rtl92se_sw_led_on()
61 rtl_write_byte(rtlpriv, LEDCFG, ledcfg & 0xf0); in rtl92se_sw_led_on()
64 rtl_write_byte(rtlpriv, LEDCFG, ledcfg & 0x0f); in rtl92se_sw_led_on()
83 LEDCFG, pled->ledpin); in rtl92se_sw_led_off()
85 ledcfg = rtl_read_byte(rtlpriv, LEDCFG); in rtl92se_sw_led_off()
93 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(1))); in rtl92se_sw_led_off()
95 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(3))); in rtl92se_sw_led_off()
99 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(3))); in rtl92se_sw_led_off()
Dreg.h250 #define LEDCFG 0x02F2 macro
/Linux-v4.19/drivers/staging/rtl8712/
Drtl8712_gp_regdef.h36 #define LEDCFG (RTL8712_GP_ + 0x12) macro
Drtl8712_led.c126 LedCfg = r8712_read8(padapter, LEDCFG); in SwLedOn()
132 r8712_write8(padapter, LEDCFG, LedCfg & 0xf0); in SwLedOn()
136 r8712_write8(padapter, LEDCFG, LedCfg & 0x0f); in SwLedOn()
154 LedCfg = r8712_read8(padapter, LEDCFG); in SwLedOff()
160 r8712_write8(padapter, LEDCFG, (LedCfg | BIT(3))); in SwLedOff()
164 r8712_write8(padapter, LEDCFG, (LedCfg | BIT(7))); in SwLedOff()