Home
last modified time | relevance | path

Searched refs:toshiba_wmi_input_dev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/x86/
H A Dtoshiba-wmi.c27 static struct input_dev *toshiba_wmi_input_dev; variable
72 toshiba_wmi_input_dev = input_allocate_device(); in toshiba_wmi_input_setup()
73 if (!toshiba_wmi_input_dev) in toshiba_wmi_input_setup()
76 toshiba_wmi_input_dev->name = "Toshiba WMI hotkeys"; in toshiba_wmi_input_setup()
77 toshiba_wmi_input_dev->phys = "wmi/input0"; in toshiba_wmi_input_setup()
78 toshiba_wmi_input_dev->id.bustype = BUS_HOST; in toshiba_wmi_input_setup()
80 err = sparse_keymap_setup(toshiba_wmi_input_dev, in toshiba_wmi_input_setup()
92 err = input_register_device(toshiba_wmi_input_dev); in toshiba_wmi_input_setup()
101 input_free_device(toshiba_wmi_input_dev); in toshiba_wmi_input_setup()
108 input_unregister_device(toshiba_wmi_input_dev); in toshiba_wmi_input_destroy()