Lines Matching refs:xy_data

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() argument
291 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() argument
302 return &xy_data->tch1; in cyttsp_get_tch()
304 return &xy_data->tch2; in cyttsp_get_tch()
306 return &xy_data->tch3; in cyttsp_get_tch()
308 return &xy_data->tch4; in cyttsp_get_tch()
316 struct cyttsp_xydata *xy_data = &ts->xy_data; in cyttsp_report_tchdata() local
318 int num_tch = GET_NUM_TOUCHES(xy_data->tt_stat); in cyttsp_report_tchdata()
324 if (IS_LARGE_AREA(xy_data->tt_stat) == 1) { in cyttsp_report_tchdata()
332 } else if (IS_BAD_PKT(xy_data->tt_mode)) { in cyttsp_report_tchdata()
338 cyttsp_extract_track_ids(xy_data, ids); in cyttsp_report_tchdata()
343 tch = cyttsp_get_tch(xy_data, i); in cyttsp_report_tchdata()
377 sizeof(struct cyttsp_xydata), &ts->xy_data); in cyttsp_irq()
389 if (GET_BOOTLOADERMODE(ts->xy_data.tt_mode)) { in cyttsp_irq()
468 sizeof(ts->xy_data), &ts->xy_data); in cyttsp_enable()
472 if (GET_HSTMODE(ts->xy_data.hst_mode)) in cyttsp_enable()