Lines Matching refs:hpwl_input_dev
21 static struct input_dev *hpwl_input_dev; variable
33 hpwl_input_dev = input_allocate_device(); in hp_wireless_input_setup()
34 if (!hpwl_input_dev) in hp_wireless_input_setup()
37 hpwl_input_dev->name = "HP Wireless hotkeys"; in hp_wireless_input_setup()
38 hpwl_input_dev->phys = "hpq6001/input0"; in hp_wireless_input_setup()
39 hpwl_input_dev->id.bustype = BUS_HOST; in hp_wireless_input_setup()
40 hpwl_input_dev->evbit[0] = BIT(EV_KEY); in hp_wireless_input_setup()
41 set_bit(KEY_RFKILL, hpwl_input_dev->keybit); in hp_wireless_input_setup()
43 err = input_register_device(hpwl_input_dev); in hp_wireless_input_setup()
50 input_free_device(hpwl_input_dev); in hp_wireless_input_setup()
56 input_unregister_device(hpwl_input_dev); in hp_wireless_input_destroy()
66 input_report_key(hpwl_input_dev, KEY_RFKILL, 1); in hpwl_notify()
67 input_sync(hpwl_input_dev); in hpwl_notify()
68 input_report_key(hpwl_input_dev, KEY_RFKILL, 0); in hpwl_notify()
69 input_sync(hpwl_input_dev); in hpwl_notify()