Lines Matching refs:model_info
271 const struct ps2pp_info *model_info, in ps2pp_set_model_properties() argument
276 if (model_info->features & PS2PP_SIDE_BTN) in ps2pp_set_model_properties()
279 if (model_info->features & PS2PP_EXTRA_BTN) in ps2pp_set_model_properties()
282 if (model_info->features & PS2PP_TASK_BTN) in ps2pp_set_model_properties()
285 if (model_info->features & PS2PP_NAV_BTN) { in ps2pp_set_model_properties()
290 if (model_info->features & PS2PP_WHEEL) in ps2pp_set_model_properties()
293 if (model_info->features & PS2PP_HWHEEL) in ps2pp_set_model_properties()
296 switch (model_info->kind) { in ps2pp_set_model_properties()
327 const struct ps2pp_info *model_info) in ps2pp_setup_protocol() argument
334 if (model_info->kind != PS2PP_KIND_TP3) { in ps2pp_setup_protocol()
360 const struct ps2pp_info *model_info; in ps2pp_detect() local
380 model_info = get_model_info(model); in ps2pp_detect()
381 if (model_info) { in ps2pp_detect()
386 if (model_info->kind == PS2PP_KIND_TP3) { /* Touch Pad 3 */ in ps2pp_detect()
430 error = ps2pp_setup_protocol(psmouse, model_info); in ps2pp_detect()
438 if (model_info) in ps2pp_detect()
439 ps2pp_set_model_properties(psmouse, model_info, use_ps2pp); in ps2pp_detect()