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()127 if (!priv->switches_dev) 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()139 ret = input_register_device(priv->switches_dev); in intel_vbtn_input_setup()170 ret = input_register_device(priv->switches_dev); in notify_handler()[all …]