Searched refs:switches_dev (Results 1 – 1 of 1) sorted by relevance
69 struct input_dev *switches_dev; member89 input_report_switch(priv->switches_dev, SW_TABLET_MODE, m); in detect_tablet_mode()91 input_report_switch(priv->switches_dev, SW_DOCK, m); in detect_tablet_mode()124 priv->switches_dev = devm_input_allocate_device(&device->dev); in intel_vbtn_input_setup()125 if (!priv->switches_dev) in intel_vbtn_input_setup()128 ret = sparse_keymap_setup(priv->switches_dev, intel_vbtn_switchmap, NULL); in intel_vbtn_input_setup()132 priv->switches_dev->dev.parent = &device->dev; in intel_vbtn_input_setup()133 priv->switches_dev->name = "Intel Virtual Switches"; in intel_vbtn_input_setup()134 priv->switches_dev->id.bustype = BUS_HOST; in intel_vbtn_input_setup()139 ret = input_register_device(priv->switches_dev); in intel_vbtn_input_setup()[all …]