Lines Matching refs:ledcfg
19 u8 ledcfg; in rtl8723e_sw_led_on() local
29 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723e_sw_led_on()
30 ledcfg &= ~BIT(6); in rtl8723e_sw_led_on()
32 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723e_sw_led_on()
35 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723e_sw_led_on()
36 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723e_sw_led_on()
49 u8 ledcfg; in rtl8723e_sw_led_off() local
54 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723e_sw_led_off()
60 ledcfg &= 0xf0; in rtl8723e_sw_led_off()
62 ledcfg &= 0x90; /* Set to software control. */ in rtl8723e_sw_led_off()
63 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723e_sw_led_off()
64 ledcfg = rtl_read_byte(rtlpriv, REG_MAC_PINMUX_CFG); in rtl8723e_sw_led_off()
65 ledcfg &= 0xFE; in rtl8723e_sw_led_off()
66 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8723e_sw_led_off()
68 ledcfg &= ~BIT(6); in rtl8723e_sw_led_off()
70 (ledcfg | BIT(3) | BIT(5))); in rtl8723e_sw_led_off()
74 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723e_sw_led_off()
75 ledcfg &= 0x10; /* Set to software control. */ in rtl8723e_sw_led_off()
76 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg|BIT(3)); in rtl8723e_sw_led_off()