Lines Matching refs:ledcfg
11 u8 ledcfg; in rtl8723be_sw_led_on() local
21 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_on()
22 ledcfg &= ~BIT(6); in rtl8723be_sw_led_on()
23 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723be_sw_led_on()
26 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723be_sw_led_on()
27 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723be_sw_led_on()
38 u8 ledcfg; in rtl8723be_sw_led_off() local
43 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_off()
49 ledcfg &= 0xf0; in rtl8723be_sw_led_off()
51 ledcfg &= 0x90; /* Set to software control. */ in rtl8723be_sw_led_off()
52 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723be_sw_led_off()
53 ledcfg = rtl_read_byte(rtlpriv, REG_MAC_PINMUX_CFG); in rtl8723be_sw_led_off()
54 ledcfg &= 0xFE; in rtl8723be_sw_led_off()
55 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8723be_sw_led_off()
57 ledcfg &= ~BIT(6); in rtl8723be_sw_led_off()
59 (ledcfg | BIT(3) | BIT(5))); in rtl8723be_sw_led_off()
63 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723be_sw_led_off()
64 ledcfg &= 0x10; /* Set to software control. */ in rtl8723be_sw_led_off()
65 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg|BIT(3)); in rtl8723be_sw_led_off()