Lines Matching refs:read_buf
2977 if (NULL == fh->cap.read_buf) { in bttv_poll()
2981 fh->cap.read_buf = videobuf_sg_alloc(fh->cap.msize); in bttv_poll()
2982 if (NULL == fh->cap.read_buf) in bttv_poll()
2984 fh->cap.read_buf->memory = V4L2_MEMORY_USERPTR; in bttv_poll()
2986 if (0 != fh->cap.ops->buf_prepare(&fh->cap,fh->cap.read_buf,field)) { in bttv_poll()
2987 kfree (fh->cap.read_buf); in bttv_poll()
2988 fh->cap.read_buf = NULL; in bttv_poll()
2991 fh->cap.ops->buf_queue(&fh->cap,fh->cap.read_buf); in bttv_poll()
2994 buf = (struct bttv_buffer*)fh->cap.read_buf; in bttv_poll()
3089 if (fh->cap.read_buf) { in bttv_release()
3090 buffer_release(&fh->cap,fh->cap.read_buf); in bttv_release()
3091 kfree(fh->cap.read_buf); in bttv_release()