Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/intel/
Dvbtn.c72 struct input_dev *buttons_dev; member
112 priv->buttons_dev = devm_input_allocate_device(&device->dev); in intel_vbtn_input_setup()
113 if (!priv->buttons_dev) in intel_vbtn_input_setup()
116 ret = sparse_keymap_setup(priv->buttons_dev, intel_vbtn_keymap, NULL); in intel_vbtn_input_setup()
120 priv->buttons_dev->dev.parent = &device->dev; in intel_vbtn_input_setup()
121 priv->buttons_dev->name = "Intel Virtual Buttons"; in intel_vbtn_input_setup()
122 priv->buttons_dev->id.bustype = BUS_HOST; in intel_vbtn_input_setup()
125 ret = input_register_device(priv->buttons_dev); in intel_vbtn_input_setup()
163 if ((ke = sparse_keymap_entry_from_scancode(priv->buttons_dev, event))) { in notify_handler()
169 input_dev = priv->buttons_dev; in notify_handler()
/linux-6.12.1/drivers/input/misc/
Dcobalt_btns.c29 struct buttons_dev { struct
37 struct buttons_dev *bdev = input_get_drvdata(input); in handle_buttons() argument
63 struct buttons_dev *bdev; in cobalt_buttons_probe()
Dsgi_btns.c47 struct buttons_dev { struct
54 struct buttons_dev *bdev = input_get_drvdata(input); in handle_buttons() argument
80 struct buttons_dev *bdev; in sgi_buttons_probe()