/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() local 29 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_querycap() 33 strscpy(cap->card, vfh->vdev->name, sizeof(cap->card)); in uvc_meta_v4l2_querycap() 44 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_get_format() local 45 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_get_format() 48 if (format->type != vfh->vdev->queue->type) in uvc_meta_v4l2_get_format() 62 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_try_format() local 63 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_try_format() 68 if (format->type != vfh->vdev->queue->type) in uvc_meta_v4l2_try_format() 83 struct v4l2_fh *vfh in uvc_meta_v4l2_set_format() local 112 struct v4l2_fh *vfh = file->private_data; uvc_meta_v4l2_enum_formats() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispvideo.c | 303 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh) in isp_video_check_format() argument 308 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format() 313 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format() 314 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format() 315 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format() 316 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format() 317 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format() 318 vfh->format.fmt.pix.field != format.fmt.pix.field) in isp_video_check_format() 332 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_queue_setup() local 333 struct isp_video *video = vfh in isp_video_queue_setup() 349 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); isp_video_buffer_prepare() local 389 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); isp_video_buffer_queue() local 460 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); isp_video_start_streaming() local 667 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_get_format() local 683 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_set_format() local 866 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_get_param() local 884 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_set_param() local 902 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_reqbufs() local 916 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_querybuf() local 930 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_qbuf() local 944 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_dqbuf() local 1081 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_streamon() local 1188 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_streamoff() local 1355 struct v4l2_fh *vfh = file->private_data; isp_video_release() local 1380 struct isp_video_fh *vfh = to_isp_video_fh(file->private_data); isp_video_poll() local 1393 struct isp_video_fh *vfh = to_isp_video_fh(file->private_data); isp_video_mmap() local [all...] |
H A D | ispvideo.h | 183 struct v4l2_fh vfh; member 190 #define to_isp_video_fh(fh) container_of(fh, struct isp_video_fh, vfh)
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispvideo.c | 296 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh) in isp_video_check_format() argument 301 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format() 306 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format() 307 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format() 308 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format() 309 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format() 310 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format() 311 vfh->format.fmt.pix.field != format.fmt.pix.field) in isp_video_check_format() 325 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_queue_setup() local 326 struct isp_video *video = vfh in isp_video_queue_setup() 342 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); isp_video_buffer_prepare() local 382 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); isp_video_buffer_queue() local 453 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); isp_video_start_streaming() local 660 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_get_format() local 676 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_set_format() local 861 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_get_param() local 879 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_set_param() local 897 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_reqbufs() local 911 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_querybuf() local 925 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_qbuf() local 939 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_dqbuf() local 1077 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_streamon() local 1183 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_streamoff() local 1350 struct v4l2_fh *vfh = file->private_data; isp_video_release() local 1375 struct isp_video_fh *vfh = to_isp_video_fh(file->private_data); isp_video_poll() local 1388 struct isp_video_fh *vfh = to_isp_video_fh(file->private_data); isp_video_mmap() local [all...] |
H A D | ispvideo.h | 190 struct v4l2_fh vfh; member 197 #define to_isp_video_fh(fh) container_of(fh, struct isp_video_fh, vfh)
|
/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() local 29 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_querycap() 44 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_get_format() local 45 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_get_format() 48 if (format->type != vfh->vdev->queue->type) in uvc_meta_v4l2_get_format() 62 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_try_format() local 63 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_try_format() 68 if (format->type != vfh->vdev->queue->type) in uvc_meta_v4l2_try_format() 83 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_set_format() local 84 struct uvc_streaming *stream = video_get_drvdata(vfh in uvc_meta_v4l2_set_format() 112 struct v4l2_fh *vfh = file->private_data; uvc_meta_v4l2_enum_formats() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/ |
H A D | iss_video.c | 272 iss_video_check_format(struct iss_video *video, struct iss_video_fh *vfh) in iss_video_check_format() argument 285 if (vfh->format.fmt.pix.pixelformat != pixfmt.pixelformat || in iss_video_check_format() 286 vfh->format.fmt.pix.height != pixfmt.height || in iss_video_check_format() 287 vfh->format.fmt.pix.width != pixfmt.width || in iss_video_check_format() 288 vfh->format.fmt.pix.bytesperline != pixfmt.bytesperline || in iss_video_check_format() 289 vfh->format.fmt.pix.sizeimage != pixfmt.sizeimage) in iss_video_check_format() 304 struct iss_video_fh *vfh = vb2_get_drv_priv(vq); in iss_video_queue_setup() local 305 struct iss_video *video = vfh->video; in iss_video_queue_setup() 310 sizes[0] = vfh->format.fmt.pix.sizeimage; in iss_video_queue_setup() 331 struct iss_video_fh *vfh in iss_video_buf_prepare() local 355 struct iss_video_fh *vfh = vb2_get_drv_priv(vb->vb2_queue); iss_video_buf_queue() local 578 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_get_format() local 594 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_set_format() local 745 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_get_param() local 763 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_set_param() local 781 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_reqbufs() local 789 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_querybuf() local 798 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_qbuf() local 806 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_expbuf() local 814 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_dqbuf() local 853 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_streamon() local 997 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_streamoff() local 1157 struct v4l2_fh *vfh = file->private_data; iss_video_release() local 1180 struct iss_video_fh *vfh = to_iss_video_fh(file->private_data); iss_video_poll() local 1187 struct iss_video_fh *vfh = to_iss_video_fh(file->private_data); iss_video_mmap() local [all...] |
H A D | iss_video.h | 174 struct v4l2_fh vfh; member 181 #define to_iss_video_fh(fh) container_of(fh, struct iss_video_fh, vfh)
|
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/ |
H A D | iss_video.c | 265 iss_video_check_format(struct iss_video *video, struct iss_video_fh *vfh) in iss_video_check_format() argument 278 if (vfh->format.fmt.pix.pixelformat != pixfmt.pixelformat || in iss_video_check_format() 279 vfh->format.fmt.pix.height != pixfmt.height || in iss_video_check_format() 280 vfh->format.fmt.pix.width != pixfmt.width || in iss_video_check_format() 281 vfh->format.fmt.pix.bytesperline != pixfmt.bytesperline || in iss_video_check_format() 282 vfh->format.fmt.pix.sizeimage != pixfmt.sizeimage) in iss_video_check_format() 297 struct iss_video_fh *vfh = vb2_get_drv_priv(vq); in iss_video_queue_setup() local 298 struct iss_video *video = vfh->video; in iss_video_queue_setup() 303 sizes[0] = vfh->format.fmt.pix.sizeimage; in iss_video_queue_setup() 324 struct iss_video_fh *vfh in iss_video_buf_prepare() local 348 struct iss_video_fh *vfh = vb2_get_drv_priv(vb->vb2_queue); iss_video_buf_queue() local 571 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_get_format() local 587 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_set_format() local 740 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_get_param() local 758 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_set_param() local 776 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_reqbufs() local 784 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_querybuf() local 793 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_qbuf() local 801 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_expbuf() local 809 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_dqbuf() local 848 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_streamon() local 987 struct iss_video_fh *vfh = to_iss_video_fh(fh); iss_video_streamoff() local 1147 struct v4l2_fh *vfh = file->private_data; iss_video_release() local 1170 struct iss_video_fh *vfh = to_iss_video_fh(file->private_data); iss_video_poll() local 1177 struct iss_video_fh *vfh = to_iss_video_fh(file->private_data); iss_video_mmap() local [all...] |
H A D | iss_video.h | 180 struct v4l2_fh vfh; member 187 #define to_iss_video_fh(fh) container_of(fh, struct iss_video_fh, vfh)
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-subdev.c | 61 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open() 62 v4l2_fh_add(&subdev_fh->vfh); in subdev_open() 63 file->private_data = &subdev_fh->vfh; in subdev_open() 87 v4l2_fh_del(&subdev_fh->vfh); in subdev_open() 88 v4l2_fh_exit(&subdev_fh->vfh); in subdev_open() 99 struct v4l2_fh *vfh = file->private_data; in subdev_close() local 100 struct v4l2_subdev_fh *subdev_fh = to_v4l2_subdev_fh(vfh); in subdev_close() 105 v4l2_fh_del(vfh); in subdev_close() 106 v4l2_fh_exit(vfh); in subdev_close() 358 struct v4l2_fh *vfh in subdev_do_ioctl() local [all...] |
H A D | v4l2-ioctl.c | 1179 struct v4l2_fh *vfh; in v4l_s_priority() local 1185 vfh = file->private_data; in v4l_s_priority() 1186 return v4l2_prio_change(vfd->prio, &vfh->prio, *p); in v4l_s_priority() 2179 struct v4l2_fh *vfh = in v4l_queryctrl() local 2182 if (vfh && vfh->ctrl_handler) in v4l_queryctrl() 2183 return v4l2_queryctrl(vfh->ctrl_handler, p); in v4l_queryctrl() 2196 struct v4l2_fh *vfh = in v4l_query_ext_ctrl() local 2199 if (vfh && vfh in v4l_query_ext_ctrl() 2213 struct v4l2_fh *vfh = v4l_querymenu() local 2230 struct v4l2_fh *vfh = v4l_g_ctrl() local 2264 struct v4l2_fh *vfh = v4l_s_ctrl() local 2296 struct v4l2_fh *vfh = v4l_g_ext_ctrls() local 2317 struct v4l2_fh *vfh = v4l_s_ext_ctrls() local 2338 struct v4l2_fh *vfh = v4l_try_ext_ctrls() local 2887 v4l2_ioctl_get_lock(struct video_device *vdev, struct v4l2_fh *vfh, unsigned int cmd, void *arg) v4l2_ioctl_get_lock() argument 2952 struct v4l2_fh *vfh = NULL; __video_do_ioctl() local [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-subdev.c | 87 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open() 88 v4l2_fh_add(&subdev_fh->vfh); in subdev_open() 89 file->private_data = &subdev_fh->vfh; in subdev_open() 112 v4l2_fh_del(&subdev_fh->vfh); in subdev_open() 113 v4l2_fh_exit(&subdev_fh->vfh); in subdev_open() 124 struct v4l2_fh *vfh = file->private_data; in subdev_close() local 125 struct v4l2_subdev_fh *subdev_fh = to_v4l2_subdev_fh(vfh); in subdev_close() 130 v4l2_fh_del(vfh); in subdev_close() 131 v4l2_fh_exit(vfh); in subdev_close() 497 struct v4l2_fh *vfh in subdev_do_ioctl() local 964 struct v4l2_fh *vfh = file->private_data; subdev_do_ioctl_lock() local [all...] |
H A D | v4l2-ioctl.c | 1183 struct v4l2_fh *vfh; in v4l_s_priority() local 1189 vfh = file->private_data; in v4l_s_priority() 1190 return v4l2_prio_change(vfd->prio, &vfh->prio, *p); in v4l_s_priority() 2215 struct v4l2_fh *vfh = in v4l_queryctrl() local 2218 if (vfh && vfh->ctrl_handler) in v4l_queryctrl() 2219 return v4l2_queryctrl(vfh->ctrl_handler, p); in v4l_queryctrl() 2232 struct v4l2_fh *vfh = in v4l_query_ext_ctrl() local 2235 if (vfh && vfh in v4l_query_ext_ctrl() 2249 struct v4l2_fh *vfh = v4l_querymenu() local 2266 struct v4l2_fh *vfh = v4l_g_ctrl() local 2300 struct v4l2_fh *vfh = v4l_s_ctrl() local 2332 struct v4l2_fh *vfh = v4l_g_ext_ctrls() local 2353 struct v4l2_fh *vfh = v4l_s_ext_ctrls() local 2374 struct v4l2_fh *vfh = v4l_try_ext_ctrls() local 2922 v4l2_ioctl_get_lock(struct video_device *vdev, struct v4l2_fh *vfh, unsigned int cmd, void *arg) v4l2_ioctl_get_lock() argument 2987 struct v4l2_fh *vfh = NULL; __video_do_ioctl() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_video.c | 952 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap() local 953 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_querycap() 971 struct v4l2_fh *vfh = file->private_data; in vsp1_video_get_format() local 972 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_get_format() 987 struct v4l2_fh *vfh = file->private_data; in vsp1_video_try_format() local 988 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_try_format() 999 struct v4l2_fh *vfh = file->private_data; in vsp1_video_set_format() local 1000 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_set_format() 1029 struct v4l2_fh *vfh = file->private_data; in vsp1_video_streamon() local 1030 struct vsp1_video *video = to_vsp1_video(vfh in vsp1_video_streamon() 1107 struct v4l2_fh *vfh; vsp1_video_open() local 1132 struct v4l2_fh *vfh = file->private_data; vsp1_video_release() local [all...] |
H A D | vsp1_histo.c | 422 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_querycap() local 423 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_querycap() 441 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_enum_format() local 442 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_enum_format() 455 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_get_format() local 456 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_get_format()
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_video.c | 953 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap() local 954 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_querycap() 970 struct v4l2_fh *vfh = file->private_data; in vsp1_video_get_format() local 971 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_get_format() 986 struct v4l2_fh *vfh = file->private_data; in vsp1_video_try_format() local 987 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_try_format() 998 struct v4l2_fh *vfh = file->private_data; in vsp1_video_set_format() local 999 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_set_format() 1028 struct v4l2_fh *vfh = file->private_data; in vsp1_video_streamon() local 1029 struct vsp1_video *video = to_vsp1_video(vfh in vsp1_video_streamon() 1106 struct v4l2_fh *vfh; vsp1_video_open() local [all...] |
H A D | vsp1_histo.c | 427 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_querycap() local 428 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_querycap() 444 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_enum_format() local 445 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_enum_format() 458 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_get_format() local 459 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_get_format()
|
/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() local 492 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_querycap() 513 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format() local 514 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_enum_format() 527 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format() local 528 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_get_format() 589 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format() local 590 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_try_format() 599 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format() local 600 struct xvip_dma *dma = to_xvip_dma(vfh in xvip_dma_set_format() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.c | 474 struct v4l2_fh *vfh = file->private_data; in xvip_dma_querycap() local 475 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_querycap() 496 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format() local 497 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_enum_format() 510 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format() local 511 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_get_format() 570 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format() local 571 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_try_format() 580 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format() local 581 struct xvip_dma *dma = to_xvip_dma(vfh in xvip_dma_set_format() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | uvc_v4l2.c | 328 v4l2_fh_init(&handle->vfh, vdev); in uvc_v4l2_open() 329 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open() 332 file->private_data = &handle->vfh; in uvc_v4l2_open() 351 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release() 352 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
|
H A D | uvc.h | 151 struct v4l2_fh vfh; member 157 container_of(handle, struct uvc_file_handle, vfh)
|
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | uvc.h | 168 struct v4l2_fh vfh; member 174 container_of(handle, struct uvc_file_handle, vfh)
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 811 struct v4l2_fh *vfh; in video_open() local 816 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in video_open() 817 if (vfh == NULL) { in video_open() 822 v4l2_fh_init(vfh, vdev); in video_open() 823 v4l2_fh_add(vfh); in video_open() 825 file->private_data = vfh; in video_open()
|
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 854 struct v4l2_fh *vfh; in video_open() local 859 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in video_open() 860 if (vfh == NULL) { in video_open() 865 v4l2_fh_init(vfh, vdev); in video_open() 866 v4l2_fh_add(vfh); in video_open() 868 file->private_data = vfh; in video_open()
|