Home
last modified time | relevance | path

Searched refs:button_info (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/input/misc/
Dsoc_button_array.c36 const struct soc_button_info *button_info; member
154 const struct soc_button_info *button_info, in soc_button_device_create() argument
166 for (info = button_info; info->name; info++) in soc_button_device_create()
184 for (info = button_info; info->name; info++) { in soc_button_device_create()
344 struct soc_button_info *button_info; in soc_button_get_button_info() local
374 button_info = ERR_PTR(-ENODEV); in soc_button_get_button_info()
391 button_info = ERR_PTR(-ENODEV); in soc_button_get_button_info()
396 button_info = devm_kcalloc(dev, btns_desc->package.count, in soc_button_get_button_info()
397 sizeof(*button_info), GFP_KERNEL); in soc_button_get_button_info()
398 if (!button_info) { in soc_button_get_button_info()
[all …]
/linux-6.12.1/drivers/input/mouse/
Dtrackpoint.c402 u8 button_info; in trackpoint_detect() local
430 button_info = 0x33; in trackpoint_detect()
432 error = trackpoint_read(ps2dev, TP_EXT_BTN, &button_info); in trackpoint_detect()
436 button_info = 0x33; in trackpoint_detect()
437 } else if (!button_info) { in trackpoint_detect()
440 button_info = 0x33; in trackpoint_detect()
444 if ((button_info & 0x0f) >= 3) in trackpoint_detect()
471 (button_info & 0xf0) >> 4, button_info & 0x0f); in trackpoint_detect()