Home
last modified time | relevance | path

Searched refs:tch (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/Documentation/userspace-api/media/v4l/
Dtch-formats.rst15 pixfmt-tch-td16
16 pixfmt-tch-td08
17 pixfmt-tch-tu16
18 pixfmt-tch-tu08
Dpixfmt.rst33 tch-formats
Ddev-touch.rst51 :ref:`Touch Formats <tch-formats>`.
/Linux-v6.6/drivers/input/touchscreen/
Dcyttsp5.c292 struct cyttsp5_touch *tch, int num_cur_tch) in cyttsp5_get_mt_touches() argument
301 memset(tch->abs, 0, sizeof(tch->abs)); in cyttsp5_get_mt_touches()
314 cyttsp5_get_touch_record(ts, tch, tch_addr); in cyttsp5_get_mt_touches()
317 tmp = tch->abs[CY_TCH_MAJ] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches()
318 tch->abs[CY_TCH_MAJ] = tmp / si->sensing_conf_data.len_x; in cyttsp5_get_mt_touches()
319 tmp = tch->abs[CY_TCH_MIN] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches()
320 tch->abs[CY_TCH_MIN] = tmp / si->sensing_conf_data.len_x; in cyttsp5_get_mt_touches()
322 t = tch->abs[CY_TCH_T]; in cyttsp5_get_mt_touches()
329 tch->abs[CY_TCH_X], tch->abs[CY_TCH_Y], in cyttsp5_get_mt_touches()
332 tch->abs[CY_TCH_P]); in cyttsp5_get_mt_touches()
[all …]
Dcyttsp4_core.c389 struct cyttsp4_tch_abs_params *tch; in cyttsp4_si_get_opcfg_data() local
436 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
439 tch->ofs = tch_old->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()
440 tch->size = cyttsp4_bits_2_bytes(tch_old->size, in cyttsp4_si_get_opcfg_data()
441 &tch->max); in cyttsp4_si_get_opcfg_data()
442 tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
453 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
456 tch->ofs = tch_new->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()
457 tch->size = cyttsp4_bits_2_bytes(tch_new->size, in cyttsp4_si_get_opcfg_data()
458 &tch->max); in cyttsp4_si_get_opcfg_data()
[all …]
Dcyttsp_core.c320 const struct cyttsp_tch *tch; in cyttsp_report_tchdata() local
344 tch = cyttsp_get_tch(xy_data, i); in cyttsp_report_tchdata()
348 input_report_abs(input, ABS_MT_POSITION_X, be16_to_cpu(tch->x)); in cyttsp_report_tchdata()
349 input_report_abs(input, ABS_MT_POSITION_Y, be16_to_cpu(tch->y)); in cyttsp_report_tchdata()
350 input_report_abs(input, ABS_MT_TOUCH_MAJOR, tch->z); in cyttsp_report_tchdata()