/Linux-v4.19/include/media/ |
D | v4l2-event.h | 27 struct v4l2_fh; 81 struct v4l2_fh *fh; 97 int v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event, 127 void v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev); 136 int v4l2_event_pending(struct v4l2_fh *fh); 151 int v4l2_event_subscribe(struct v4l2_fh *fh, 161 int v4l2_event_unsubscribe(struct v4l2_fh *fh, 168 void v4l2_event_unsubscribe_all(struct v4l2_fh *fh); 183 struct v4l2_fh *fh, 192 int v4l2_src_change_event_subscribe(struct v4l2_fh *fh, [all …]
|
D | v4l2-fh.h | 50 struct v4l2_fh { struct 80 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev); 90 void v4l2_fh_add(struct v4l2_fh *fh); 115 void v4l2_fh_del(struct v4l2_fh *fh); 129 void v4l2_fh_exit(struct v4l2_fh *fh); 153 int v4l2_fh_is_singular(struct v4l2_fh *fh);
|
D | v4l2-ctrls.h | 32 struct v4l2_fh; 1037 int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh, 1107 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, 1144 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, 1156 int v4l2_ctrl_subdev_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh,
|
D | v4l2-subdev.h | 45 struct v4l2_fh; 217 int (*subscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh, 219 int (*unsubscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh, 900 struct v4l2_fh vfh;
|
D | v4l2-ioctl.h | 20 struct v4l2_fh; 581 int (*vidioc_subscribe_event)(struct v4l2_fh *fh, 583 int (*vidioc_unsubscribe_event)(struct v4l2_fh *fh,
|
/Linux-v4.19/Documentation/media/kapi/ |
D | v4l2-fh.rst | 4 struct :c:type:`v4l2_fh` provides a way to easily keep file handle specific 8 New drivers must use struct :c:type:`v4l2_fh` 12 The users of :c:type:`v4l2_fh` (in the V4L2 framework, not the driver) know 13 whether a driver uses :c:type:`v4l2_fh` as its ``file->private_data`` pointer 17 struct :c:type:`v4l2_fh` is allocated as a part of the driver's own file handle 21 In many cases the struct :c:type:`v4l2_fh` will be embedded in a larger 36 struct v4l2_fh fh; 64 struct v4l2_fh *fh = file->private_data; 74 Below is a short description of the :c:type:`v4l2_fh` functions used: 77 (:c:type:`fh <v4l2_fh>`, :c:type:`vdev <video_device>`) [all …]
|
D | v4l2-event.rst | 6 The driver must use :c:type:`v4l2_fh` to be able to support V4L2 events. 13 The :c:type:`v4l2_fh` struct has a list of subscribed events on its 17 struct is added to :c:type:`v4l2_fh`\ ``.subscribed``, one for every 35 list of the :c:type:`v4l2_fh` struct so :ref:`VIDIOC_DQEVENT` will 46 - struct :c:type:`v4l2_fh` has two lists: one of the ``subscribed`` events, 95 (:c:type:`fh <v4l2_fh>`, :c:type:`sub <v4l2_event_subscription>` , 132 (:c:type:`fh <v4l2_fh>`, :c:type:`sub <v4l2_event_subscription>`) 148 (:c:type:`fh <v4l2_fh>`) 158 can use :c:type:`v4l2_fh`->wait (a wait_queue_head_t) as the argument for
|
/Linux-v4.19/Documentation/translations/zh_CN/video4linux/ |
D | v4l2-framework.txt | 86 结构体保存 V4L2 设备节点的数据;将来 v4l2_fh 结构体将跟踪文件句柄 783 v4l2_fh 结构体 786 v4l2_fh 结构体提供一个保存用于 V4L2 框架的文件句柄特定数据的简单方法。 788 必须使用 v4l2_fh 结构体,因为它也用于实现优先级处理(VIDIOC_G/S_PRIORITY)。 790 v4l2_fh 的用户(位于 V4l2 框架中,并非驱动)可通过测试 792 v4l2_fh 作为他的 file->private_data 指针。这个位会在调用 v4l2_fh_init() 795 v4l2_fh 结构体作为驱动自身文件句柄结构体的一部分被分配,且驱动在 798 在许多情况下,v4l2_fh 结构体会嵌入到一个更大的结构体中。这钟情况下, 806 struct v4l2_fh fh; 834 struct v4l2_fh *fh = file->private_data; [all …]
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | v4l2-fh.c | 29 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev) in v4l2_fh_init() 52 void v4l2_fh_add(struct v4l2_fh *fh) in v4l2_fh_add() 66 struct v4l2_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); in v4l2_fh_open() 77 void v4l2_fh_del(struct v4l2_fh *fh) in v4l2_fh_del() 88 void v4l2_fh_exit(struct v4l2_fh *fh) in v4l2_fh_exit() 101 struct v4l2_fh *fh = filp->private_data; in v4l2_fh_release() 112 int v4l2_fh_is_singular(struct v4l2_fh *fh) in v4l2_fh_is_singular()
|
D | v4l2-event.c | 35 static int __v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event) in __v4l2_event_dequeue() 63 int v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event, in v4l2_event_dequeue() 93 struct v4l2_fh *fh, u32 type, u32 id) in v4l2_event_subscribed() 106 static void __v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev, in __v4l2_event_queue_fh() 159 struct v4l2_fh *fh; in v4l2_event_queue() 177 void v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev) in v4l2_event_queue_fh() 190 int v4l2_event_pending(struct v4l2_fh *fh) in v4l2_event_pending() 196 int v4l2_event_subscribe(struct v4l2_fh *fh, in v4l2_event_subscribe() 254 void v4l2_event_unsubscribe_all(struct v4l2_fh *fh) in v4l2_event_unsubscribe_all() 277 int v4l2_event_unsubscribe(struct v4l2_fh *fh, in v4l2_event_unsubscribe() [all …]
|
D | v4l2-mem2mem.c | 599 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_poll() 958 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_reqbufs() 967 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_create_bufs() 976 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_querybuf() 985 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_qbuf() 994 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_dqbuf() 1003 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_prepare_buf() 1012 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_expbuf() 1021 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamon() 1030 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamoff() [all …]
|
/Linux-v4.19/drivers/media/usb/uvc/ |
D | uvc_metadata.c | 32 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_querycap() 48 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_get_format() 66 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_try_format() 86 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_set_format() 115 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_enum_formats()
|
/Linux-v4.19/drivers/media/platform/omap3isp/ |
D | ispstat.h | 139 struct v4l2_fh *fh, 142 struct v4l2_fh *fh,
|
/Linux-v4.19/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_drv.h | 271 struct v4l2_fh fh; 378 static inline struct mtk_vcodec_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx()
|
/Linux-v4.19/drivers/staging/media/davinci_vpfe/ |
D | vpfe_mc_capture.h | 84 struct v4l2_fh vfh;
|
/Linux-v4.19/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 494 struct v4l2_fh *vfh = file->private_data; in xvip_dma_querycap() 523 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format() 539 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format() 601 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format() 611 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format()
|
/Linux-v4.19/drivers/media/platform/vivid/ |
D | vivid-core.h | 323 struct v4l2_fh *overlay_cap_owner; 491 struct v4l2_fh *radio_rx_rds_owner; 498 struct v4l2_fh *radio_tx_rds_owner;
|
D | vivid-vid-common.h | 38 int vidioc_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub);
|
/Linux-v4.19/drivers/media/platform/mtk-jpeg/ |
D | mtk_jpeg_core.h | 130 struct v4l2_fh fh;
|
/Linux-v4.19/drivers/media/platform/vsp1/ |
D | vsp1_video.c | 965 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap() 990 struct v4l2_fh *vfh = file->private_data; in vsp1_video_get_format() 1006 struct v4l2_fh *vfh = file->private_data; in vsp1_video_try_format() 1018 struct v4l2_fh *vfh = file->private_data; in vsp1_video_set_format() 1048 struct v4l2_fh *vfh = file->private_data; in vsp1_video_streamon() 1126 struct v4l2_fh *vfh; in vsp1_video_open() 1151 struct v4l2_fh *vfh = file->private_data; in vsp1_video_release()
|
/Linux-v4.19/include/media/davinci/ |
D | vpfe_capture.h | 172 struct v4l2_fh fh;
|
/Linux-v4.19/drivers/media/platform/s5p-g2d/ |
D | g2d.h | 56 struct v4l2_fh fh;
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | uvc.h | 144 struct v4l2_fh vfh;
|
/Linux-v4.19/drivers/media/platform/rockchip/rga/ |
D | rga.h | 57 struct v4l2_fh fh;
|
/Linux-v4.19/drivers/media/platform/sti/bdisp/ |
D | bdisp.h | 122 struct v4l2_fh fh;
|