Searched refs:xy_data (Results 1 – 3 of 3) sorted by relevance
122 ts->xy_data.hst_mode ^ CY_HNDSHK_BIT); in cyttsp_handshake()174 sizeof(ts->xy_data), &ts->xy_data); in cyttsp_set_operational_mode()182 return ts->xy_data.act_dist == CY_ACT_DIST_DFLT ? -EIO : 0; in cyttsp_set_operational_mode()289 static void cyttsp_extract_track_ids(struct cyttsp_xydata *xy_data, int *ids) in cyttsp_extract_track_ids() argument291 ids[0] = xy_data->touch12_id >> 4; in cyttsp_extract_track_ids()292 ids[1] = xy_data->touch12_id & 0xF; in cyttsp_extract_track_ids()293 ids[2] = xy_data->touch34_id >> 4; in cyttsp_extract_track_ids()294 ids[3] = xy_data->touch34_id & 0xF; in cyttsp_extract_track_ids()297 static const struct cyttsp_tch *cyttsp_get_tch(struct cyttsp_xydata *xy_data, in cyttsp_get_tch() argument302 return &xy_data->tch1; in cyttsp_get_tch()[all …]
266 static void cyttsp5_get_touch_axis(int *axis, int size, int max, u8 *xy_data, in cyttsp5_get_touch_axis() argument272 *axis += ((xy_data[nbyte] >> bofs) << (nbyte * 8)); in cyttsp5_get_touch_axis()278 struct cyttsp5_touch *touch, u8 *xy_data) in cyttsp5_get_touch_record() argument287 xy_data + si->tch_abs[abs].ofs, in cyttsp5_get_touch_record()
120 struct cyttsp_xydata xy_data; member