Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/efi_loader/
H A Defi_console.c468 void set_shift_mask(int mod, struct efi_key_state *key_state) in set_shift_mask() argument
470 key_state->key_shift_state = EFI_SHIFT_STATE_VALID; in set_shift_mask()
474 key_state->key_shift_state |= EFI_LEFT_SHIFT_PRESSED; in set_shift_mask()
476 key_state->key_shift_state |= EFI_LEFT_ALT_PRESSED; in set_shift_mask()
478 key_state->key_shift_state |= EFI_LEFT_CONTROL_PRESSED; in set_shift_mask()
480 key_state->key_shift_state |= EFI_LEFT_LOGO_PRESSED; in set_shift_mask()
482 key_state->key_shift_state |= EFI_LEFT_LOGO_PRESSED; in set_shift_mask()
494 static int analyze_modifiers(struct efi_key_state *key_state) in analyze_modifiers() argument
520 set_shift_mask(mod, key_state); in analyze_modifiers()
543 key->key_state.key_shift_state = EFI_SHIFT_STATE_INVALID; in efi_cin_read_key()
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_textinputex.c59 .key_state = { in setup()
164 if (input_key.key_state.key_shift_state & in execute()
166 if (input_key.key_state.key_shift_state & in execute()
169 if (input_key.key_state.key_shift_state & in execute()
172 if (input_key.key_state.key_shift_state & in execute()
176 if (input_key.key_state.key_shift_state & in execute()
179 if (input_key.key_state.key_shift_state == in execute()
/openbmc/linux/drivers/platform/mellanox/
H A Dmlxbf-bootctl.c291 int burnt, valid, key, key_state, buf_len = 0, upper_key_used = 0; in secure_boot_fuse_state_show() local
294 key_state = mlxbf_bootctl_smc(MLXBF_BOOTCTL_GET_TBB_FUSE_STATUS, in secure_boot_fuse_state_show()
296 if (key_state < 0) in secure_boot_fuse_state_show()
297 return key_state; in secure_boot_fuse_state_show()
318 burnt = key_state & BIT(key); in secure_boot_fuse_state_show()
319 valid = key_state & BIT(key + MLXBF_SB_KEY_NUM); in secure_boot_fuse_state_show()
/openbmc/linux/drivers/input/keyboard/
H A Dtwl4030_keypad.c177 static bool twl4030_is_in_ghost_state(struct twl4030_keypad *kp, u16 *key_state) in twl4030_is_in_ghost_state() argument
183 u16 col = key_state[i]; in twl4030_is_in_ghost_state()
/openbmc/linux/include/linux/
H A Dkey.h182 enum key_state { enum
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.h602 u8 key_state; member
H A Dipw2200.c4834 x->key_state, x->security_type, in ipw_rx_notification()
/openbmc/u-boot/include/
H A Defi_api.h628 struct efi_key_state key_state; member