Searched refs:backlight_map (Results 1 - 1 of 1) sorted by last modified time

/linux-master/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++) {
145 if (backlight_map[level] == ret) {
147 backlight_map[level], level);
151 if (level == ARRAY_SIZE(backlight_map)) {
161 if (bright >= ARRAY_SIZE(backlight_map) || bright < 0)
165 return msi_wmi_set_block(0, backlight_map[bright]);
236 props.max_brightness = ARRAY_SIZE(backlight_map) - 1;

Completed in 280 milliseconds