Lines Matching refs:ledcfg
19 u8 ledcfg; in rtl8723be_sw_led_on() local
29 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_on()
30 ledcfg &= ~BIT(6); in rtl8723be_sw_led_on()
31 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723be_sw_led_on()
34 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723be_sw_led_on()
35 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723be_sw_led_on()
48 u8 ledcfg; in rtl8723be_sw_led_off() local
53 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_off()
59 ledcfg &= 0xf0; in rtl8723be_sw_led_off()
61 ledcfg &= 0x90; /* Set to software control. */ in rtl8723be_sw_led_off()
62 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723be_sw_led_off()
63 ledcfg = rtl_read_byte(rtlpriv, REG_MAC_PINMUX_CFG); in rtl8723be_sw_led_off()
64 ledcfg &= 0xFE; in rtl8723be_sw_led_off()
65 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8723be_sw_led_off()
67 ledcfg &= ~BIT(6); in rtl8723be_sw_led_off()
69 (ledcfg | BIT(3) | BIT(5))); in rtl8723be_sw_led_off()
73 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723be_sw_led_off()
74 ledcfg &= 0x10; /* Set to software control. */ in rtl8723be_sw_led_off()
75 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg|BIT(3)); in rtl8723be_sw_led_off()