Lines Matching refs:loop
468 INT loop; in _gx_touch_driver_generic_resistive_raw_read() local
491 loop = 0; in _gx_touch_driver_generic_resistive_raw_read()
494 while(loop < sample_size) in _gx_touch_driver_generic_resistive_raw_read()
496 samples[loop].gx_point_x = (GX_VALUE) read_function(GX_TOUCH_X_AXIS); in _gx_touch_driver_generic_resistive_raw_read()
497 samples[loop].gx_point_y = (GX_VALUE) read_function(GX_TOUCH_Y_AXIS); in _gx_touch_driver_generic_resistive_raw_read()
499 if (loop > 0) in _gx_touch_driver_generic_resistive_raw_read()
501 delta_x = GX_ABS(samples[loop].gx_point_x - samples[loop - 1].gx_point_x); in _gx_touch_driver_generic_resistive_raw_read()
507 delta_y = GX_ABS(samples[loop].gx_point_y - samples[loop - 1].gx_point_y); in _gx_touch_driver_generic_resistive_raw_read()
514 loop++; in _gx_touch_driver_generic_resistive_raw_read()
529 for (loop = 0; loop < sample_size; loop++) in _gx_touch_driver_generic_resistive_raw_read()
531 delta_x += samples[loop].gx_point_x; in _gx_touch_driver_generic_resistive_raw_read()
532 delta_y += samples[loop].gx_point_y; in _gx_touch_driver_generic_resistive_raw_read()