Searched refs:hpwl_input_dev (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/platform/x86/
H A Dhp-wireless.c33 static struct input_dev *hpwl_input_dev; variable in typeref:struct:input_dev
44 hpwl_input_dev = input_allocate_device(); hp_wireless_input_setup()
45 if (!hpwl_input_dev) hp_wireless_input_setup()
48 hpwl_input_dev->name = "HP Wireless hotkeys"; hp_wireless_input_setup()
49 hpwl_input_dev->phys = "hpq6001/input0"; hp_wireless_input_setup()
50 hpwl_input_dev->id.bustype = BUS_HOST; hp_wireless_input_setup()
51 hpwl_input_dev->evbit[0] = BIT(EV_KEY); hp_wireless_input_setup()
52 set_bit(KEY_RFKILL, hpwl_input_dev->keybit); hp_wireless_input_setup()
54 err = input_register_device(hpwl_input_dev); hp_wireless_input_setup()
61 input_free_device(hpwl_input_dev); hp_wireless_input_setup()
67 input_unregister_device(hpwl_input_dev); hp_wireless_input_destroy()
77 input_report_key(hpwl_input_dev, KEY_RFKILL, 1); hpwl_notify()
78 input_sync(hpwl_input_dev); hpwl_notify()
79 input_report_key(hpwl_input_dev, KEY_RFKILL, 0); hpwl_notify()
80 input_sync(hpwl_input_dev); hpwl_notify()

Completed in 73 milliseconds