Lines Matching refs:tch
363 struct cyttsp4_tch_abs_params *tch; in cyttsp4_si_get_opcfg_data() local
403 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()
426 tch->bofs = (tch_new->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
843 struct cyttsp4_touch tch; in cyttsp4_get_mt_touches() local
850 cyttsp4_get_touch(md, &tch, si->xy_data + in cyttsp4_get_mt_touches()
852 if ((tch.abs[CY_TCH_T] < md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
854 (tch.abs[CY_TCH_T] > md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
857 __func__, i, tch.abs[CY_TCH_T], in cyttsp4_get_mt_touches()
867 t = tch.abs[CY_TCH_T] - md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
869 if (tch.abs[CY_TCH_E] == CY_EV_LIFTOFF) { in cyttsp4_get_mt_touches()
871 __func__, t, tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
886 tch.abs[CY_TCH_X + j]); in cyttsp4_get_mt_touches()
895 if (tch.abs[CY_TCH_P] > 0 && tch.abs[CY_TCH_MAJ] == 0) in cyttsp4_get_mt_touches()
896 tch.abs[CY_TCH_MAJ] = tch.abs[CY_TCH_MIN] = 1; in cyttsp4_get_mt_touches()
905 tch.abs[CY_TCH_MAJ + j]); in cyttsp4_get_mt_touches()
914 tch.abs[CY_TCH_X], in cyttsp4_get_mt_touches()
915 tch.abs[CY_TCH_Y], in cyttsp4_get_mt_touches()
916 tch.abs[CY_TCH_P], in cyttsp4_get_mt_touches()
917 tch.abs[CY_TCH_MAJ], in cyttsp4_get_mt_touches()
918 tch.abs[CY_TCH_MIN], in cyttsp4_get_mt_touches()
919 tch.abs[CY_TCH_OR], in cyttsp4_get_mt_touches()
920 tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
925 tch.abs[CY_TCH_X], in cyttsp4_get_mt_touches()
926 tch.abs[CY_TCH_Y], in cyttsp4_get_mt_touches()
927 tch.abs[CY_TCH_P], in cyttsp4_get_mt_touches()
928 tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()