Home
last modified time | relevance | path

Searched refs:LIGHTBAR_WELCOME (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/platform/x86/uniwill/
H A Duniwill-acpi.c170 #define LIGHTBAR_WELCOME BIT(7) // Rainbow animation macro
914 value = LIGHTBAR_WELCOME; in rainbow_animation_store()
920 ret = regmap_update_bits(data->regmap, EC_ADDR_LIGHTBAR_AC_CTRL, LIGHTBAR_WELCOME, value); in rainbow_animation_store()
924 ret = regmap_update_bits(data->regmap, EC_ADDR_LIGHTBAR_BAT_CTRL, LIGHTBAR_WELCOME, value); in rainbow_animation_store()
941 return sysfs_emit(buf, "%d\n", !!(value & LIGHTBAR_WELCOME)); in rainbow_animation_show()
1542 #define LIGHTBAR_MASK (LIGHTBAR_APP_EXISTS | LIGHTBAR_S0_OFF | LIGHTBAR_S3_OFF | LIGHTBAR_WELCOME)