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()93 input_sync(priv->switches_dev); in detect_tablet_mode()126 priv->switches_dev = devm_input_allocate_device(&device->dev); in intel_vbtn_input_setup()127 if (!priv->switches_dev) in intel_vbtn_input_setup()130 ret = sparse_keymap_setup(priv->switches_dev, intel_vbtn_switchmap, NULL); in intel_vbtn_input_setup()134 priv->switches_dev->dev.parent = &device->dev; in intel_vbtn_input_setup()135 priv->switches_dev->name = "Intel Virtual Switches"; in intel_vbtn_input_setup()136 priv->switches_dev->id.bustype = BUS_HOST; in intel_vbtn_input_setup()[all …]