Lines Matching refs:abs

391 	enum cyttsp4_tch_abs abs;  in cyttsp4_si_get_opcfg_data()  local
435 for (abs = CY_TCH_X; abs < CY_NUM_TCH_FIELDS; abs++) { in cyttsp4_si_get_opcfg_data()
436 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
437 tch_old = &si->si_ptrs.opcfg->tch_rec_old[abs]; in cyttsp4_si_get_opcfg_data()
452 for (i = 0; i < CY_NUM_EXT_TCH_FIELDS; abs++, i++) { in cyttsp4_si_get_opcfg_data()
453 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
463 for (abs = 0; abs < CY_TCH_NUM_ABS; abs++) { in cyttsp4_si_get_opcfg_data()
465 cyttsp4_tch_abs_string[abs]); in cyttsp4_si_get_opcfg_data()
467 si->si_ofs.tch_abs[abs].ofs); in cyttsp4_si_get_opcfg_data()
469 si->si_ofs.tch_abs[abs].size); in cyttsp4_si_get_opcfg_data()
471 si->si_ofs.tch_abs[abs].max); in cyttsp4_si_get_opcfg_data()
473 si->si_ofs.tch_abs[abs].bofs); in cyttsp4_si_get_opcfg_data()
808 enum cyttsp4_tch_abs abs; in cyttsp4_get_touch() local
811 for (abs = CY_TCH_X; abs < CY_TCH_NUM_ABS; abs++) { in cyttsp4_get_touch()
812 cyttsp4_get_touch_axis(md, &touch->abs[abs], in cyttsp4_get_touch()
813 si->si_ofs.tch_abs[abs].size, in cyttsp4_get_touch()
814 si->si_ofs.tch_abs[abs].max, in cyttsp4_get_touch()
815 xy_data + si->si_ofs.tch_abs[abs].ofs, in cyttsp4_get_touch()
816 si->si_ofs.tch_abs[abs].bofs); in cyttsp4_get_touch()
818 cyttsp4_tch_abs_string[abs], in cyttsp4_get_touch()
819 touch->abs[abs], touch->abs[abs]); in cyttsp4_get_touch()
823 swap(touch->abs[CY_TCH_X], touch->abs[CY_TCH_Y]); in cyttsp4_get_touch()
830 touch->abs[CY_TCH_X] = md->si->si_ofs.max_y - in cyttsp4_get_touch()
831 touch->abs[CY_TCH_X]; in cyttsp4_get_touch()
833 touch->abs[CY_TCH_X] = md->si->si_ofs.max_x - in cyttsp4_get_touch()
834 touch->abs[CY_TCH_X]; in cyttsp4_get_touch()
838 touch->abs[CY_TCH_Y] = md->si->si_ofs.max_x - in cyttsp4_get_touch()
839 touch->abs[CY_TCH_Y]; in cyttsp4_get_touch()
841 touch->abs[CY_TCH_Y] = md->si->si_ofs.max_y - in cyttsp4_get_touch()
842 touch->abs[CY_TCH_Y]; in cyttsp4_get_touch()
849 touch->abs[CY_TCH_X], touch->abs[CY_TCH_X], in cyttsp4_get_touch()
850 touch->abs[CY_TCH_Y], touch->abs[CY_TCH_Y]); in cyttsp4_get_touch()
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()
886 md->pdata->frmwrk->abs[(CY_ABS_ID_OST * in cyttsp4_get_mt_touches()
892 sig = md->pdata->frmwrk->abs 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()
910 sig = md->pdata->frmwrk->abs[((CY_ABS_X_OST + j) * 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()
928 sig = md->pdata->frmwrk->abs 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()
1928 signal = md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1932 min = md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1934 max = md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1947 md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1949 md->pdata->frmwrk->abs in cyttsp4_setup_input_device()