Home
last modified time | relevance | path

Searched refs:REG_LEDCFG2 (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dled.c23 REG_LEDCFG2, pled->ledpin); in rtl92de_sw_led_on()
29 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_on()
35 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
38 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
44 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92de_sw_led_on()
60 REG_LEDCFG2, pled->ledpin); in rtl92de_sw_led_off()
62 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_off()
70 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92de_sw_led_off()
73 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92de_sw_led_off()
78 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92de_sw_led_off()
Dreg.h42 #define REG_LEDCFG2 0x004E macro
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dled.c23 REG_LEDCFG2, pled->ledpin); in rtl92ce_sw_led_on()
25 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92ce_sw_led_on()
32 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl92ce_sw_led_on()
35 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92ce_sw_led_on()
51 REG_LEDCFG2, pled->ledpin); in rtl92ce_sw_led_off()
53 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92ce_sw_led_off()
61 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92ce_sw_led_off()
64 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92ce_sw_led_off()
69 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92ce_sw_led_off()
Dreg.h36 #define REG_LEDCFG2 0x004E macro
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dled.c27 REG_LEDCFG2, pled->ledpin); in rtl92cu_sw_led_on()
28 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92cu_sw_led_on()
34 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl92cu_sw_led_on()
37 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92cu_sw_led_on()
53 REG_LEDCFG2, pled->ledpin); in rtl92cu_sw_led_off()
54 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92cu_sw_led_off()
61 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92cu_sw_led_off()
64 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92cu_sw_led_off()
69 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92cu_sw_led_off()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dled.c24 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8821ae_sw_led_on()
30 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8821ae_sw_led_on()
33 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8821ae_sw_led_on()
59 ledreg = REG_LEDCFG2; in rtl8812ae_sw_led_on()
85 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8821ae_sw_led_off()
87 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8821ae_sw_led_off()
96 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8821ae_sw_led_off()
102 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8821ae_sw_led_off()
130 ledreg = REG_LEDCFG2; in rtl8812ae_sw_led_off()
Dreg.h43 #define REG_LEDCFG2 0x004E macro
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dled.c23 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8723be_sw_led_on()
29 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_on()
31 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723be_sw_led_on()
51 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8723be_sw_led_off()
53 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_off()
62 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723be_sw_led_off()
68 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8723be_sw_led_off()
Dreg.h43 #define REG_LEDCFG2 0x004E macro
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dled.c23 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8723e_sw_led_on()
29 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723e_sw_led_on()
32 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723e_sw_led_on()
52 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8723e_sw_led_off()
54 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723e_sw_led_off()
63 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723e_sw_led_off()
69 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8723e_sw_led_off()
Dreg.h36 #define REG_LEDCFG2 0x004E macro
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dled.c23 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl88ee_sw_led_on()
29 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl88ee_sw_led_on()
31 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl88ee_sw_led_on()
51 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl88ee_sw_led_off()
57 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl88ee_sw_led_off()
60 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl88ee_sw_led_off()
66 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl88ee_sw_led_off()
Dreg.h42 #define REG_LEDCFG2 0x004E macro
/Linux-v5.4/drivers/staging/rtl8188eu/hal/
Drtl8188eu_led.c19 led_cfg = usb_read8(padapter, REG_LEDCFG2); in sw_led_on()
20 usb_write8(padapter, REG_LEDCFG2, (led_cfg & 0xf0) | BIT(5) | BIT(6)); in sw_led_on()
31 led_cfg = usb_read8(padapter, REG_LEDCFG2);/* 0x4E */ in sw_led_off()
35 usb_write8(padapter, REG_LEDCFG2, (led_cfg | BIT(3))); in sw_led_off()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dled.c23 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl92ee_sw_led_on()
54 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl92ee_sw_led_off()
Dreg.h41 #define REG_LEDCFG2 0x004E macro
/Linux-v5.4/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8723a.c305 val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); in rtl8723a_emu_to_active()
308 rtl8xxxu_write8(priv, REG_LEDCFG2, val8); in rtl8723a_emu_to_active()
Drtl8xxxu_regs.h147 #define REG_LEDCFG2 0x004e macro
150 #define REG_LEDCFG REG_LEDCFG2
Drtl8xxxu_8192e.c1464 val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); in rtl8192eu_active_to_emu()
1466 rtl8xxxu_write8(priv, REG_LEDCFG2, val8); in rtl8192eu_active_to_emu()
Drtl8xxxu_core.c3558 val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); in rtl8xxxu_active_to_emu()
3560 rtl8xxxu_write8(priv, REG_LEDCFG2, val8); in rtl8xxxu_active_to_emu()
4163 val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); in rtl8xxxu_init_device()
4165 rtl8xxxu_write8(priv, REG_LEDCFG2, val8); in rtl8xxxu_init_device()
/Linux-v5.4/drivers/staging/rtl8188eu/include/
Drtl8188e_spec.h50 #define REG_LEDCFG2 0x004E macro
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Dhal_com_reg.h64 #define REG_LEDCFG2 0x004E macro
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c2243 val = rtw_read8(padapter, REG_LEDCFG2); in rtl8723b_InitAntenna_Selection()
2246 rtw_write8(padapter, REG_LEDCFG2, val); in rtl8723b_InitAntenna_Selection()