Home
last modified time | relevance | path

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

123456

/linux/include/media/
A 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);
139 int v4l2_event_pending(struct v4l2_fh *fh);
154 int v4l2_event_subscribe(struct v4l2_fh *fh,
164 int v4l2_event_unsubscribe(struct v4l2_fh *fh,
171 void v4l2_event_unsubscribe_all(struct v4l2_fh *fh);
186 struct v4l2_fh *fh,
195 int v4l2_src_change_event_subscribe(struct v4l2_fh *fh,
[all …]
A 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);
A Dv4l2-ctrls.h28 struct v4l2_fh;
1220 int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh,
1368 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1413 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1427 int v4l2_ctrl_subdev_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh,
A Dv4l2-subdev.h36 struct v4l2_fh;
212 int (*subscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
214 int (*unsubscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
967 struct v4l2_fh vfh;
A 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/Documentation/driver-api/media/
A Dv4l2-fh.rst6 struct v4l2_fh provides a way to easily keep file handle specific
10 New drivers must use struct v4l2_fh
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;
79 (:c:type:`fh <v4l2_fh>`, :c:type:`vdev <video_device>`)
87 (:c:type:`fh <v4l2_fh>`)
93 (:c:type:`fh <v4l2_fh>`)
99 (:c:type:`fh <v4l2_fh>`)
110 - This allocates a struct v4l2_fh, initializes it and adds it to
[all …]
A 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/Documentation/translations/zh_CN/video4linux/
A Dv4l2-framework.txt86 结构体保存 V4L2 设备节点的数据;将来 v4l2_fh 结构体将跟踪文件句柄
783 v4l2_fh 结构体
790 v4l2_fh 的用户(位于 V4l2 框架中,并非驱动)可通过测试
795 v4l2_fh 结构体作为驱动自身文件句柄结构体的一部分被分配,且驱动在
806 struct v4l2_fh fh;
844 以下是 v4l2_fh 函数使用的简介:
851 void v4l2_fh_add(struct v4l2_fh *fh)
863 清理文件句柄。在清理完 v4l2_fh 后,相关内存会被释放。
866 如果 v4l2_fh 不是嵌入在其他结构体中的,则可以用这些辅助函数:
876 v4l2_fh 并释放空间。
[all …]
/linux/drivers/media/v4l2-core/
A Dv4l2-event.c89 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()
184 int v4l2_event_pending(struct v4l2_fh *fh) in v4l2_event_pending()
192 struct v4l2_fh *fh; in v4l2_event_wake_all()
209 struct v4l2_fh *fh = sev->fh; in __v4l2_event_unsubscribe()
223 int v4l2_event_subscribe(struct v4l2_fh *fh, in v4l2_event_subscribe()
277 void v4l2_event_unsubscribe_all(struct v4l2_fh *fh) in v4l2_event_unsubscribe_all()
300 int v4l2_event_unsubscribe(struct v4l2_fh *fh, in v4l2_event_unsubscribe()
359 int v4l2_src_change_event_subscribe(struct v4l2_fh *fh, in v4l2_src_change_event_subscribe()
[all …]
A 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()
105 int v4l2_fh_is_singular(struct v4l2_fh *fh) in v4l2_fh_is_singular()
A Dv4l2-ctrls-priv.h58 void new_to_cur(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags);
61 void send_initial_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl);
62 void send_event(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 changes);
73 int try_or_set_cluster(struct v4l2_fh *fh, struct v4l2_ctrl *master,
80 int try_set_ext_ctrls_common(struct v4l2_fh *fh,
90 int try_set_ext_ctrls_request(struct v4l2_fh *fh,
A Dv4l2-mem2mem.c1314 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_reqbufs()
1323 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_create_bufs()
1332 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_querybuf()
1341 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_qbuf()
1350 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_dqbuf()
1359 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_prepare_buf()
1368 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_expbuf()
1377 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamon()
1386 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamoff()
1470 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_encoder_cmd()
[all …]
A Dv4l2-ctrls-api.c514 int try_set_ext_ctrls_common(struct v4l2_fh *fh, in try_set_ext_ctrls_common()
649 static int try_set_ext_ctrls(struct v4l2_fh *fh, in try_set_ext_ctrls()
678 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, in v4l2_s_ext_ctrls()
738 static int set_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in set_ctrl()
767 static int set_ctrl_lock(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, in set_ctrl_lock()
781 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, in v4l2_s_ctrl()
1123 struct v4l2_fh *vfh = file->private_data; in v4l2_ctrl_log_status()
1195 int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh, in v4l2_ctrl_subscribe_event()
1204 int v4l2_ctrl_subdev_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh, in v4l2_ctrl_subdev_subscribe_event()
1218 struct v4l2_fh *fh = file->private_data; in v4l2_ctrl_poll()
/linux/drivers/media/usb/uvc/
A 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/drivers/staging/media/rkvdec/
A Drkvdec.h95 struct v4l2_fh fh;
104 static inline struct rkvdec_ctx *fh_to_rkvdec_ctx(struct v4l2_fh *fh) in fh_to_rkvdec_ctx()
/linux/drivers/media/platform/omap3isp/
A Dispstat.h136 struct v4l2_fh *fh,
139 struct v4l2_fh *fh,
/linux/drivers/media/platform/mtk-vcodec/
A Dmtk_vcodec_drv.h271 struct v4l2_fh fh;
466 static inline struct mtk_vcodec_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx()
/linux/drivers/media/platform/xilinx/
A Dxilinx-dma.c490 struct v4l2_fh *vfh = file->private_data; in xvip_dma_querycap()
512 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format()
526 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format()
586 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format()
596 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format()
/linux/drivers/media/platform/vsp1/
A 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/drivers/media/test-drivers/vivid/
A Dvivid-core.h347 struct v4l2_fh *overlay_cap_owner;
543 struct v4l2_fh *radio_rx_rds_owner;
550 struct v4l2_fh *radio_tx_rds_owner;
A Dvivid-vid-common.h36 int vidioc_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub);
/linux/drivers/staging/media/hantro/
A Dhantro.h228 struct v4l2_fh fh;
329 static inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx()
/linux/drivers/media/platform/mtk-jpeg/
A Dmtk_jpeg_core.h157 struct v4l2_fh fh;
/linux/include/media/davinci/
A Dvpfe_capture.h163 struct v4l2_fh fh;
/linux/drivers/media/platform/sunxi/sun8i-rotate/
A Dsun8i-rotate.h105 struct v4l2_fh fh;

Completed in 53 milliseconds

123456