Searched refs:bytesread (Results 1 – 2 of 2) sorted by relevance
85 u16 bytesread; member
540 if (unlikely(cam->sof.bytesread >= sizeof(marker))) { in sn9c102_find_sof_header()541 cam->sof.header[cam->sof.bytesread] = *(m+i); in sn9c102_find_sof_header()542 if (++cam->sof.bytesread == soflen) { in sn9c102_find_sof_header()543 cam->sof.bytesread = 0; in sn9c102_find_sof_header()550 for (j = 0, b=cam->sof.bytesread; j+b < sizeof(marker); j++) { in sn9c102_find_sof_header()553 if (*(m+i+j) == marker[cam->sof.bytesread]) { in sn9c102_find_sof_header()554 cam->sof.header[cam->sof.bytesread] = *(m+i+j); in sn9c102_find_sof_header()555 if (++cam->sof.bytesread == sizeof(marker)) { in sn9c102_find_sof_header()562 cam->sof.bytesread = 0; in sn9c102_find_sof_header()705 cam->sof.bytesread = 0; in sn9c102_urb_complete()[all …]