Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/platform/x86/intel/
Dvbtn.c68 struct input_dev *buttons_dev; member
106 priv->buttons_dev = devm_input_allocate_device(&device->dev); in intel_vbtn_input_setup()
107 if (!priv->buttons_dev) in intel_vbtn_input_setup()
110 ret = sparse_keymap_setup(priv->buttons_dev, intel_vbtn_keymap, NULL); in intel_vbtn_input_setup()
114 priv->buttons_dev->dev.parent = &device->dev; in intel_vbtn_input_setup()
115 priv->buttons_dev->name = "Intel Virtual Buttons"; in intel_vbtn_input_setup()
116 priv->buttons_dev->id.bustype = BUS_HOST; in intel_vbtn_input_setup()
119 ret = input_register_device(priv->buttons_dev); in intel_vbtn_input_setup()
157 if ((ke = sparse_keymap_entry_from_scancode(priv->buttons_dev, event))) { in notify_handler()
162 input_dev = priv->buttons_dev; in notify_handler()
/linux-6.1.9/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()