Lines Matching refs:v4lbuf
133 struct v4l2_buffer v4lbuf; member
1141 buf->v4lbuf.length = PAGE_ALIGN(cam->pix_format.sizeimage); in cafe_setup_siobuf()
1142 buf->buffer = vmalloc_user(buf->v4lbuf.length); in cafe_setup_siobuf()
1148 buf->v4lbuf.index = index; in cafe_setup_siobuf()
1149 buf->v4lbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in cafe_setup_siobuf()
1150 buf->v4lbuf.field = V4L2_FIELD_NONE; in cafe_setup_siobuf()
1151 buf->v4lbuf.memory = V4L2_MEMORY_MMAP; in cafe_setup_siobuf()
1158 buf->v4lbuf.m.offset = 2*index*buf->v4lbuf.length; in cafe_setup_siobuf()
1262 *buf = cam->sb_bufs[buf->index].v4lbuf; in cafe_vidioc_querybuf()
1281 if (sbuf->v4lbuf.flags & V4L2_BUF_FLAG_QUEUED) { in cafe_vidioc_qbuf()
1285 if (sbuf->v4lbuf.flags & V4L2_BUF_FLAG_DONE) { in cafe_vidioc_qbuf()
1290 sbuf->v4lbuf.flags |= V4L2_BUF_FLAG_QUEUED; in cafe_vidioc_qbuf()
1335 sbuf->v4lbuf.flags &= ~V4L2_BUF_FLAG_DONE; in cafe_vidioc_dqbuf()
1336 *buf = sbuf->v4lbuf; in cafe_vidioc_dqbuf()
1367 sbuf->v4lbuf.flags &= ~V4L2_BUF_FLAG_MAPPED; in cafe_v4l_vm_close()
1392 if (cam->sb_bufs[i].v4lbuf.m.offset == offset) { in cafe_v4l_mmap()
1405 sbuf->v4lbuf.flags |= V4L2_BUF_FLAG_MAPPED; in cafe_v4l_mmap()
1856 sbuf->v4lbuf.bytesused = cam->pix_format.sizeimage; in cafe_frame_tasklet()
1857 sbuf->v4lbuf.sequence = cam->buf_seq[bufno]; in cafe_frame_tasklet()
1858 sbuf->v4lbuf.flags &= ~V4L2_BUF_FLAG_QUEUED; in cafe_frame_tasklet()
1859 sbuf->v4lbuf.flags |= V4L2_BUF_FLAG_DONE; in cafe_frame_tasklet()