Home
last modified time | relevance | path

Searched refs:v4l2_buffer (Results 1 – 25 of 83) sorted by relevance

1234

/linux-3.4.99/drivers/staging/media/easycap/
Deasycap_ioctl.c2041 struct v4l2_buffer v4l2_buffer; in easycap_unlocked_ioctl() local
2052 if (0 != copy_from_user(&v4l2_buffer, (void __user *)arg, in easycap_unlocked_ioctl()
2053 sizeof(struct v4l2_buffer))) { in easycap_unlocked_ioctl()
2058 if (v4l2_buffer.type != V4L2_BUF_TYPE_VIDEO_CAPTURE) { in easycap_unlocked_ioctl()
2062 index = v4l2_buffer.index; in easycap_unlocked_ioctl()
2065 memset(&v4l2_buffer, 0, sizeof(struct v4l2_buffer)); in easycap_unlocked_ioctl()
2066 v4l2_buffer.index = index; in easycap_unlocked_ioctl()
2067 v4l2_buffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in easycap_unlocked_ioctl()
2068 v4l2_buffer.bytesused = peasycap->frame_buffer_used; in easycap_unlocked_ioctl()
2069 v4l2_buffer.flags = V4L2_BUF_FLAG_MAPPED | in easycap_unlocked_ioctl()
[all …]
/linux-3.4.99/drivers/media/video/omap3isp/
Dispqueue.h104 struct v4l2_buffer vbuf;
174 struct v4l2_buffer *vbuf);
176 struct v4l2_buffer *vbuf);
178 struct v4l2_buffer *vbuf, int nonblocking);
Dispqueue.c546 struct v4l2_buffer *vbuf) in isp_video_buffer_query()
811 struct v4l2_buffer *vbuf) in omap3isp_video_queue_querybuf()
848 struct v4l2_buffer *vbuf) in omap3isp_video_queue_qbuf()
920 struct v4l2_buffer *vbuf, int nonblocking) in omap3isp_video_queue_dqbuf()
/linux-3.4.99/include/media/
Dvideobuf2-core.h153 struct v4l2_buffer v4l2_buf;
308 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b);
312 int vb2_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b);
318 int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b);
319 int vb2_dqbuf(struct vb2_queue *q, struct v4l2_buffer *b, bool nonblocking);
Dv4l2-mem2mem.h107 struct v4l2_buffer *buf);
110 struct v4l2_buffer *buf);
112 struct v4l2_buffer *buf);
Dvideobuf-core.h206 int videobuf_querybuf(struct videobuf_queue *q, struct v4l2_buffer *b);
208 struct v4l2_buffer *b);
210 struct v4l2_buffer *b, int nonblocking);
Dv4l2-ioctl.h120 int (*vidioc_querybuf)(struct file *file, void *fh, struct v4l2_buffer *b);
121 int (*vidioc_qbuf) (struct file *file, void *fh, struct v4l2_buffer *b);
122 int (*vidioc_dqbuf) (struct file *file, void *fh, struct v4l2_buffer *b);
125 int (*vidioc_prepare_buf)(struct file *file, void *fh, struct v4l2_buffer *b);
/linux-3.4.99/drivers/media/video/
Dvideobuf2-core.c274 static int __verify_planes_array(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_planes_array()
331 static int __fill_v4l2_buffer(struct vb2_buffer *vb, struct v4l2_buffer *b) in __fill_v4l2_buffer()
337 memcpy(b, &vb->v4l2_buf, offsetof(struct v4l2_buffer, m)); in __fill_v4l2_buffer()
408 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf()
805 static int __fill_vb2_buffer(struct vb2_buffer *vb, const struct v4l2_buffer *b, in __fill_vb2_buffer()
869 static int __qbuf_userptr(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __qbuf_userptr()
954 static int __qbuf_mmap(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __qbuf_mmap()
971 static int __buf_prepare(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __buf_prepare()
1013 int vb2_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_prepare_buf()
1077 int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_qbuf()
[all …]
Dv4l2-mem2mem.c311 struct v4l2_buffer *buf) in v4l2_m2m_querybuf()
340 struct v4l2_buffer *buf) in v4l2_m2m_qbuf()
359 struct v4l2_buffer *buf) in v4l2_m2m_dqbuf()
Dstk-webcam.h51 struct v4l2_buffer v4lbuf;
Dvideobuf-core.c316 static void videobuf_status(struct videobuf_queue *q, struct v4l2_buffer *b, in videobuf_status()
500 int videobuf_querybuf(struct videobuf_queue *q, struct v4l2_buffer *b) in videobuf_querybuf()
527 int videobuf_qbuf(struct videobuf_queue *q, struct v4l2_buffer *b) in videobuf_qbuf()
705 struct v4l2_buffer *b, int nonblocking) in videobuf_dqbuf()
Dtimblogiw.c297 struct v4l2_buffer *b) in timblogiw_querybuf()
307 static int timblogiw_qbuf(struct file *file, void *priv, struct v4l2_buffer *b) in timblogiw_qbuf()
318 struct v4l2_buffer *b) in timblogiw_dqbuf()
/linux-3.4.99/drivers/media/video/uvc/
Duvcvideo.h594 struct v4l2_buffer *v4l2_buf);
596 struct v4l2_buffer *v4l2_buf);
598 struct v4l2_buffer *v4l2_buf, int nonblocking);
634 struct v4l2_buffer *v4l2_buf,
Duvc_queue.c165 int uvc_query_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf) in uvc_query_buffer()
176 int uvc_queue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf) in uvc_queue_buffer()
187 int uvc_dequeue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *buf, in uvc_dequeue_buffer()
/linux-3.4.99/drivers/usb/gadget/
Duvc_queue.c177 struct v4l2_buffer *v4l2_buf) in __uvc_query_buffer()
200 uvc_query_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *v4l2_buf) in uvc_query_buffer()
222 uvc_queue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *v4l2_buf) in uvc_queue_buffer()
303 uvc_dequeue_buffer(struct uvc_video_queue *queue, struct v4l2_buffer *v4l2_buf, in uvc_dequeue_buffer()
Duvc_queue.h32 struct v4l2_buffer buf;
/linux-3.4.99/drivers/media/video/tm6000/
Dtm6000.h364 struct v4l2_buffer *b);
365 int tm6000_vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *b);
366 int tm6000_vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b);
/linux-3.4.99/drivers/media/video/cx25821/
Dcx25821-video.h136 struct v4l2_buffer *p);
138 struct v4l2_buffer *p);
/linux-3.4.99/drivers/media/video/saa7134/
Dsaa7134-empress.c271 struct v4l2_buffer *b) in empress_querybuf()
278 static int empress_qbuf(struct file *file, void *priv, struct v4l2_buffer *b) in empress_qbuf()
285 static int empress_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b) in empress_dqbuf()
/linux-3.4.99/drivers/media/video/et61x251/
Det61x251.h79 struct v4l2_buffer buf;
/linux-3.4.99/drivers/media/video/sn9c102/
Dsn9c102.h56 struct v4l2_buffer buf;
/linux-3.4.99/drivers/media/video/gspca/
Dgspca.h155 struct v4l2_buffer v4l2_buf;
/linux-3.4.99/include/linux/
Dvideodev2.h637 struct v4l2_buffer { struct
2317 #define VIDIOC_QUERYBUF _IOWR('V', 9, struct v4l2_buffer)
2321 #define VIDIOC_QBUF _IOWR('V', 15, struct v4l2_buffer)
2322 #define VIDIOC_DQBUF _IOWR('V', 17, struct v4l2_buffer)
2400 #define VIDIOC_PREPARE_BUF _IOWR('V', 93, struct v4l2_buffer)
/linux-3.4.99/drivers/staging/media/solo6x10/
Dv4l2.c738 static int solo_querybuf(struct file *file, void *priv, struct v4l2_buffer *buf) in solo_querybuf()
745 static int solo_qbuf(struct file *file, void *priv, struct v4l2_buffer *buf) in solo_qbuf()
752 static int solo_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf) in solo_dqbuf()
/linux-3.4.99/drivers/media/video/s5p-g2d/
Dg2d.c421 struct v4l2_buffer *buf) in vidioc_querybuf()
427 static int vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *buf) in vidioc_qbuf()
433 static int vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf) in vidioc_dqbuf()

1234