Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/
H A Dcyttsp5_mt_common.c232 struct cyttsp5_touch *tch, int num_cur_tch) in cyttsp5_get_mt_touches() argument
243 memset(tch->abs, 0, sizeof(tch->abs)); in cyttsp5_get_mt_touches()
249 cyttsp5_get_touch_record(md, tch, tch_addr); in cyttsp5_get_mt_touches()
252 if (tch->abs[CY_TCH_O] == CY_OBJ_PROXIMITY) { in cyttsp5_get_mt_touches()
259 t = tch->abs[CY_TCH_T]; in cyttsp5_get_mt_touches()
270 if (tch->abs[CY_TCH_E] == CY_EV_LIFTOFF) { in cyttsp5_get_mt_touches()
272 __func__, t, tch->abs[CY_TCH_E]); in cyttsp5_get_mt_touches()
277 cyttsp5_mt_process_touch(md, tch); in cyttsp5_get_mt_touches()
286 t, tch->abs[CY_TCH_O]); in cyttsp5_get_mt_touches()
291 if (tch->abs[CY_TCH_O] == CY_OBJ_HOVER) { in cyttsp5_get_mt_touches()
[all …]
H A Dcyttsp5_proximity.c125 struct cyttsp5_touch *tch, int num_cur_tch) in cyttsp5_get_proximity_touch() argument
131 cyttsp5_get_touch(pd, tch, si->xy_data + in cyttsp5_get_proximity_touch()
135 if (tch->abs[CY_TCH_O] == CY_OBJ_PROXIMITY) { in cyttsp5_get_proximity_touch()
136 if (tch->abs[CY_TCH_E] == CY_EV_TOUCHDOWN) in cyttsp5_get_proximity_touch()
138 else if (tch->abs[CY_TCH_E] == CY_EV_LIFTOFF) in cyttsp5_get_proximity_touch()
150 struct cyttsp5_touch tch; in cyttsp5_xy_worker() local
153 cyttsp5_get_touch_hdr(pd, &tch, si->xy_mode + 3); in cyttsp5_xy_worker()
155 num_cur_tch = tch.hdr[CY_TCH_NUM]; in cyttsp5_xy_worker()
162 if (tch.hdr[CY_TCH_LO]) in cyttsp5_xy_worker()
170 cyttsp5_get_proximity_touch(pd, &tch, num_cur_tch); in cyttsp5_xy_worker()
H A Dcyttsp5_core.c3869 struct cyttsp5_tch_abs_params *tch = &si->tch_hdr[CY_TCH_NUM]; in move_touch_data() local
3881 cyttsp5_get_touch_axis(cd, &num_cur_tch, tch->size, in move_touch_data()
3882 tch->max, si->xy_mode + 3 + tch->ofs, tch->bofs); in move_touch_data()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dtch-formats.rst15 pixfmt-tch-td16
16 pixfmt-tch-td08
17 pixfmt-tch-tu16
18 pixfmt-tch-tu08
H A Dpixfmt.rst33 tch-formats
H A Ddev-touch.rst51 :ref:`Touch Formats <tch-formats>`.
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dcyttsp4_core.c375 struct cyttsp4_tch_abs_params *tch; in cyttsp4_si_get_opcfg_data() local
422 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
425 tch->ofs = tch_old->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()
426 tch->size = cyttsp4_bits_2_bytes(tch_old->size, in cyttsp4_si_get_opcfg_data()
427 &tch->max); in cyttsp4_si_get_opcfg_data()
428 tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
439 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
442 tch->ofs = tch_new->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()
443 tch->size = cyttsp4_bits_2_bytes(tch_new->size, in cyttsp4_si_get_opcfg_data()
444 &tch->max); in cyttsp4_si_get_opcfg_data()
[all …]
H A Dcyttsp_core.c303 const struct cyttsp_tch *tch; in cyttsp_report_tchdata() local
327 tch = cyttsp_get_tch(xy_data, i); in cyttsp_report_tchdata()
331 input_report_abs(input, ABS_MT_POSITION_X, be16_to_cpu(tch->x)); in cyttsp_report_tchdata()
332 input_report_abs(input, ABS_MT_POSITION_Y, be16_to_cpu(tch->y)); in cyttsp_report_tchdata()
333 input_report_abs(input, ABS_MT_TOUCH_MAJOR, tch->z); in cyttsp_report_tchdata()
/OK3568_Linux_fs/u-boot/common/
H A Drbsb.c437 tch = oldtch; in io_mode()
439 tch.t_intrc = Zmodem ? -1:030; /* Interrupt char */ in io_mode()
441 tch.t_intrc = Zmodem ? 03:030; /* Interrupt char */ in io_mode()
446 ioctl(fd, TIOCSETC, &tch); in io_mode()
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_multi_dais.c420 int i, tch, rch; in mdais_fixup_dai() local
423 tch = 0; in mdais_fixup_dai()
428 tch += tx_maps[i]; in mdais_fixup_dai()
432 soc_dai->playback.channels_min = tch; in mdais_fixup_dai()
433 soc_dai->playback.channels_max = tch; in mdais_fixup_dai()