Searched refs:xy_acc (Results 1 – 1 of 1) sorted by relevance
210 int xy_acc[ATP_XSENSORS + ATP_YSENSORS]; member535 dev->xy_acc[i] -= change; in atp_complete_geyser_1_2()538 if (dev->xy_acc[i] < 0) in atp_complete_geyser_1_2()539 dev->xy_acc[i] = 0; in atp_complete_geyser_1_2()544 dbg_dump("accumulator", dev->xy_acc); in atp_complete_geyser_1_2()546 x = atp_calculate_abs(dev->xy_acc, ATP_XSENSORS, in atp_complete_geyser_1_2()548 y = atp_calculate_abs(dev->xy_acc + ATP_XSENSORS, ATP_YSENSORS, in atp_complete_geyser_1_2()582 memset(dev->xy_acc, 0, sizeof(dev->xy_acc)); in atp_complete_geyser_1_2()641 dev->xy_acc[i] = dev->xy_cur[i] - dev->xy_old[i]; in atp_complete_geyser_3_4()644 if (dev->xy_acc[i] > 127) in atp_complete_geyser_3_4()[all …]