Lines Matching refs:tch
389 struct cyttsp4_tch_abs_params *tch; in cyttsp4_si_get_opcfg_data() local
436 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
439 tch->ofs = tch_old->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()
440 tch->size = cyttsp4_bits_2_bytes(tch_old->size, in cyttsp4_si_get_opcfg_data()
441 &tch->max); in cyttsp4_si_get_opcfg_data()
442 tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
453 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
456 tch->ofs = tch_new->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()
457 tch->size = cyttsp4_bits_2_bytes(tch_new->size, in cyttsp4_si_get_opcfg_data()
458 &tch->max); in cyttsp4_si_get_opcfg_data()
459 tch->bofs = (tch_new->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
871 struct cyttsp4_touch tch; in cyttsp4_get_mt_touches() local
878 cyttsp4_get_touch(md, &tch, si->xy_data + in cyttsp4_get_mt_touches()
880 if ((tch.abs[CY_TCH_T] < md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
882 (tch.abs[CY_TCH_T] > md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
885 __func__, i, tch.abs[CY_TCH_T], in cyttsp4_get_mt_touches()
895 t = tch.abs[CY_TCH_T] - md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
897 if (tch.abs[CY_TCH_E] == CY_EV_LIFTOFF) { in cyttsp4_get_mt_touches()
899 __func__, t, tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
914 tch.abs[CY_TCH_X + j]); in cyttsp4_get_mt_touches()
923 if (tch.abs[CY_TCH_P] > 0 && tch.abs[CY_TCH_MAJ] == 0) in cyttsp4_get_mt_touches()
924 tch.abs[CY_TCH_MAJ] = tch.abs[CY_TCH_MIN] = 1; in cyttsp4_get_mt_touches()
933 tch.abs[CY_TCH_MAJ + j]); in cyttsp4_get_mt_touches()
942 tch.abs[CY_TCH_X], in cyttsp4_get_mt_touches()
943 tch.abs[CY_TCH_Y], in cyttsp4_get_mt_touches()
944 tch.abs[CY_TCH_P], in cyttsp4_get_mt_touches()
945 tch.abs[CY_TCH_MAJ], in cyttsp4_get_mt_touches()
946 tch.abs[CY_TCH_MIN], in cyttsp4_get_mt_touches()
947 tch.abs[CY_TCH_OR], in cyttsp4_get_mt_touches()
948 tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
953 tch.abs[CY_TCH_X], in cyttsp4_get_mt_touches()
954 tch.abs[CY_TCH_Y], in cyttsp4_get_mt_touches()
955 tch.abs[CY_TCH_P], in cyttsp4_get_mt_touches()
956 tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()