Lines Matching refs:ATP_XSENSORS
147 #define ATP_XSENSORS 26 macro
210 signed char xy_cur[ATP_XSENSORS + ATP_YSENSORS];
211 signed char xy_old[ATP_XSENSORS + ATP_YSENSORS];
212 int xy_acc[ATP_XSENSORS + ATP_YSENSORS];
223 for (__i = 0; __i < ATP_XSENSORS + ATP_YSENSORS; __i++) \
494 for (i = dev->info->xsensors; i < ATP_XSENSORS; i++) { in atp_detect_size()
546 dev->xy_cur[ATP_XSENSORS + i] = dev->data[j]; in atp_complete_geyser_1_2()
547 dev->xy_cur[ATP_XSENSORS + i + 1] = dev->data[j + 1]; in atp_complete_geyser_1_2()
559 dev->xy_cur[ATP_XSENSORS + i] = dev->data[5 * i + 1]; in atp_complete_geyser_1_2()
560 dev->xy_cur[ATP_XSENSORS + i + 8] = dev->data[5 * i + 3]; in atp_complete_geyser_1_2()
582 for (i = 0; i < ATP_XSENSORS + ATP_YSENSORS; i++) { in atp_complete_geyser_1_2()
596 x = atp_calculate_abs(dev, 0, ATP_XSENSORS, in atp_complete_geyser_1_2()
598 y = atp_calculate_abs(dev, ATP_XSENSORS, ATP_YSENSORS, in atp_complete_geyser_1_2()
682 dev->xy_cur[ATP_XSENSORS + i] = dev->data[j + 1]; in atp_complete_geyser_3_4()
683 dev->xy_cur[ATP_XSENSORS + i + 1] = dev->data[j + 2]; in atp_complete_geyser_3_4()
697 for (i = 0; i < ATP_XSENSORS + ATP_YSENSORS; i++) { in atp_complete_geyser_3_4()
715 x = atp_calculate_abs(dev, 0, ATP_XSENSORS, in atp_complete_geyser_3_4()
717 y = atp_calculate_abs(dev, ATP_XSENSORS, ATP_YSENSORS, in atp_complete_geyser_3_4()