Lines Matching refs:read_buf
2981 if (NULL == fh->cap.read_buf) { in bttv_poll()
2985 fh->cap.read_buf = videobuf_sg_alloc(fh->cap.msize); in bttv_poll()
2986 if (NULL == fh->cap.read_buf) in bttv_poll()
2988 fh->cap.read_buf->memory = V4L2_MEMORY_USERPTR; in bttv_poll()
2990 if (0 != fh->cap.ops->buf_prepare(&fh->cap,fh->cap.read_buf,field)) { in bttv_poll()
2991 kfree (fh->cap.read_buf); in bttv_poll()
2992 fh->cap.read_buf = NULL; in bttv_poll()
2995 fh->cap.ops->buf_queue(&fh->cap,fh->cap.read_buf); in bttv_poll()
2998 buf = (struct bttv_buffer*)fh->cap.read_buf; in bttv_poll()
3093 if (fh->cap.read_buf) { in bttv_release()
3094 buffer_release(&fh->cap,fh->cap.read_buf); in bttv_release()
3095 kfree(fh->cap.read_buf); in bttv_release()