Searched refs:kbd_info (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/platform/x86/
H A Ddell-laptop.c988 struct kbd_info { struct
1020 static struct kbd_info kbd_info; variable in typeref:struct:kbd_info
1035 * Second, via kbd_state.level (assigning numerical value <= kbd_info.levels).
1041 * tokens. If kbd_info.levels == 0, the machine does not support setting the
1045 static int kbd_get_info(struct kbd_info *info) kbd_get_info()
1083 if (kbd_info.levels != 0) kbd_get_max_level()
1084 return kbd_info.levels; kbd_get_max_level()
1094 if (kbd_info.levels != 0) kbd_get_level()
1109 if (kbd_info.levels != 0) { kbd_set_level()
1277 ret = kbd_get_info(&kbd_info); kbd_init_info()
1284 if (kbd_info.seconds > 63) kbd_init_info()
1285 kbd_info.seconds = 63; kbd_init_info()
1286 if (kbd_info.minutes > 63) kbd_init_info()
1287 kbd_info.minutes = 63; kbd_init_info()
1288 if (kbd_info.hours > 63) kbd_init_info()
1289 kbd_info.hours = 63; kbd_init_info()
1290 if (kbd_info.days > 63) kbd_init_info()
1291 kbd_info.days = 63; kbd_init_info()
1296 kbd_info.modes &= ~BIT(KBD_MODE_BIT_ON); kbd_init_info()
1306 ffs(kbd_info.modes & ~BIT(KBD_MODE_BIT_OFF)); kbd_init_info()
1311 if (kbd_info.modes & (BIT(KBD_MODE_BIT_ALS) | kbd_init_info()
1315 if (kbd_info.modes & ( kbd_init_info()
1324 if (kbd_is_level_mode_bit(i) && (BIT(i) & kbd_info.modes)) kbd_init_info()
1334 if (BIT(i) & kbd_info.modes) { kbd_init_info()
1392 if (value > kbd_info.seconds) kbd_led_timeout_store()
1397 if (value > kbd_info.minutes) kbd_led_timeout_store()
1402 if (value > kbd_info.hours) kbd_led_timeout_store()
1407 if (value > kbd_info.days) kbd_led_timeout_store()
1439 if (value <= kbd_info.seconds && kbd_info.seconds) { kbd_led_timeout_store()
1441 } else if (value / 60 <= kbd_info.minutes && kbd_info.minutes) { kbd_led_timeout_store()
1444 } else if (value / (60 * 60) <= kbd_info.hours && kbd_info.hours) { kbd_led_timeout_store()
1447 } else if (value / (60 * 60 * 24) <= kbd_info.days && kbd_info.days) { kbd_led_timeout_store()
1536 if (!(kbd_info.triggers & BIT(i))) kbd_led_triggers_store()
1565 if ((kbd_info.triggers & new_state.triggers) != kbd_led_triggers_store()
1574 if (!(kbd_info.modes & BIT(new_state.mode_bit))) kbd_led_triggers_store()
1605 if (!(kbd_info.triggers & BIT(i))) kbd_led_triggers_show()
1666 if (!(kbd_info.modes & BIT(new_state.mode_bit))) kbd_led_als_enabled_store()

Completed in 43 milliseconds