Lines Matching refs:ledcfg
41 u8 ledcfg; in rtl92ce_sw_led_on() local
47 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92ce_sw_led_on()
54 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl92ce_sw_led_on()
57 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92ce_sw_led_on()
70 u8 ledcfg; in rtl92ce_sw_led_off() local
75 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92ce_sw_led_off()
81 ledcfg &= 0xf0; in rtl92ce_sw_led_off()
84 (ledcfg | BIT(1) | BIT(5) | BIT(6))); in rtl92ce_sw_led_off()
87 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl92ce_sw_led_off()
90 ledcfg &= 0x0f; in rtl92ce_sw_led_off()
91 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92ce_sw_led_off()