Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dled.c15 REG_LEDCFG2, pin); in rtl92cu_sw_led_on()
16 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92cu_sw_led_on()
22 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl92cu_sw_led_on()
25 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92cu_sw_led_on()
39 REG_LEDCFG2, pin); in rtl92cu_sw_led_off()
40 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92cu_sw_led_off()
47 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92cu_sw_led_off()
50 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92cu_sw_led_off()
55 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92cu_sw_led_off()
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dled.c15 REG_LEDCFG2, pin); in rtl92de_sw_led_on()
21 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_on()
27 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
30 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
36 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92de_sw_led_on()
50 REG_LEDCFG2, pin); in rtl92de_sw_led_off()
52 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_off()
60 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92de_sw_led_off()
63 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92de_sw_led_off()
68 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92de_sw_led_off()
Dreg.h42 #define REG_LEDCFG2 0x004E macro
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dled.c15 REG_LEDCFG2, pin); in rtl92ce_sw_led_on()
17 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92ce_sw_led_on()
24 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl92ce_sw_led_on()
27 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92ce_sw_led_on()
41 REG_LEDCFG2, pin); in rtl92ce_sw_led_off()
43 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92ce_sw_led_off()
51 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92ce_sw_led_off()
54 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92ce_sw_led_off()
59 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92ce_sw_led_off()
Dreg.h36 #define REG_LEDCFG2 0x004E macro
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dled.c15 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pin); in rtl8821ae_sw_led_on()
21 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8821ae_sw_led_on()
24 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8821ae_sw_led_on()
49 ledreg = REG_LEDCFG2; in rtl8812ae_sw_led_on()
74 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pin); in rtl8821ae_sw_led_off()
76 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8821ae_sw_led_off()
85 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8821ae_sw_led_off()
91 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8821ae_sw_led_off()
118 ledreg = REG_LEDCFG2; in rtl8812ae_sw_led_off()
Dreg.h43 #define REG_LEDCFG2 0x004E macro
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dled.c15 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pin); in rtl88ee_sw_led_on()
21 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl88ee_sw_led_on()
23 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl88ee_sw_led_on()
42 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pin); in rtl88ee_sw_led_off()
48 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl88ee_sw_led_off()
51 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl88ee_sw_led_off()
57 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl88ee_sw_led_off()
Dreg.h42 #define REG_LEDCFG2 0x004E macro
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dled.c15 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pin); in rtl8723e_sw_led_on()
21 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723e_sw_led_on()
24 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723e_sw_led_on()
42 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pin); in rtl8723e_sw_led_off()
44 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723e_sw_led_off()
53 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723e_sw_led_off()
59 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8723e_sw_led_off()
Dreg.h36 #define REG_LEDCFG2 0x004E macro
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dled.c15 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pin); in rtl8723be_sw_led_on()
21 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_on()
23 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723be_sw_led_on()
41 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pin); in rtl8723be_sw_led_off()
43 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_off()
52 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723be_sw_led_off()
58 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8723be_sw_led_off()
Dreg.h43 #define REG_LEDCFG2 0x004E macro
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dled.c15 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pin); in rtl92ee_sw_led_on()
45 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pin); in rtl92ee_sw_led_off()
Dreg.h41 #define REG_LEDCFG2 0x004E macro
/Linux-v6.6/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8723a.c350 val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); in rtl8723a_emu_to_active()
353 rtl8xxxu_write8(priv, REG_LEDCFG2, val8); in rtl8723a_emu_to_active()
463 u8 ledcfg = rtl8xxxu_read8(priv, REG_LEDCFG2); in rtl8723au_led_brightness_set()
476 rtl8xxxu_write8(priv, REG_LEDCFG2, ledcfg); in rtl8723au_led_brightness_set()
Drtl8xxxu_regs.h153 #define REG_LEDCFG2 0x004e macro
160 #define REG_LEDCFG REG_LEDCFG2
Drtl8xxxu_8192e.c1523 val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); in rtl8192eu_active_to_emu()
1525 rtl8xxxu_write8(priv, REG_LEDCFG2, val8); in rtl8192eu_active_to_emu()
Drtl8xxxu_8188e.c1356 u8 ledcfg = rtl8xxxu_read8(priv, REG_LEDCFG2); in rtl8188eu_led_brightness_set()
1369 rtl8xxxu_write8(priv, REG_LEDCFG2, ledcfg); in rtl8188eu_led_brightness_set()
Drtl8xxxu_core.c3646 val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); in rtl8xxxu_active_to_emu()
3648 rtl8xxxu_write8(priv, REG_LEDCFG2, val8); in rtl8xxxu_active_to_emu()
4361 val8 = rtl8xxxu_read8(priv, REG_LEDCFG2); in rtl8xxxu_init_device()
4363 rtl8xxxu_write8(priv, REG_LEDCFG2, val8); in rtl8xxxu_init_device()
/Linux-v6.6/drivers/net/wireless/realtek/rtw88/
Dreg.h73 #define REG_LEDCFG2 0x004E macro
Drtw8723d.c187 rtw_write8(rtwdev, REG_LEDCFG2, WLAN_ANT_SEL); in rtw8723d_phy_set_param()
1575 rtw_write8_mask(rtwdev, REG_LEDCFG2, BIT(6), 0); in rtw8723d_coex_cfg_gnt_debug()
/Linux-v6.6/drivers/staging/rtl8723bs/include/
Dhal_com_reg.h64 #define REG_LEDCFG2 0x004E macro
/Linux-v6.6/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c1948 val = rtw_read8(padapter, REG_LEDCFG2); in rtl8723b_InitAntenna_Selection()
1951 rtw_write8(padapter, REG_LEDCFG2, val); in rtl8723b_InitAntenna_Selection()