Home
last modified time | relevance | path

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

/linux/drivers/input/mouse/
H A Dlogips2pp.c271 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()
[all …]
/linux/drivers/iio/dac/
H A Dad3552r-common.c206 static int ad3552r_find_range(const struct ad3552r_model_data *model_info, in ad3552r_find_range() argument
211 for (i = 0; i < model_info->num_ranges; i++) in ad3552r_find_range()
212 if (vals[0] == model_info->ranges_table[i][0] * 1000 && in ad3552r_find_range()
213 vals[1] == model_info->ranges_table[i][1] * 1000) in ad3552r_find_range()
220 const struct ad3552r_model_data *model_info, in ad3552r_get_output_range() argument
237 ret = ad3552r_find_range(model_info, vals); in ad3552r_get_output_range()