Lines Matching refs:acer_wmi_input_dev
138 static struct input_dev *acer_wmi_input_dev; variable
1749 input_report_switch(acer_wmi_input_dev, SW_TABLET_MODE, sw_tablet_mode); in acer_kbd_dock_get_initial_state()
1763 input_report_switch(acer_wmi_input_dev, SW_TABLET_MODE, sw_tablet_mode); in acer_kbd_dock_event()
1764 input_sync(acer_wmi_input_dev); in acer_kbd_dock_event()
1967 key = sparse_keymap_entry_from_scancode(acer_wmi_input_dev, in acer_wmi_notify()
1991 sparse_keymap_report_event(acer_wmi_input_dev, scancode, 1, true); in acer_wmi_notify()
2153 acer_wmi_input_dev = input_allocate_device(); in acer_wmi_input_setup()
2154 if (!acer_wmi_input_dev) in acer_wmi_input_setup()
2157 acer_wmi_input_dev->name = "Acer WMI hotkeys"; in acer_wmi_input_setup()
2158 acer_wmi_input_dev->phys = "wmi/input0"; in acer_wmi_input_setup()
2159 acer_wmi_input_dev->id.bustype = BUS_HOST; in acer_wmi_input_setup()
2161 err = sparse_keymap_setup(acer_wmi_input_dev, acer_wmi_keymap, NULL); in acer_wmi_input_setup()
2166 input_set_capability(acer_wmi_input_dev, EV_SW, SW_TABLET_MODE); in acer_wmi_input_setup()
2178 err = input_register_device(acer_wmi_input_dev); in acer_wmi_input_setup()
2187 input_free_device(acer_wmi_input_dev); in acer_wmi_input_setup()
2194 input_unregister_device(acer_wmi_input_dev); in acer_wmi_input_destroy()