Lines Matching refs:ledcfg
41 u8 ledcfg; in rtl8723be_sw_led_on() local
51 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_on()
52 ledcfg &= ~BIT(6); in rtl8723be_sw_led_on()
53 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723be_sw_led_on()
56 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723be_sw_led_on()
57 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723be_sw_led_on()
70 u8 ledcfg; in rtl8723be_sw_led_off() local
75 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_off()
81 ledcfg &= 0xf0; in rtl8723be_sw_led_off()
83 ledcfg &= 0x90; /* Set to software control. */ in rtl8723be_sw_led_off()
84 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723be_sw_led_off()
85 ledcfg = rtl_read_byte(rtlpriv, REG_MAC_PINMUX_CFG); in rtl8723be_sw_led_off()
86 ledcfg &= 0xFE; in rtl8723be_sw_led_off()
87 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8723be_sw_led_off()
89 ledcfg &= ~BIT(6); in rtl8723be_sw_led_off()
91 (ledcfg | BIT(3) | BIT(5))); in rtl8723be_sw_led_off()
95 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723be_sw_led_off()
96 ledcfg &= 0x10; /* Set to software control. */ in rtl8723be_sw_led_off()
97 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg|BIT(3)); in rtl8723be_sw_led_off()