Lines Matching defs:s_unit_2
595 int s_unit_2;
616 s_unit_2 = (int) round2 ((dev->optionw[X2_OFFSET] / ((double) MAX_X_S))
618 if (abs (s_unit_2 - s_unit) < MIN_SCAN_ZONE)
619 s_unit = s_unit_2 - MIN_SCAN_ZONE;
632 s_unit_2 = (int) round2 ((dev->optionw[X1_OFFSET] / ((double) MAX_X_S))
634 if (abs (s_unit_2 - s_unit) < MIN_SCAN_ZONE)
635 s_unit = s_unit_2 + MIN_SCAN_ZONE;
647 s_unit_2 = (int) round2 ((dev->optionw[Y2_OFFSET] / ((double) MAX_Y_S))
649 if (abs (s_unit_2 - s_unit) < MIN_SCAN_ZONE)
650 s_unit = s_unit_2 - MIN_SCAN_ZONE;
663 s_unit_2 = (int) round2 ((dev->optionw[Y1_OFFSET] / ((double) MAX_Y_S))
665 if (abs (s_unit_2 - s_unit) < MIN_SCAN_ZONE)
666 s_unit = s_unit_2 + MIN_SCAN_ZONE;