Lines Matching refs:tch
375 struct cyttsp4_tch_abs_params *tch; in cyttsp4_si_get_opcfg_data() local
422 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
425 tch->ofs = tch_old->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()
426 tch->size = cyttsp4_bits_2_bytes(tch_old->size, in cyttsp4_si_get_opcfg_data()
427 &tch->max); in cyttsp4_si_get_opcfg_data()
428 tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
439 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
442 tch->ofs = tch_new->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()
443 tch->size = cyttsp4_bits_2_bytes(tch_new->size, in cyttsp4_si_get_opcfg_data()
444 &tch->max); in cyttsp4_si_get_opcfg_data()
445 tch->bofs = (tch_new->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
858 struct cyttsp4_touch tch; in cyttsp4_get_mt_touches() local
865 cyttsp4_get_touch(md, &tch, si->xy_data + in cyttsp4_get_mt_touches()
867 if ((tch.abs[CY_TCH_T] < md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
869 (tch.abs[CY_TCH_T] > md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
872 __func__, i, tch.abs[CY_TCH_T], in cyttsp4_get_mt_touches()
882 t = tch.abs[CY_TCH_T] - md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
884 if (tch.abs[CY_TCH_E] == CY_EV_LIFTOFF) { in cyttsp4_get_mt_touches()
886 __func__, t, tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
901 tch.abs[CY_TCH_X + j]); in cyttsp4_get_mt_touches()
910 if (tch.abs[CY_TCH_P] > 0 && tch.abs[CY_TCH_MAJ] == 0) in cyttsp4_get_mt_touches()
911 tch.abs[CY_TCH_MAJ] = tch.abs[CY_TCH_MIN] = 1; in cyttsp4_get_mt_touches()
920 tch.abs[CY_TCH_MAJ + j]); in cyttsp4_get_mt_touches()
929 tch.abs[CY_TCH_X], in cyttsp4_get_mt_touches()
930 tch.abs[CY_TCH_Y], in cyttsp4_get_mt_touches()
931 tch.abs[CY_TCH_P], in cyttsp4_get_mt_touches()
932 tch.abs[CY_TCH_MAJ], in cyttsp4_get_mt_touches()
933 tch.abs[CY_TCH_MIN], in cyttsp4_get_mt_touches()
934 tch.abs[CY_TCH_OR], in cyttsp4_get_mt_touches()
935 tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
940 tch.abs[CY_TCH_X], in cyttsp4_get_mt_touches()
941 tch.abs[CY_TCH_Y], in cyttsp4_get_mt_touches()
942 tch.abs[CY_TCH_P], in cyttsp4_get_mt_touches()
943 tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()