peaq_poll_dev 21 drivers/platform/x86/peaq-wmi.c static struct input_dev *peaq_poll_dev; peaq_poll_dev 91 drivers/platform/x86/peaq-wmi.c peaq_poll_dev = input_allocate_device(); peaq_poll_dev 92 drivers/platform/x86/peaq-wmi.c if (!peaq_poll_dev) peaq_poll_dev 95 drivers/platform/x86/peaq-wmi.c peaq_poll_dev->name = "PEAQ WMI hotkeys"; peaq_poll_dev 96 drivers/platform/x86/peaq-wmi.c peaq_poll_dev->phys = "wmi/input0"; peaq_poll_dev 97 drivers/platform/x86/peaq-wmi.c peaq_poll_dev->id.bustype = BUS_HOST; peaq_poll_dev 98 drivers/platform/x86/peaq-wmi.c input_set_capability(peaq_poll_dev, EV_KEY, KEY_SOUND); peaq_poll_dev 100 drivers/platform/x86/peaq-wmi.c err = input_setup_polling(peaq_poll_dev, peaq_wmi_poll); peaq_poll_dev 104 drivers/platform/x86/peaq-wmi.c input_set_poll_interval(peaq_poll_dev, PEAQ_POLL_INTERVAL_MS); peaq_poll_dev 105 drivers/platform/x86/peaq-wmi.c input_set_max_poll_interval(peaq_poll_dev, PEAQ_POLL_MAX_MS); peaq_poll_dev 107 drivers/platform/x86/peaq-wmi.c err = input_register_device(peaq_poll_dev); peaq_poll_dev 114 drivers/platform/x86/peaq-wmi.c input_free_device(peaq_poll_dev); peaq_poll_dev 120 drivers/platform/x86/peaq-wmi.c input_unregister_device(peaq_poll_dev);