Home
last modified time | relevance | path

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

/drivers/input/touchscreen/
Dpixcir_i2c_ts.c40 int max_fingers; /* Max fingers supported in this instance */ member
68 readsize = 2 + tsdata->max_fingers * (4 + i); in pixcir_ts_parse()
89 if (touch > tsdata->max_fingers) in pixcir_ts_parse()
90 touch = tsdata->max_fingers; in pixcir_ts_parse()
486 if (!pdata->chip.max_fingers) { in pixcir_i2c_ts_probe()
519 tsdata->max_fingers = tsdata->pdata->chip.max_fingers; in pixcir_i2c_ts_probe()
520 if (tsdata->max_fingers > PIXCIR_MAX_SLOTS) { in pixcir_i2c_ts_probe()
521 tsdata->max_fingers = PIXCIR_MAX_SLOTS; in pixcir_i2c_ts_probe()
523 tsdata->max_fingers); in pixcir_i2c_ts_probe()
526 error = input_mt_init_slots(input, tsdata->max_fingers, in pixcir_i2c_ts_probe()
[all …]
/drivers/hid/
Dhid-rmi.c106 unsigned int max_fingers; member
326 offset = (hdata->max_fingers >> 2) + 1; in rmi_f11_input_event()
327 for (i = 0; i < hdata->max_fingers; i++) { in rmi_f11_input_event()
620 data->max_fingers = (buf[0] & 0x07) + 1; in rmi_populate_f11()
621 if (data->max_fingers > 5) in rmi_populate_f11()
622 data->max_fingers = 10; in rmi_populate_f11()
624 data->f11.report_size = data->max_fingers * 5 + in rmi_populate_f11()
625 DIV_ROUND_UP(data->max_fingers, 4); in rmi_populate_f11()
734 data->f11.report_size += data->max_fingers * 2; in rmi_populate_f11()
895 ret = input_mt_init_slots(input, data->max_fingers, INPUT_MT_POINTER); in rmi_input_configured()