Home
last modified time | relevance | path

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

/linux/drivers/input/touchscreen/
H A Dhynitron-cst816x.c116 struct cst816x_touch *tch) in cst816x_process_touch() argument
118 if (cst816x_i2c_read_register(priv, CST816X_RD_REG, tch, sizeof(*tch))) in cst816x_process_touch()
121 tch->abs_x = get_unaligned_be16(&tch->abs_x) & GENMASK(11, 0); in cst816x_process_touch()
122 tch->abs_y = get_unaligned_be16(&tch->abs_y) & GENMASK(11, 0); in cst816x_process_touch()
125 tch->abs_x, tch->abs_y, tch->active, tch->gest); in cst816x_process_touch()
171 struct cst816x_touch tch; in cst816x_irq_cb() local
173 if (!cst816x_process_touch(priv, &tch)) in cst816x_irq_cb()
176 input_report_abs(priv->input, ABS_X, tch.abs_x); in cst816x_irq_cb()
177 input_report_abs(priv->input, ABS_Y, tch.abs_y); in cst816x_irq_cb()
179 if (tch.gest) in cst816x_irq_cb()
[all …]
H A 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 …]
H A 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()
/linux/Documentation/userspace-api/media/v4l/
H A Dtch-formats.rst16 pixfmt-tch-td16
17 pixfmt-tch-td08
18 pixfmt-tch-tu16
19 pixfmt-tch-tu08
H A Dpixfmt.rst34 tch-formats
H A Ddev-touch.rst52 :ref:`Touch Formats <tch-formats>`.
/linux/arch/arm64/boot/dts/rockchip/
H A Dpx30-pp1516.dtsi519 tch_int: tch-int {
524 tch_rst: tch-rst {
H A Dpx30-cobra.dtsi457 tch_int: tch-int {
462 tch_rst: tch-rst {
/linux/Documentation/
H A D.renames.txt616 media/uapi/v4l/pixfmt-tch-td08 userspace-api/media/v4l/pixfmt-tch-td08
617 media/uapi/v4l/pixfmt-tch-td16 userspace-api/media/v4l/pixfmt-tch-td16
618 media/uapi/v4l/pixfmt-tch-tu08 userspace-api/media/v4l/pixfmt-tch-tu08
619 media/uapi/v4l/pixfmt-tch-tu16 userspace-api/media/v4l/pixfmt-tch-tu16
645 media/uapi/v4l/tch-formats userspace-api/media/v4l/tch-formats