Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/platform/loongarch/
Dloongson-laptop.c54 static struct input_dev *generic_inputdev; variable
213 if (test_bit(SW_LID, generic_inputdev->swbit)) { in loongson_hotkey_resume()
230 if (test_bit(SW_LID, generic_inputdev->sw) && !(status & (1 << SW_LID))) { in loongson_hotkey_resume()
234 sparse_keymap_report_entry(generic_inputdev, &ke, 1, true); in loongson_hotkey_resume()
447 ret = sparse_keymap_setup(generic_inputdev, hotkey_keycode_map, NULL); in event_init()
450 input_free_device(generic_inputdev); in event_init()
451 generic_inputdev = NULL; in event_init()
477 ke = sparse_keymap_entry_from_scancode(generic_inputdev, scan_code); in event_notify()
487 sparse_keymap_report_entry(generic_inputdev, ke, 1, true); in event_notify()
567 generic_inputdev = input_allocate_device(); in generic_acpi_laptop_init()
[all …]