Lines Matching refs:msi_wmi_input_dev
64 static struct input_dev *msi_wmi_input_dev;
166 key = sparse_keymap_entry_from_scancode(msi_wmi_input_dev,
191 sparse_keymap_report_entry(msi_wmi_input_dev,
206 msi_wmi_input_dev = input_allocate_device();
207 if (!msi_wmi_input_dev)
210 msi_wmi_input_dev->name = "MSI WMI hotkeys";
211 msi_wmi_input_dev->phys = "wmi/input0";
212 msi_wmi_input_dev->id.bustype = BUS_HOST;
214 err = sparse_keymap_setup(msi_wmi_input_dev, msi_wmi_keymap, NULL);
218 err = input_register_device(msi_wmi_input_dev);
228 sparse_keymap_free(msi_wmi_input_dev);
230 input_free_device(msi_wmi_input_dev);
277 input_unregister_device(msi_wmi_input_dev);
287 sparse_keymap_free(msi_wmi_input_dev);
288 input_unregister_device(msi_wmi_input_dev);