Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dcyttsp_core.c115 ts->xy_data.hst_mode ^ CY_HNDSHK_BIT); in cyttsp_handshake()
167 sizeof(ts->xy_data), &ts->xy_data); in cyttsp_set_operational_mode()
175 return ts->xy_data.act_dist == CY_ACT_DIST_DFLT ? -EIO : 0; in cyttsp_set_operational_mode()
273 static void cyttsp_extract_track_ids(struct cyttsp_xydata *xy_data, int *ids) in cyttsp_extract_track_ids() argument
275 ids[0] = xy_data->touch12_id >> 4; in cyttsp_extract_track_ids()
276 ids[1] = xy_data->touch12_id & 0xF; in cyttsp_extract_track_ids()
277 ids[2] = xy_data->touch34_id >> 4; in cyttsp_extract_track_ids()
278 ids[3] = xy_data->touch34_id & 0xF; in cyttsp_extract_track_ids()
281 static const struct cyttsp_tch *cyttsp_get_tch(struct cyttsp_xydata *xy_data, in cyttsp_get_tch() argument
286 return &xy_data->tch1; in cyttsp_get_tch()
[all …]
Dcyttsp4_core.c589 p = krealloc(si->xy_data, si->si_ofs.data_size, GFP_KERNEL|__GFP_ZERO); in cyttsp4_si_get_op_data_ptrs()
592 si->xy_data = p; in cyttsp4_si_get_op_data_ptrs()
666 si->xy_mode, si->xy_data); in cyttsp4_si_put_log_data()
765 int *axis, int size, int max, u8 *xy_data, int bofs) in cyttsp4_get_touch_axis() argument
774 __func__, *axis, *axis, size, max, xy_data, next, in cyttsp4_get_touch_axis()
775 xy_data[next], xy_data[next], bofs); in cyttsp4_get_touch_axis()
776 *axis = (*axis * 256) + (xy_data[next] >> bofs); in cyttsp4_get_touch_axis()
785 __func__, *axis, *axis, size, max, xy_data, next, in cyttsp4_get_touch_axis()
786 xy_data[next], xy_data[next]); in cyttsp4_get_touch_axis()
790 struct cyttsp4_touch *touch, u8 *xy_data) in cyttsp4_get_touch() argument
[all …]
Dcyttsp_core.h121 struct cyttsp_xydata xy_data; member
Dcyttsp4_core.h319 u8 *xy_data; /* operational touch regs */ member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0024_linux_drivers_input.patch6362 + msgs.len = sizeof(ts->xy_data.buf);
6363 + msgs.buf = ts->xy_data.buf;
6370 + return &ts->xy_data;
6374 + union ts_xy_data *xy_data,
6390 + if ((xy_data->point[id].xhi != 0xFF) &&
6391 + (xy_data->point[id].yhi != 0xFF) &&
6392 + ((xy_data->point[id].status == 1) ||
6393 + (xy_data->point[id].status == 2))) {
6394 + x = (xy_data->point[id].xhi<<4) |
6395 + (xy_data->point[id].xlo&0xF);
[all …]