Lines Matching refs:ledcfg
41 u8 ledcfg; in rtl88ee_sw_led_on() local
51 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl88ee_sw_led_on()
53 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl88ee_sw_led_on()
56 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl88ee_sw_led_on()
57 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl88ee_sw_led_on()
70 u8 ledcfg; in rtl88ee_sw_led_off() local
79 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl88ee_sw_led_off()
80 ledcfg &= 0xf0; in rtl88ee_sw_led_off()
83 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl88ee_sw_led_off()
84 ledcfg = rtl_read_byte(rtlpriv, REG_MAC_PINMUX_CFG); in rtl88ee_sw_led_off()
86 (ledcfg & 0xFE)); in rtl88ee_sw_led_off()
89 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl88ee_sw_led_off()
92 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl88ee_sw_led_off()
93 ledcfg &= 0x10; in rtl88ee_sw_led_off()
94 rtl_write_byte(rtlpriv, REG_LEDCFG1, (ledcfg | BIT(3))); in rtl88ee_sw_led_off()