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