Lines Matching defs:bytes_read
125 int bytes_read;
130 bytes_read = sizeof(HEADER)-1;
159 while (bytes_read < IMGSIZE) {
162 dev->bulk_in_buffer + bytes_read,
177 bytes_read += bulk_read;
182 for (bytes_read = sizeof(HEADER)-1 + WIDTH-1; bytes_read < IMGSIZE; bytes_read += WIDTH)
183 if (dev->bulk_in_buffer[bytes_read] != 0x00)
187 for (bytes_read = IMGSIZE-WIDTH; bytes_read < IMGSIZE-1; bytes_read++)
188 if (dev->bulk_in_buffer[bytes_read] != 0xFF)
197 bytes_read);