Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/
H A Dcyttsp5_proximity.c125 struct cyttsp5_touch *tch, int num_cur_tch) in cyttsp5_get_proximity_touch() argument
130 for (i = 0; i < num_cur_tch; i++) { in cyttsp5_get_proximity_touch()
151 u8 num_cur_tch; in cyttsp5_xy_worker() local
155 num_cur_tch = tch.hdr[CY_TCH_NUM]; in cyttsp5_xy_worker()
156 if (num_cur_tch > si->sensing_conf_data.max_tch) { in cyttsp5_xy_worker()
158 __func__, num_cur_tch); in cyttsp5_xy_worker()
159 num_cur_tch = si->sensing_conf_data.max_tch; in cyttsp5_xy_worker()
168 __func__, num_cur_tch); in cyttsp5_xy_worker()
169 if (num_cur_tch) in cyttsp5_xy_worker()
170 cyttsp5_get_proximity_touch(pd, &tch, num_cur_tch); in cyttsp5_xy_worker()
H A Dcyttsp5_mt_common.c232 struct cyttsp5_touch *tch, int num_cur_tch) in cyttsp5_get_mt_touches() argument
247 for (i = 0; i < num_cur_tch; i++) { in cyttsp5_get_mt_touches()
340 md->num_prv_rec = num_cur_tch; in cyttsp5_get_mt_touches()
350 u8 num_cur_tch; in cyttsp5_xy_worker() local
355 num_cur_tch = tch.hdr[CY_TCH_NUM]; in cyttsp5_xy_worker()
356 if (num_cur_tch > max_tch) { in cyttsp5_xy_worker()
358 __func__, num_cur_tch); in cyttsp5_xy_worker()
359 num_cur_tch = max_tch; in cyttsp5_xy_worker()
366 num_cur_tch = 0; in cyttsp5_xy_worker()
369 if (num_cur_tch == 0 && md->num_prv_rec == 0) in cyttsp5_xy_worker()
[all …]
H A Dcyttsp5_debug.c110 struct cyttsp5_sysinfo *si, u8 num_cur_tch) in cyttsp5_debug_formated() argument
121 report_size = num_cur_tch * si->desc.tch_record_size; in cyttsp5_debug_formated()
148 for (i = 0; i < num_cur_tch; i++) { in cyttsp5_debug_formated()
169 u8 num_cur_tch = GET_NUM_TOUCHES(report_reg); in cyttsp5_xy_worker() local
181 cyttsp5_debug_formated(dev, dd->pr_buf, si, num_cur_tch); in cyttsp5_xy_worker()
184 cyttsp5_pr_buf_op_mode(dd, dd->pr_buf, si, num_cur_tch); in cyttsp5_xy_worker()
H A Dcyttsp5_core.c3867 int num_cur_tch; in move_touch_data() local
3881 cyttsp5_get_touch_axis(cd, &num_cur_tch, tch->size, in move_touch_data()
3883 if (unlikely(num_cur_tch > max_tch)) in move_touch_data()
3884 num_cur_tch = max_tch; in move_touch_data()
3886 length = num_cur_tch * si->desc.tch_record_size; in move_touch_data()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dcyttsp4_core.c853 static void cyttsp4_get_mt_touches(struct cyttsp4_mt_data *md, int num_cur_tch) in cyttsp4_get_mt_touches() argument
863 for (i = 0; i < num_cur_tch; i++) { in cyttsp4_get_mt_touches()
947 md->num_prv_tch = num_cur_tch; in cyttsp4_get_mt_touches()
958 u8 num_cur_tch; in cyttsp4_xy_worker() local
984 num_cur_tch = GET_NUM_TOUCHES(tt_stat); in cyttsp4_xy_worker()
985 dev_vdbg(dev, "%s: num_cur_tch=%d\n", __func__, num_cur_tch); in cyttsp4_xy_worker()
987 if (rep_len == 0 && num_cur_tch > 0) { in cyttsp4_xy_worker()
989 __func__, rep_len, num_cur_tch); in cyttsp4_xy_worker()
994 if (num_cur_tch > 0) { in cyttsp4_xy_worker()
996 num_cur_tch * si->si_ofs.tch_rec_size, in cyttsp4_xy_worker()
[all …]