Lines Matching refs:wistron_idev
1033 static struct input_dev *wistron_idev; variable
1117 sparse_keymap_entry_from_scancode(wistron_idev, code); in handle_key()
1136 sparse_keymap_report_entry(wistron_idev, key, 1, true); in handle_key()
1215 wistron_idev = input_allocate_device(); in setup_input_dev()
1216 if (!wistron_idev) in setup_input_dev()
1219 wistron_idev->name = "Wistron laptop buttons"; in setup_input_dev()
1220 wistron_idev->phys = "wistron/input0"; in setup_input_dev()
1221 wistron_idev->id.bustype = BUS_HOST; in setup_input_dev()
1222 wistron_idev->dev.parent = &wistron_device->dev; in setup_input_dev()
1224 wistron_idev->open = wistron_flush; in setup_input_dev()
1226 error = sparse_keymap_setup(wistron_idev, keymap, wistron_setup_keymap); in setup_input_dev()
1230 error = input_setup_polling(wistron_idev, wistron_poll); in setup_input_dev()
1234 input_set_poll_interval(wistron_idev, POLL_INTERVAL_DEFAULT); in setup_input_dev()
1236 error = input_register_device(wistron_idev); in setup_input_dev()
1243 input_free_device(wistron_idev); in setup_input_dev()
1292 input_unregister_device(wistron_idev); in wistron_remove()