Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/platform/loongarch/
Dloongson-laptop.c57 static struct key_entry hotkey_keycode_map[GENERIC_HOTKEY_MAP_MAX]; variable
290 hotkey_keycode_map[index].type = element->integer.value; in hotkey_map()
292 hotkey_keycode_map[index].code = element->integer.value; in hotkey_map()
294 hotkey_keycode_map[index].keycode = element->integer.value; in hotkey_map()
447 ret = sparse_keymap_setup(generic_inputdev, hotkey_keycode_map, NULL); in event_init()
/Linux-v6.6/drivers/platform/x86/
Dthinkpad_acpi.c1902 static u16 *hotkey_keycode_map; variable
2240 const unsigned int keycode = hotkey_keycode_map[scancode]; in tpacpi_input_send_key()
3062 if (hotkey_keycode_map[scancode] != KEY_RESERVED) { in hotkey_unmap()
3063 clear_bit(hotkey_keycode_map[scancode], in hotkey_unmap()
3065 hotkey_keycode_map[scancode] = KEY_RESERVED; in hotkey_unmap()
3508 hotkey_keycode_map = kmemdup(&tpacpi_keymaps[keymap_id], in hotkey_init()
3510 if (!hotkey_keycode_map) { in hotkey_init()
3518 tpacpi_inputdev->keycode = hotkey_keycode_map; in hotkey_init()
3520 if (hotkey_keycode_map[i] != KEY_RESERVED) { in hotkey_init()
3522 hotkey_keycode_map[i]); in hotkey_init()
[all …]