Home
last modified time | relevance | path

Searched refs:v4l2_fh (Results 1 – 25 of 119) sorted by relevance

12345

/Linux-v5.10/include/media/
Dv4l2-event.h19 struct v4l2_fh;
75 struct v4l2_fh *fh;
91 int v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event,
121 void v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev);
130 int v4l2_event_pending(struct v4l2_fh *fh);
145 int v4l2_event_subscribe(struct v4l2_fh *fh,
155 int v4l2_event_unsubscribe(struct v4l2_fh *fh,
162 void v4l2_event_unsubscribe_all(struct v4l2_fh *fh);
177 struct v4l2_fh *fh,
186 int v4l2_src_change_event_subscribe(struct v4l2_fh *fh,
[all …]
Dv4l2-fh.h42 struct v4l2_fh { struct
70 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev);
80 void v4l2_fh_add(struct v4l2_fh *fh);
105 void v4l2_fh_del(struct v4l2_fh *fh);
119 void v4l2_fh_exit(struct v4l2_fh *fh);
143 int v4l2_fh_is_singular(struct v4l2_fh *fh);
Dv4l2-ctrls.h32 struct v4l2_fh;
1216 int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh,
1364 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1409 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1423 int v4l2_ctrl_subdev_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh,
Dv4l2-subdev.h36 struct v4l2_fh;
208 int (*subscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
210 int (*unsubscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
925 struct v4l2_fh vfh;
Dv4l2-ioctl.h20 struct v4l2_fh;
580 int (*vidioc_subscribe_event)(struct v4l2_fh *fh,
582 int (*vidioc_unsubscribe_event)(struct v4l2_fh *fh,
/Linux-v5.10/Documentation/driver-api/media/
Dv4l2-fh.rst6 struct v4l2_fh provides a way to easily keep file handle specific
10 New drivers must use struct v4l2_fh
14 The users of :c:type:`v4l2_fh` (in the V4L2 framework, not the driver) know
15 whether a driver uses :c:type:`v4l2_fh` as its ``file->private_data`` pointer
19 struct v4l2_fh is allocated as a part of the driver's own file handle
23 In many cases the struct v4l2_fh will be embedded in a larger
38 struct v4l2_fh fh;
66 struct v4l2_fh *fh = file->private_data;
76 Below is a short description of the :c:type:`v4l2_fh` functions used:
79 (:c:type:`fh <v4l2_fh>`, :c:type:`vdev <video_device>`)
[all …]
Dv4l2-event.rst7 The driver must use :c:type:`v4l2_fh` to be able to support V4L2 events.
14 The :c:type:`v4l2_fh` struct has a list of subscribed events on its
18 struct is added to :c:type:`v4l2_fh`\ ``.subscribed``, one for every
36 list of the :c:type:`v4l2_fh` struct so :ref:`VIDIOC_DQEVENT` will
47 - struct v4l2_fh has two lists: one of the ``subscribed`` events,
96 (:c:type:`fh <v4l2_fh>`, :c:type:`sub <v4l2_event_subscription>` ,
133 (:c:type:`fh <v4l2_fh>`, :c:type:`sub <v4l2_event_subscription>`)
149 (:c:type:`fh <v4l2_fh>`)
159 can use :c:type:`v4l2_fh`->wait (a wait_queue_head_t) as the argument for
/Linux-v5.10/Documentation/translations/zh_CN/video4linux/
Dv4l2-framework.txt86 结构体保存 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-v5.10/drivers/media/v4l2-core/
Dv4l2-fh.c21 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev) in v4l2_fh_init()
44 void v4l2_fh_add(struct v4l2_fh *fh) in v4l2_fh_add()
58 struct v4l2_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); in v4l2_fh_open()
69 void v4l2_fh_del(struct v4l2_fh *fh) in v4l2_fh_del()
80 void v4l2_fh_exit(struct v4l2_fh *fh) in v4l2_fh_exit()
93 struct v4l2_fh *fh = filp->private_data; in v4l2_fh_release()
104 int v4l2_fh_is_singular(struct v4l2_fh *fh) in v4l2_fh_is_singular()
Dv4l2-event.c27 static int __v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event) in __v4l2_event_dequeue()
59 int v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event, in v4l2_event_dequeue()
89 struct v4l2_fh *fh, u32 type, u32 id) in v4l2_event_subscribed()
102 static void __v4l2_event_queue_fh(struct v4l2_fh *fh, in __v4l2_event_queue_fh()
155 struct v4l2_fh *fh; in v4l2_event_queue()
173 void v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev) in v4l2_event_queue_fh()
184 int v4l2_event_pending(struct v4l2_fh *fh) in v4l2_event_pending()
192 struct v4l2_fh *fh = sev->fh; in __v4l2_event_unsubscribe()
206 int v4l2_event_subscribe(struct v4l2_fh *fh, in v4l2_event_subscribe()
260 void v4l2_event_unsubscribe_all(struct v4l2_fh *fh) in v4l2_event_unsubscribe_all()
[all …]
Dv4l2-mem2mem.c932 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_poll()
1305 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_reqbufs()
1314 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_create_bufs()
1323 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_querybuf()
1332 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_qbuf()
1341 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_dqbuf()
1350 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_prepare_buf()
1359 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_expbuf()
1368 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamon()
1377 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamoff()
[all …]
/Linux-v5.10/drivers/media/usb/uvc/
Duvc_metadata.c28 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_querycap()
44 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_get_format()
62 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_try_format()
83 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_set_format()
112 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_enum_formats()
/Linux-v5.10/drivers/staging/media/rkvdec/
Drkvdec.h96 struct v4l2_fh fh;
105 static inline struct rkvdec_ctx *fh_to_rkvdec_ctx(struct v4l2_fh *fh) in fh_to_rkvdec_ctx()
/Linux-v5.10/drivers/media/platform/omap3isp/
Dispstat.h136 struct v4l2_fh *fh,
139 struct v4l2_fh *fh,
/Linux-v5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_drv.h267 struct v4l2_fh fh;
410 static inline struct mtk_vcodec_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx()
/Linux-v5.10/drivers/media/platform/xilinx/
Dxilinx-dma.c491 struct v4l2_fh *vfh = file->private_data; in xvip_dma_querycap()
513 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format()
527 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format()
589 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format()
599 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format()
/Linux-v5.10/drivers/media/test-drivers/vivid/
Dvivid-vid-common.h36 int vidioc_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub);
Dvivid-core.h349 struct v4l2_fh *overlay_cap_owner;
546 struct v4l2_fh *radio_rx_rds_owner;
553 struct v4l2_fh *radio_tx_rds_owner;
/Linux-v5.10/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_core.h157 struct v4l2_fh fh;
/Linux-v5.10/drivers/media/platform/vsp1/
Dvsp1_video.c952 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap()
971 struct v4l2_fh *vfh = file->private_data; in vsp1_video_get_format()
987 struct v4l2_fh *vfh = file->private_data; in vsp1_video_try_format()
999 struct v4l2_fh *vfh = file->private_data; in vsp1_video_set_format()
1029 struct v4l2_fh *vfh = file->private_data; in vsp1_video_streamon()
1107 struct v4l2_fh *vfh; in vsp1_video_open()
1132 struct v4l2_fh *vfh = file->private_data; in vsp1_video_release()
/Linux-v5.10/drivers/staging/media/hantro/
Dhantro.h223 struct v4l2_fh fh;
323 static inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx()
/Linux-v5.10/include/media/davinci/
Dvpfe_capture.h163 struct v4l2_fh fh;
/Linux-v5.10/drivers/media/platform/s5p-g2d/
Dg2d.h52 struct v4l2_fh fh;
/Linux-v5.10/drivers/media/platform/sunxi/sun8i-rotate/
Dsun8i-rotate.h105 struct v4l2_fh fh;
/Linux-v5.10/drivers/media/platform/rockchip/rga/
Drga.h49 struct v4l2_fh fh;

12345