/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-event.h | 19 struct v4l2_fh; 26 * @list: List node for the v4l2_fh->available list. 57 * @list: List node for the v4l2_fh->subscribed list. 75 struct v4l2_fh *fh; 87 * @fh: pointer to struct v4l2_fh 91 int v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event, 100 * The event will be queued for all &struct v4l2_fh file handlers. 111 * @fh: pointer to &struct v4l2_fh 115 * The event will be queued only for the specified &struct v4l2_fh file handler. 121 void v4l2_event_queue_fh(struct v4l2_fh *f [all...] |
H A D | v4l2-fh.h | 25 * struct v4l2_fh - Describes a V4L2 file handler 42 struct v4l2_fh { struct 62 * @fh: pointer to &struct v4l2_fh 68 * uses &struct v4l2_fh. 70 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev); 75 * @fh: pointer to &struct v4l2_fh 80 void v4l2_fh_add(struct v4l2_fh *fh); 88 * It allocates a v4l2_fh and inits and adds it to the &struct video_device 96 * @fh: pointer to &struct v4l2_fh 99 * the &struct v4l2_fh [all...] |
H A D | v4l2-ctrls.h | 32 struct v4l2_fh; 1212 * @fh: pointer to struct v4l2_fh 1218 int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh, 1359 * @fh: pointer to &struct v4l2_fh 1366 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, 1403 * @fh: pointer to &struct v4l2_fh 1411 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, 1422 * @fh: pointer to &struct v4l2_fh 1425 int v4l2_ctrl_subdev_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh,
|
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-event.h | 19 struct v4l2_fh; 26 * @list: List node for the v4l2_fh->available list. 57 * @list: List node for the v4l2_fh->subscribed list. 75 struct v4l2_fh *fh; 87 * @fh: pointer to struct v4l2_fh 91 int v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event, 100 * The event will be queued for all &struct v4l2_fh file handlers. 111 * @fh: pointer to &struct v4l2_fh 115 * The event will be queued only for the specified &struct v4l2_fh file handler. 121 void v4l2_event_queue_fh(struct v4l2_fh *f [all...] |
H A D | v4l2-fh.h | 25 * struct v4l2_fh - Describes a V4L2 file handler 42 struct v4l2_fh { struct 62 * @fh: pointer to &struct v4l2_fh 68 * uses &struct v4l2_fh. 70 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev); 75 * @fh: pointer to &struct v4l2_fh 80 void v4l2_fh_add(struct v4l2_fh *fh); 88 * It allocates a v4l2_fh and inits and adds it to the &struct video_device 96 * @fh: pointer to &struct v4l2_fh 99 * the &struct v4l2_fh [all...] |
H A D | v4l2-ctrls.h | 22 struct v4l2_fh; 1298 * @fh: pointer to struct v4l2_fh 1304 int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh, 1445 * @fh: pointer to &struct v4l2_fh 1452 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, 1489 * @fh: pointer to &struct v4l2_fh 1497 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, 1508 * @fh: pointer to &struct v4l2_fh 1511 int v4l2_ctrl_subdev_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh,
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-fh.c | 21 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev) in v4l2_fh_init() 29 * determine_valid_ioctls() does not know if struct v4l2_fh 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()
|
H A D | v4l2-event.c | 27 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 *f [all...] |
H A D | v4l2-mem2mem.c | 961 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_poll() 1340 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_reqbufs() 1349 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_create_bufs() 1358 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_querybuf() 1367 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_qbuf() 1376 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_dqbuf() 1385 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_prepare_buf() 1394 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_expbuf() 1403 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_streamon() 1412 struct v4l2_fh *f in v4l2_m2m_ioctl_streamoff() [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-fh.c | 21 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev) in v4l2_fh_init() 29 * determine_valid_ioctls() does not know if struct v4l2_fh 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()
|
H A D | v4l2-event.c | 27 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; in v4l2_event_wake_all() 209 struct v4l2_fh *fh = sev->fh; in __v4l2_event_unsubscribe() 223 int v4l2_event_subscribe(struct v4l2_fh *f [all...] |
H A D | v4l2-ctrls-priv.h | 58 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); 72 int try_or_set_cluster(struct v4l2_fh *fh, struct v4l2_ctrl *master, 79 int try_set_ext_ctrls_common(struct v4l2_fh *fh, 89 int try_set_ext_ctrls_request(struct v4l2_fh *fh,
|
H A D | v4l2-mem2mem.c | 971 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_poll() 1004 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_get_unmapped_area() 1371 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_reqbufs() 1380 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_create_bufs() 1389 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_querybuf() 1398 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_qbuf() 1407 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_dqbuf() 1416 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_prepare_buf() 1425 struct v4l2_fh *fh = file->private_data; in v4l2_m2m_ioctl_expbuf() 1434 struct v4l2_fh *f in v4l2_m2m_ioctl_streamon() [all...] |
H A D | v4l2-ctrls-api.c | 555 int try_set_ext_ctrls_common(struct v4l2_fh *fh, in try_set_ext_ctrls_common() 690 static int try_set_ext_ctrls(struct v4l2_fh *fh, in try_set_ext_ctrls() 719 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, in v4l2_s_ext_ctrls() 779 static int set_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, u32 ch_flags) in set_ctrl() 808 static int set_ctrl_lock(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, in set_ctrl_lock() 822 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, in v4l2_s_ctrl() 1203 struct v4l2_fh *vfh = file->private_data; in v4l2_ctrl_log_status() 1275 int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh, in v4l2_ctrl_subscribe_event() 1284 int v4l2_ctrl_subdev_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh, in v4l2_ctrl_subdev_subscribe_event() 1298 struct v4l2_fh *f in v4l2_ctrl_poll() [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/visl/ |
H A D | visl.h | 139 struct v4l2_fh fh; 167 static inline struct visl_ctx *visl_v4l2fh_to_ctx(struct v4l2_fh *v4l2_fh) in visl_v4l2fh_to_ctx() argument 169 return container_of(v4l2_fh, struct visl_ctx, fh); in visl_v4l2fh_to_ctx()
|
/kernel/linux/linux-5.10/drivers/media/usb/uvc/ |
H A D | uvc_metadata.c | 28 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()
|
/kernel/linux/linux-6.6/drivers/media/usb/uvc/ |
H A D | uvc_metadata.c | 28 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()
|
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispstat.h | 136 struct v4l2_fh *fh, 139 struct v4l2_fh *fh,
|
/kernel/linux/linux-5.10/drivers/staging/media/rkvdec/ |
H A D | rkvdec.h | 96 struct v4l2_fh fh; 105 static inline struct rkvdec_ctx *fh_to_rkvdec_ctx(struct v4l2_fh *fh) in fh_to_rkvdec_ctx()
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispstat.h | 136 struct v4l2_fh *fh, 139 struct v4l2_fh *fh,
|
/kernel/linux/linux-6.6/drivers/staging/media/rkvdec/ |
H A D | rkvdec.h | 101 struct v4l2_fh fh; 110 static inline struct rkvdec_ctx *fh_to_rkvdec_ctx(struct v4l2_fh *fh) in fh_to_rkvdec_ctx()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc_drv.h | 99 * @fh: struct v4l2_fh 133 struct v4l2_fh fh; 218 static inline struct mtk_vcodec_enc_ctx *fh_to_enc_ctx(struct v4l2_fh *fh) in fh_to_enc_ctx()
|
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/ |
H A D | mtk_vcodec_drv.h | 229 * @fh: struct v4l2_fh 267 struct v4l2_fh fh; 410 static inline struct mtk_vcodec_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_drv.h | 126 * @fh: struct v4l2_fh 173 struct v4l2_fh fh; 294 static inline struct mtk_vcodec_dec_ctx *fh_to_dec_ctx(struct v4l2_fh *fh) in fh_to_dec_ctx()
|
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.c | 491 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()
|