Lines Matching refs:frm
557 struct zr364xx_framei *frm = &cam->buffer.frame[idx]; in zr364xx_read_video_callback() local
573 frm->ulState = ZR364XX_READ_IDLE; in zr364xx_read_video_callback()
578 ptr = pdest = frm->lpvbits; in zr364xx_read_video_callback()
580 if (frm->ulState == ZR364XX_READ_IDLE) { in zr364xx_read_video_callback()
589 frm->ulState = ZR364XX_READ_FRAME; in zr364xx_read_video_callback()
590 frm->cur_size = 0; in zr364xx_read_video_callback()
614 frm->cur_size = ptr - pdest; in zr364xx_read_video_callback()
616 if (frm->cur_size + purb->actual_length > MAX_FRAME_SIZE) { in zr364xx_read_video_callback()
621 pdest += frm->cur_size; in zr364xx_read_video_callback()
623 frm->cur_size += purb->actual_length; in zr364xx_read_video_callback()
639 ptr = pdest = frm->lpvbits; in zr364xx_read_video_callback()
640 ptr += frm->cur_size - 2; in zr364xx_read_video_callback()
666 frm->cur_size, in zr364xx_read_video_callback()
670 zr364xx_got_frame(cam, frm->cur_size); in zr364xx_read_video_callback()
674 frm->ulState = ZR364XX_READ_IDLE; in zr364xx_read_video_callback()
675 frm->cur_size = 0; in zr364xx_read_video_callback()