Lines Matching refs:read_buf
2982 if (NULL == fh->cap.read_buf) { in bttv_poll()
2986 fh->cap.read_buf = videobuf_sg_alloc(fh->cap.msize); in bttv_poll()
2987 if (NULL == fh->cap.read_buf) in bttv_poll()
2989 fh->cap.read_buf->memory = V4L2_MEMORY_USERPTR; in bttv_poll()
2991 if (0 != fh->cap.ops->buf_prepare(&fh->cap,fh->cap.read_buf,field)) { in bttv_poll()
2992 kfree (fh->cap.read_buf); in bttv_poll()
2993 fh->cap.read_buf = NULL; in bttv_poll()
2996 fh->cap.ops->buf_queue(&fh->cap,fh->cap.read_buf); in bttv_poll()
2999 buf = (struct bttv_buffer*)fh->cap.read_buf; in bttv_poll()
3094 if (fh->cap.read_buf) { in bttv_release()
3095 buffer_release(&fh->cap,fh->cap.read_buf); in bttv_release()
3096 kfree(fh->cap.read_buf); in bttv_release()