Searched refs:num_cur_tch (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/input/touchscreen/ |
H A D | cyttsp5.c | 292 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 D | cyttsp4_core.c | 867 static void cyttsp4_get_mt_touches(struct cyttsp4_mt_data *md, int num_cur_tch) in cyttsp4_get_mt_touches() argument 877 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() 999 dev_vdbg(dev, "%s: num_cur_tch=%d\n", __func__, num_cur_tch); 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() 1010 num_cur_tch * si->si_ofs.tch_rec_size, in cyttsp4_xy_worker() [all …]
|