Lines Matching defs:frm
512 struct zr364xx_framei *frm;
519 frm = &cam->buffer.frame[last_frame];
590 struct zr364xx_framei *frm;
596 frm = &cam->buffer.frame[idx];
608 frm->ulState = ZR364XX_READ_IDLE;
613 ptr = pdest = frm->lpvbits;
615 if (frm->ulState == ZR364XX_READ_IDLE) {
616 frm->ulState = ZR364XX_READ_FRAME;
617 frm->cur_size = 0;
641 frm->cur_size = ptr - pdest;
643 if (frm->cur_size + purb->actual_length > MAX_FRAME_SIZE) {
649 pdest += frm->cur_size;
651 frm->cur_size += purb->actual_length;
654 /*_DBG("cur_size %lu urb size %d\n", frm->cur_size,
667 ptr = pdest = frm->lpvbits;
668 ptr += frm->cur_size - 2;
694 frm->cur_size,
698 zr364xx_got_frame(cam, frm->cur_size);
702 frm->ulState = ZR364XX_READ_IDLE;
703 frm->cur_size = 0;