Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/
H A Dmsi-wmi.c87 static int backlight_map[] = { 0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF }; variable
144 for (level = 0; level < ARRAY_SIZE(backlight_map); level++) { in bl_get()
145 if (backlight_map[level] == ret) { in bl_get()
147 backlight_map[level], level); in bl_get()
151 if (level == ARRAY_SIZE(backlight_map)) { in bl_get()
161 if (bright >= ARRAY_SIZE(backlight_map) || bright < 0) in bl_set_status()
165 return msi_wmi_set_block(0, backlight_map[bright]); in bl_set_status()
236 props.max_brightness = ARRAY_SIZE(backlight_map) - 1; in msi_wmi_backlight_setup()