Home
last modified time | relevance | path

Searched refs:bytesread (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/media/video/sn9c102/
Dsn9c102.h85 u16 bytesread; member
Dsn9c102_core.c540 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 …]