Home
last modified time | relevance | path

Searched refs:vfh (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/media/usb/uvc/
A Duvc_metadata.c28 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
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
112 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_enum_formats() local
117 if (fdesc->type != vfh->vdev->queue->type || in uvc_meta_v4l2_enum_formats()
[all …]
A Duvc_v4l2.c645 v4l2_fh_init(&handle->vfh, &stream->vdev); in uvc_v4l2_open()
646 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
668 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
669 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
A Duvcvideo.h611 struct v4l2_fh vfh; member
A Duvc_ctrl.c1542 struct v4l2_fh *originator = handle ? &handle->vfh : NULL; in uvc_ctrl_send_event()
1721 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
1767 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_del_event()
/linux/drivers/staging/media/omap4iss/
A Diss_video.c578 *format = vfh->format; in iss_video_get_format()
603 vfh->format = *format; in iss_video_set_format()
803 return vb2_expbuf(&vfh->queue, e); in iss_video_expbuf()
936 video->queue = &vfh->queue; in iss_video_streamon()
968 vb2_streamoff(&vfh->queue, type); in iss_video_streamon()
1015 vb2_streamoff(&vfh->queue, type); in iss_video_streamoff()
1096 v4l2_fh_add(&handle->vfh); in iss_video_open()
1136 v4l2_fh_del(&handle->vfh); in iss_video_open()
1137 v4l2_fh_exit(&handle->vfh); in iss_video_open()
1158 v4l2_fh_del(vfh); in iss_video_release()
[all …]
A Diss_video.h180 struct v4l2_fh vfh; member
187 #define to_iss_video_fh(fh) container_of(fh, struct iss_video_fh, vfh)
/linux/drivers/media/platform/ti/omap3isp/
A Dispvideo.c667 *format = vfh->format; in isp_video_get_format()
725 vfh->format = *format; in isp_video_set_format()
1143 video->queue = &vfh->queue; in isp_video_streamon()
1220 vb2_streamoff(&vfh->queue, type); in isp_video_streamoff()
1300 v4l2_fh_add(&handle->vfh); in isp_video_open()
1335 file->private_data = &handle->vfh; in isp_video_open()
1339 v4l2_fh_del(&handle->vfh); in isp_video_open()
1340 v4l2_fh_exit(&handle->vfh); in isp_video_open()
1363 v4l2_fh_del(vfh); in isp_video_release()
1364 v4l2_fh_exit(vfh); in isp_video_release()
[all …]
A Dispvideo.h190 struct v4l2_fh vfh; member
197 #define to_isp_video_fh(fh) container_of(fh, struct isp_video_fh, vfh)
/linux/drivers/media/platform/renesas/vsp1/
A Dvsp1_video.c889 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap() local
906 struct v4l2_fh *vfh = file->private_data; in vsp1_video_get_format() local
1042 struct v4l2_fh *vfh; in vsp1_video_open() local
1045 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in vsp1_video_open()
1046 if (vfh == NULL) in vsp1_video_open()
1049 v4l2_fh_init(vfh, &video->video); in vsp1_video_open()
1050 v4l2_fh_add(vfh); in vsp1_video_open()
1052 file->private_data = vfh; in vsp1_video_open()
1056 v4l2_fh_del(vfh); in vsp1_video_open()
1057 v4l2_fh_exit(vfh); in vsp1_video_open()
[all …]
A Dvsp1_histo.c397 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_querycap() local
398 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_querycap()
414 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_enum_format() local
415 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_enum_format()
428 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_get_format() local
429 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_get_format()
/linux/drivers/media/v4l2-core/
A Dv4l2-subdev.c131 v4l2_fh_del(vfh); in subdev_close()
132 v4l2_fh_exit(vfh); in subdev_close()
645 if (!vfh->ctrl_handler) in subdev_do_ioctl()
650 if (!vfh->ctrl_handler) in subdev_do_ioctl()
655 if (!vfh->ctrl_handler) in subdev_do_ioctl()
660 if (!vfh->ctrl_handler) in subdev_do_ioctl()
665 if (!vfh->ctrl_handler) in subdev_do_ioctl()
667 return v4l2_s_ctrl(vfh, vfh->ctrl_handler, arg); in subdev_do_ioctl()
670 if (!vfh->ctrl_handler) in subdev_do_ioctl()
676 if (!vfh->ctrl_handler) in subdev_do_ioctl()
[all …]
A Dv4l2-ioctl.c2288 if (vfh && vfh->ctrl_handler) in v4l_queryctrl()
2305 if (vfh && vfh->ctrl_handler) in v4l_query_ext_ctrl()
2322 if (vfh && vfh->ctrl_handler) in v4l_querymenu()
2341 if (vfh && vfh->ctrl_handler) in v4l_g_ctrl()
2376 if (vfh && vfh->ctrl_handler) in v4l_s_ctrl()
2377 return v4l2_s_ctrl(vfh, vfh->ctrl_handler, p); in v4l_s_ctrl()
2406 if (vfh && vfh->ctrl_handler) in v4l_g_ext_ctrls()
2427 if (vfh && vfh->ctrl_handler) in v4l_s_ext_ctrls()
2428 return v4l2_s_ext_ctrls(vfh, vfh->ctrl_handler, in v4l_s_ext_ctrls()
2448 if (vfh && vfh->ctrl_handler) in v4l_try_ext_ctrls()
[all …]
A Dv4l2-flash-led-class.c572 if (!v4l2_fh_is_singular(&fh->vfh)) in v4l2_flash_open()
622 if (!v4l2_fh_is_singular(&fh->vfh)) in v4l2_flash_close()
A Dv4l2-ctrls-api.c1213 struct v4l2_fh *vfh = file->private_data; in v4l2_ctrl_log_status() local
1216 v4l2_ctrl_handler_log_status(vfh->ctrl_handler, in v4l2_ctrl_log_status()
/linux/drivers/media/platform/xilinx/
A Dxilinx-dma.c474 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->vdev); in xvip_dma_set_format()
/linux/drivers/media/platform/chips-media/wave5/
A Dwave5-vpu.h47 static inline struct vpu_instance *wave5_to_vpu_inst(struct v4l2_fh *vfh) in wave5_to_vpu_inst() argument
49 return container_of(vfh, struct vpu_instance, v4l2_fh); in wave5_to_vpu_inst()
/linux/drivers/media/platform/qcom/camss/
A Dcamss-video.c588 struct v4l2_fh *vfh; in video_open() local
593 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in video_open()
594 if (vfh == NULL) { in video_open()
599 v4l2_fh_init(vfh, vdev); in video_open()
600 v4l2_fh_add(vfh); in video_open()
602 file->private_data = vfh; in video_open()
/linux/drivers/usb/gadget/function/
A Duvc.h178 struct v4l2_fh vfh; member
184 container_of(handle, struct uvc_file_handle, vfh)
A Duvc_v4l2.c610 v4l2_fh_init(&handle->vfh, vdev); in uvc_v4l2_open()
611 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
614 file->private_data = &handle->vfh; in uvc_v4l2_open()
633 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
634 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
/linux/include/media/
A Dv4l2-subdev.h1143 struct v4l2_fh vfh; member
1158 container_of(fh, struct v4l2_subdev_fh, vfh)
/linux/drivers/staging/media/atomisp/pci/
A Datomisp_fops.c545 v4l2_fh_init(&fh.vfh, vdev); in atomisp_release()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4.h1908 u32 *vfl, u32 *vfh, bool sleep_ok);
A Dt4_hw.c5524 u32 *vfl, u32 *vfh, bool sleep_ok) in t4_read_rss_vf_config() argument
5546 t4_tp_pio_read(adapter, vfh, 1, TP_RSS_VFH_CONFIG_A, sleep_ok); in t4_read_rss_vf_config()
/linux/mm/
A Dshmem.c4098 static int shmem_match(struct inode *ino, void *vfh) in shmem_match() argument
4100 __u32 *fh = vfh; in shmem_match()

Completed in 92 milliseconds