Lines Matching refs:abs

365 	enum cyttsp4_tch_abs abs;  in cyttsp4_si_get_opcfg_data()  local
402 for (abs = CY_TCH_X; abs < CY_NUM_TCH_FIELDS; abs++) { in cyttsp4_si_get_opcfg_data()
403 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
404 tch_old = &si->si_ptrs.opcfg->tch_rec_old[abs]; in cyttsp4_si_get_opcfg_data()
419 for (i = 0; i < CY_NUM_EXT_TCH_FIELDS; abs++, i++) { in cyttsp4_si_get_opcfg_data()
420 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
430 for (abs = 0; abs < CY_TCH_NUM_ABS; abs++) { in cyttsp4_si_get_opcfg_data()
432 cyttsp4_tch_abs_string[abs]); in cyttsp4_si_get_opcfg_data()
434 si->si_ofs.tch_abs[abs].ofs); in cyttsp4_si_get_opcfg_data()
436 si->si_ofs.tch_abs[abs].size); in cyttsp4_si_get_opcfg_data()
438 si->si_ofs.tch_abs[abs].max); in cyttsp4_si_get_opcfg_data()
440 si->si_ofs.tch_abs[abs].bofs); in cyttsp4_si_get_opcfg_data()
777 enum cyttsp4_tch_abs abs; in cyttsp4_get_touch() local
780 for (abs = CY_TCH_X; abs < CY_TCH_NUM_ABS; abs++) { in cyttsp4_get_touch()
781 cyttsp4_get_touch_axis(md, &touch->abs[abs], in cyttsp4_get_touch()
782 si->si_ofs.tch_abs[abs].size, in cyttsp4_get_touch()
783 si->si_ofs.tch_abs[abs].max, in cyttsp4_get_touch()
784 xy_data + si->si_ofs.tch_abs[abs].ofs, in cyttsp4_get_touch()
785 si->si_ofs.tch_abs[abs].bofs); in cyttsp4_get_touch()
787 cyttsp4_tch_abs_string[abs], in cyttsp4_get_touch()
788 touch->abs[abs], touch->abs[abs]); in cyttsp4_get_touch()
792 swap(touch->abs[CY_TCH_X], touch->abs[CY_TCH_Y]); in cyttsp4_get_touch()
799 touch->abs[CY_TCH_X] = md->si->si_ofs.max_y - in cyttsp4_get_touch()
800 touch->abs[CY_TCH_X]; in cyttsp4_get_touch()
802 touch->abs[CY_TCH_X] = md->si->si_ofs.max_x - in cyttsp4_get_touch()
803 touch->abs[CY_TCH_X]; in cyttsp4_get_touch()
807 touch->abs[CY_TCH_Y] = md->si->si_ofs.max_x - in cyttsp4_get_touch()
808 touch->abs[CY_TCH_Y]; in cyttsp4_get_touch()
810 touch->abs[CY_TCH_Y] = md->si->si_ofs.max_y - in cyttsp4_get_touch()
811 touch->abs[CY_TCH_Y]; in cyttsp4_get_touch()
818 touch->abs[CY_TCH_X], touch->abs[CY_TCH_X], in cyttsp4_get_touch()
819 touch->abs[CY_TCH_Y], touch->abs[CY_TCH_Y]); in cyttsp4_get_touch()
849 if ((tch.abs[CY_TCH_T] < md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
851 (tch.abs[CY_TCH_T] > md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
854 __func__, i, tch.abs[CY_TCH_T], in cyttsp4_get_mt_touches()
855 md->pdata->frmwrk->abs[(CY_ABS_ID_OST * in cyttsp4_get_mt_touches()
861 sig = md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
864 t = tch.abs[CY_TCH_T] - md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
866 if (tch.abs[CY_TCH_E] == CY_EV_LIFTOFF) { in cyttsp4_get_mt_touches()
868 __func__, t, tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
879 sig = md->pdata->frmwrk->abs[((CY_ABS_X_OST + j) * in cyttsp4_get_mt_touches()
883 tch.abs[CY_TCH_X + j]); in cyttsp4_get_mt_touches()
892 if (tch.abs[CY_TCH_P] > 0 && tch.abs[CY_TCH_MAJ] == 0) in cyttsp4_get_mt_touches()
893 tch.abs[CY_TCH_MAJ] = tch.abs[CY_TCH_MIN] = 1; in cyttsp4_get_mt_touches()
897 sig = md->pdata->frmwrk->abs in cyttsp4_get_mt_touches()
902 tch.abs[CY_TCH_MAJ + j]); in cyttsp4_get_mt_touches()
911 tch.abs[CY_TCH_X], in cyttsp4_get_mt_touches()
912 tch.abs[CY_TCH_Y], in cyttsp4_get_mt_touches()
913 tch.abs[CY_TCH_P], in cyttsp4_get_mt_touches()
914 tch.abs[CY_TCH_MAJ], in cyttsp4_get_mt_touches()
915 tch.abs[CY_TCH_MIN], in cyttsp4_get_mt_touches()
916 tch.abs[CY_TCH_OR], in cyttsp4_get_mt_touches()
917 tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
922 tch.abs[CY_TCH_X], in cyttsp4_get_mt_touches()
923 tch.abs[CY_TCH_Y], in cyttsp4_get_mt_touches()
924 tch.abs[CY_TCH_P], in cyttsp4_get_mt_touches()
925 tch.abs[CY_TCH_E]); in cyttsp4_get_mt_touches()
1903 signal = md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1907 min = md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1909 max = md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1922 md->pdata->frmwrk->abs in cyttsp4_setup_input_device()
1924 md->pdata->frmwrk->abs in cyttsp4_setup_input_device()