Searched refs:tch (Results 1 – 2 of 2) sorted by relevance
363 struct cyttsp4_tch_abs_params *tch; in cyttsp4_si_get_opcfg_data() local403 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()406 tch->ofs = tch_old->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()407 tch->size = cyttsp4_bits_2_bytes(tch_old->size, in cyttsp4_si_get_opcfg_data()408 &tch->max); in cyttsp4_si_get_opcfg_data()409 tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()420 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()423 tch->ofs = tch_new->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()424 tch->size = cyttsp4_bits_2_bytes(tch_new->size, in cyttsp4_si_get_opcfg_data()425 &tch->max); in cyttsp4_si_get_opcfg_data()[all …]
303 const struct cyttsp_tch *tch; in cyttsp_report_tchdata() local327 tch = cyttsp_get_tch(xy_data, i); in cyttsp_report_tchdata()331 input_report_abs(input, ABS_MT_POSITION_X, be16_to_cpu(tch->x)); in cyttsp_report_tchdata()332 input_report_abs(input, ABS_MT_POSITION_Y, be16_to_cpu(tch->y)); in cyttsp_report_tchdata()333 input_report_abs(input, ABS_MT_TOUCH_MAJOR, tch->z); in cyttsp_report_tchdata()