Lines Matching refs:creads
228 unsigned int creads = ts_dev->coordinate_readouts; in titsc_read_coordinates() local
230 for (i = 0; i < creads; i++) { in titsc_read_coordinates()
240 for (i = 0; i < creads; i++) { in titsc_read_coordinates()
252 if (creads <= 3) { in titsc_read_coordinates()
253 for (i = 0; i < creads; i++) { in titsc_read_coordinates()
257 ysum /= creads; in titsc_read_coordinates()
258 xsum /= creads; in titsc_read_coordinates()
260 sort(yvals, creads, sizeof(unsigned int), in titsc_read_coordinates()
262 sort(xvals, creads, sizeof(unsigned int), in titsc_read_coordinates()
264 for (i = 1; i < creads - 1; i++) { in titsc_read_coordinates()
268 ysum /= creads - 2; in titsc_read_coordinates()
269 xsum /= creads - 2; in titsc_read_coordinates()