Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/touchscreen/
H A Dcyttsp5.c292 struct cyttsp5_touch *tch, int num_cur_tch) in cyttsp5_get_mt_touches() argument
312 for (i = 0; i < num_cur_tch; i++) { in cyttsp5_get_mt_touches()
341 ts->num_prv_rec = num_cur_tch; in cyttsp5_get_mt_touches()
350 int num_cur_tch; in cyttsp5_mt_attention() local
352 cyttsp5_get_touch_axis(&num_cur_tch, si->tch_hdr.size, in cyttsp5_mt_attention()
357 if (num_cur_tch > max_tch) { in cyttsp5_mt_attention()
358 dev_err(dev, "Num touch err detected (n=%d)\n", num_cur_tch); in cyttsp5_mt_attention()
359 num_cur_tch = max_tch; in cyttsp5_mt_attention()
362 if (num_cur_tch == 0 && ts->num_prv_rec == 0) in cyttsp5_mt_attention()
366 if (num_cur_tch) in cyttsp5_mt_attention()
[all …]
H A Dcyttsp4_core.c877 for (i = 0; i < num_cur_tch; i++) { in cyttsp4_get_mt_touches()
961 md->num_prv_tch = num_cur_tch; in cyttsp4_get_mt_touches()
972 u8 num_cur_tch; in cyttsp4_xy_worker() local
998 num_cur_tch = GET_NUM_TOUCHES(tt_stat); in cyttsp4_xy_worker()
1001 if (rep_len == 0 && num_cur_tch > 0) { in cyttsp4_xy_worker()
1003 __func__, rep_len, num_cur_tch); in cyttsp4_xy_worker()
1008 if (num_cur_tch > 0) { in cyttsp4_xy_worker()
1033 if (num_cur_tch > si->si_ofs.max_tchs) { in cyttsp4_xy_worker()
1036 num_cur_tch = si->si_ofs.max_tchs; in cyttsp4_xy_worker()
1041 num_cur_tch); in cyttsp4_xy_worker()
[all …]