Lines Matching refs:rb
1371 struct v4l2_requestbuffers *rb) in vidioc_reqbufs() argument
1376 i = rb->memory; /* (avoid compilation warning) */ in vidioc_reqbufs()
1390 && gspca_dev->memory != rb->memory) { in vidioc_reqbufs()
1424 if (rb->count == 0) /* unrequest */ in vidioc_reqbufs()
1426 ret = frame_alloc(gspca_dev, file, rb->memory, rb->count); in vidioc_reqbufs()
1428 rb->count = gspca_dev->nframes; in vidioc_reqbufs()
1434 PDEBUG(D_STREAM, "reqbufs st:%d c:%d", ret, rb->count); in vidioc_reqbufs()
1823 struct v4l2_requestbuffers rb; in read_alloc() local
1825 memset(&rb, 0, sizeof rb); in read_alloc()
1826 rb.count = gspca_dev->nbufread; in read_alloc()
1827 rb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in read_alloc()
1828 rb.memory = GSPCA_MEMORY_READ; in read_alloc()
1829 ret = vidioc_reqbufs(file, gspca_dev, &rb); in read_alloc()