Lines Matching refs:ledcfg
45 u8 ledcfg; in rtl92de_sw_led_on() local
55 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_on()
61 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
64 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
68 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl92de_sw_led_on()
70 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92de_sw_led_on()
84 u8 ledcfg; in rtl92de_sw_led_off() local
89 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_off()
95 ledcfg &= 0xf0; in rtl92de_sw_led_off()
98 (ledcfg | BIT(1) | BIT(5) | BIT(6))); in rtl92de_sw_led_off()
101 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl92de_sw_led_off()
104 ledcfg &= 0x0f; in rtl92de_sw_led_off()
105 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92de_sw_led_off()