Searched refs:button_info (Results 1 – 2 of 2) sorted by relevance
36 const struct soc_button_info *button_info; member154 const struct soc_button_info *button_info, in soc_button_device_create() argument166 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() local374 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 …]
402 u8 button_info; in trackpoint_detect() local430 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()