Lines Matching refs:abs

377 	enum cyttsp4_tch_abs abs;  in cyttsp4_si_get_opcfg_data()  local
421 for (abs = CY_TCH_X; abs < CY_NUM_TCH_FIELDS; abs++) { in cyttsp4_si_get_opcfg_data()
422 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
423 tch_old = &si->si_ptrs.opcfg->tch_rec_old[abs]; in cyttsp4_si_get_opcfg_data()
438 for (i = 0; i < CY_NUM_EXT_TCH_FIELDS; abs++, i++) { in cyttsp4_si_get_opcfg_data()
439 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
449 for (abs = 0; abs < CY_TCH_NUM_ABS; abs++) { in cyttsp4_si_get_opcfg_data()
451 cyttsp4_tch_abs_string[abs]); in cyttsp4_si_get_opcfg_data()
453 si->si_ofs.tch_abs[abs].ofs); in cyttsp4_si_get_opcfg_data()
455 si->si_ofs.tch_abs[abs].size); in cyttsp4_si_get_opcfg_data()
457 si->si_ofs.tch_abs[abs].max); in cyttsp4_si_get_opcfg_data()
459 si->si_ofs.tch_abs[abs].bofs); in cyttsp4_si_get_opcfg_data()
794 enum cyttsp4_tch_abs abs; in cyttsp4_get_touch() local
797 for (abs = CY_TCH_X; abs < CY_TCH_NUM_ABS; abs++) { in cyttsp4_get_touch()
798 cyttsp4_get_touch_axis(md, &touch->abs[abs], in cyttsp4_get_touch()
799 si->si_ofs.tch_abs[abs].size, in cyttsp4_get_touch()
800 si->si_ofs.tch_abs[abs].max, in cyttsp4_get_touch()
801 xy_data + si->si_ofs.tch_abs[abs].ofs, in cyttsp4_get_touch()
802 si->si_ofs.tch_abs[abs].bofs); in cyttsp4_get_touch()
804 cyttsp4_tch_abs_string[abs], in cyttsp4_get_touch()
805 touch->abs[abs], touch->abs[abs]); in cyttsp4_get_touch()
809 swap(touch->abs[CY_TCH_X], touch->abs[CY_TCH_Y]); in cyttsp4_get_touch()
816 touch->abs[CY_TCH_X] = md->si->si_ofs.max_y - in cyttsp4_get_touch()
817 touch->abs[CY_TCH_X]; in cyttsp4_get_touch()
819 touch->abs[CY_TCH_X] = md->si->si_ofs.max_x - in cyttsp4_get_touch()
820 touch->abs[CY_TCH_X]; in cyttsp4_get_touch()
824 touch->abs[CY_TCH_Y] = md->si->si_ofs.max_x - in cyttsp4_get_touch()
825 touch->abs[CY_TCH_Y]; in cyttsp4_get_touch()
827 touch->abs[CY_TCH_Y] = md->si->si_ofs.max_y - in cyttsp4_get_touch()
828 touch->abs[CY_TCH_Y]; in cyttsp4_get_touch()
835 touch->abs[CY_TCH_X], touch->abs[CY_TCH_X], in cyttsp4_get_touch()
836 touch->abs[CY_TCH_Y], touch->abs[CY_TCH_Y]); in cyttsp4_get_touch()
866 if ((tch.abs[CY_TCH_T] < md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
868 (tch.abs[CY_TCH_T] > md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
871 __func__, i, tch.abs[CY_TCH_T], in cyttsp4_get_mt_touches()
872 md->pdata->frmwrk->abs[(CY_ABS_ID_OST * in cyttsp4_get_mt_touches()
878 sig = md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
881 t = tch.abs[CY_TCH_T] - md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
883 if (tch.abs[CY_TCH_E] == CY_EV_LIFTOFF) { in cyttsp4_get_mt_touches()
885 __func__, t, tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
896 sig = md->pdata->frmwrk->abs[((CY_ABS_X_OST + j) * in cyttsp4_get_mt_touches()
900 tch.abs[CY_TCH_X + j]); in cyttsp4_get_mt_touches()
909 if (tch.abs[CY_TCH_P] > 0 && tch.abs[CY_TCH_MAJ] == 0) in cyttsp4_get_mt_touches()
910 tch.abs[CY_TCH_MAJ] = tch.abs[CY_TCH_MIN] = 1; in cyttsp4_get_mt_touches()
914 sig = md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
919 tch.abs[CY_TCH_MAJ + j]); in cyttsp4_get_mt_touches()
928 tch.abs[CY_TCH_X], in cyttsp4_get_mt_touches()
929 tch.abs[CY_TCH_Y], in cyttsp4_get_mt_touches()
930 tch.abs[CY_TCH_P], in cyttsp4_get_mt_touches()
931 tch.abs[CY_TCH_MAJ], in cyttsp4_get_mt_touches()
932 tch.abs[CY_TCH_MIN], in cyttsp4_get_mt_touches()
933 tch.abs[CY_TCH_OR], in cyttsp4_get_mt_touches()
934 tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
939 tch.abs[CY_TCH_X], in cyttsp4_get_mt_touches()
940 tch.abs[CY_TCH_Y], in cyttsp4_get_mt_touches()
941 tch.abs[CY_TCH_P], in cyttsp4_get_mt_touches()
942 tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
1920 signal = md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1924 min = md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1926 max = md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1939 md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1941 md->pdata->frmwrk->abs in cyttsp4_setup_input_device()