• Home
  • Raw
  • Download

Lines Matching refs:xy_data

123 				ts->xy_data.hst_mode ^ CY_HNDSHK_BIT);  in cyttsp_handshake()
175 sizeof(ts->xy_data), &ts->xy_data); in cyttsp_set_operational_mode()
183 return ts->xy_data.act_dist == CY_ACT_DIST_DFLT ? -EIO : 0; in cyttsp_set_operational_mode()
290 static void cyttsp_extract_track_ids(struct cyttsp_xydata *xy_data, int *ids) in cyttsp_extract_track_ids() argument
292 ids[0] = xy_data->touch12_id >> 4; in cyttsp_extract_track_ids()
293 ids[1] = xy_data->touch12_id & 0xF; in cyttsp_extract_track_ids()
294 ids[2] = xy_data->touch34_id >> 4; in cyttsp_extract_track_ids()
295 ids[3] = xy_data->touch34_id & 0xF; in cyttsp_extract_track_ids()
298 static const struct cyttsp_tch *cyttsp_get_tch(struct cyttsp_xydata *xy_data, in cyttsp_get_tch() argument
303 return &xy_data->tch1; in cyttsp_get_tch()
305 return &xy_data->tch2; in cyttsp_get_tch()
307 return &xy_data->tch3; in cyttsp_get_tch()
309 return &xy_data->tch4; in cyttsp_get_tch()
317 struct cyttsp_xydata *xy_data = &ts->xy_data; in cyttsp_report_tchdata() local
319 int num_tch = GET_NUM_TOUCHES(xy_data->tt_stat); in cyttsp_report_tchdata()
325 if (IS_LARGE_AREA(xy_data->tt_stat) == 1) { in cyttsp_report_tchdata()
333 } else if (IS_BAD_PKT(xy_data->tt_mode)) { in cyttsp_report_tchdata()
339 cyttsp_extract_track_ids(xy_data, ids); in cyttsp_report_tchdata()
344 tch = cyttsp_get_tch(xy_data, i); in cyttsp_report_tchdata()
378 sizeof(struct cyttsp_xydata), &ts->xy_data); in cyttsp_irq()
390 if (GET_BOOTLOADERMODE(ts->xy_data.tt_mode)) { in cyttsp_irq()
469 sizeof(ts->xy_data), &ts->xy_data); in cyttsp_enable()
473 if (GET_HSTMODE(ts->xy_data.hst_mode)) in cyttsp_enable()