Lines Matching refs:ledcfg
41 u8 ledcfg; in rtl92de_sw_led_on() local
51 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_on()
57 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
60 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
64 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl92de_sw_led_on()
66 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92de_sw_led_on()
79 u8 ledcfg; in rtl92de_sw_led_off() local
84 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_off()
90 ledcfg &= 0xf0; in rtl92de_sw_led_off()
93 (ledcfg | BIT(1) | BIT(5) | BIT(6))); in rtl92de_sw_led_off()
96 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl92de_sw_led_off()
99 ledcfg &= 0x0f; in rtl92de_sw_led_off()
100 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92de_sw_led_off()