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.c586 v4l2_fh_init(&handle->vfh, &stream->vdev); in uvc_v4l2_open()
587 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
609 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
610 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
A Duvcvideo.h722 struct v4l2_fh vfh; member
A Duvc_ctrl.c1319 struct v4l2_fh *originator = handle ? &handle->vfh : NULL; in uvc_ctrl_send_event()
1494 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
1538 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.c585 *format = vfh->format; in iss_video_get_format()
610 vfh->format = *format; in iss_video_set_format()
808 return vb2_expbuf(&vfh->queue, e); in iss_video_expbuf()
945 video->queue = &vfh->queue; in iss_video_streamon()
979 vb2_streamoff(&vfh->queue, type); in iss_video_streamon()
1028 vb2_streamoff(&vfh->queue, type); in iss_video_streamoff()
1109 v4l2_fh_add(&handle->vfh); in iss_video_open()
1149 v4l2_fh_del(&handle->vfh); in iss_video_open()
1150 v4l2_fh_exit(&handle->vfh); in iss_video_open()
1171 v4l2_fh_del(vfh); in iss_video_release()
[all …]
A Diss_video.h173 struct v4l2_fh vfh; member
180 #define to_iss_video_fh(fh) container_of(fh, struct iss_video_fh, vfh)
/linux/drivers/media/platform/omap3isp/
A Dispvideo.c674 *format = vfh->format; in isp_video_get_format()
732 vfh->format = *format; in isp_video_set_format()
1148 video->queue = &vfh->queue; in isp_video_streamon()
1225 vb2_streamoff(&vfh->queue, type); in isp_video_streamoff()
1305 v4l2_fh_add(&handle->vfh); in isp_video_open()
1340 file->private_data = &handle->vfh; in isp_video_open()
1344 v4l2_fh_del(&handle->vfh); in isp_video_open()
1345 v4l2_fh_exit(&handle->vfh); in isp_video_open()
1368 v4l2_fh_del(vfh); in isp_video_release()
1369 v4l2_fh_exit(vfh); in isp_video_release()
[all …]
A Dispvideo.h183 struct v4l2_fh vfh; member
190 #define to_isp_video_fh(fh) container_of(fh, struct isp_video_fh, vfh)
/linux/drivers/media/v4l2-core/
A Dv4l2-subdev.c107 v4l2_fh_del(vfh); in subdev_close()
108 v4l2_fh_exit(vfh); in subdev_close()
385 if (!vfh->ctrl_handler) in subdev_do_ioctl()
390 if (!vfh->ctrl_handler) in subdev_do_ioctl()
395 if (!vfh->ctrl_handler) in subdev_do_ioctl()
400 if (!vfh->ctrl_handler) in subdev_do_ioctl()
405 if (!vfh->ctrl_handler) in subdev_do_ioctl()
407 return v4l2_s_ctrl(vfh, vfh->ctrl_handler, arg); in subdev_do_ioctl()
410 if (!vfh->ctrl_handler) in subdev_do_ioctl()
416 if (!vfh->ctrl_handler) in subdev_do_ioctl()
[all …]
A Dv4l2-ioctl.c2143 if (vfh && vfh->ctrl_handler) in v4l_queryctrl()
2160 if (vfh && vfh->ctrl_handler) in v4l_query_ext_ctrl()
2177 if (vfh && vfh->ctrl_handler) in v4l_querymenu()
2196 if (vfh && vfh->ctrl_handler) in v4l_g_ctrl()
2231 if (vfh && vfh->ctrl_handler) in v4l_s_ctrl()
2232 return v4l2_s_ctrl(vfh, vfh->ctrl_handler, p); in v4l_s_ctrl()
2261 if (vfh && vfh->ctrl_handler) in v4l_g_ext_ctrls()
2282 if (vfh && vfh->ctrl_handler) in v4l_s_ext_ctrls()
2283 return v4l2_s_ext_ctrls(vfh, vfh->ctrl_handler, in v4l_s_ext_ctrls()
2303 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.c1123 struct v4l2_fh *vfh = file->private_data; in v4l2_ctrl_log_status() local
1126 v4l2_ctrl_handler_log_status(vfh->ctrl_handler, in v4l2_ctrl_log_status()
/linux/drivers/media/platform/vsp1/
A Dvsp1_video.c952 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap() local
1107 struct v4l2_fh *vfh; in vsp1_video_open() local
1110 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in vsp1_video_open()
1111 if (vfh == NULL) in vsp1_video_open()
1114 v4l2_fh_init(vfh, &video->video); in vsp1_video_open()
1115 v4l2_fh_add(vfh); in vsp1_video_open()
1117 file->private_data = vfh; in vsp1_video_open()
1121 v4l2_fh_del(vfh); in vsp1_video_open()
1122 v4l2_fh_exit(vfh); in vsp1_video_open()
1123 kfree(vfh); in vsp1_video_open()
[all …]
A Dvsp1_histo.c427 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()
446 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_enum_format() local
447 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_enum_format()
460 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_get_format() local
461 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_get_format()
/linux/drivers/media/platform/xilinx/
A Dxilinx-dma.c490 struct v4l2_fh *vfh = file->private_data; in xvip_dma_querycap() local
491 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_querycap()
512 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format() local
513 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_enum_format()
526 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format() local
527 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_get_format()
586 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format() local
587 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_try_format()
596 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format() local
597 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_set_format()
/linux/drivers/usb/gadget/function/
A Duvc_v4l2.c328 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()
A Duvc.h160 struct v4l2_fh vfh; member
166 container_of(handle, struct uvc_file_handle, vfh)
/linux/drivers/media/platform/qcom/camss/
A Dcamss-video.c840 struct v4l2_fh *vfh; in video_open() local
845 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in video_open()
846 if (vfh == NULL) { in video_open()
851 v4l2_fh_init(vfh, vdev); in video_open()
852 v4l2_fh_add(vfh); in video_open()
854 file->private_data = vfh; in video_open()
/linux/include/media/
A Dv4l2-subdev.h967 struct v4l2_fh vfh; member
981 container_of(fh, struct v4l2_subdev_fh, vfh)
/linux/drivers/staging/media/atomisp/pci/
A Datomisp_fops.c904 v4l2_fh_init(&fh.vfh, vdev); in atomisp_release()
A Datomisp_cmd.c5201 v4l2_fh_init(&fh.vfh, vdev); in atomisp_set_fmt_to_isp()
5515 v4l2_fh_init(&fh.vfh, vdev); in atomisp_set_fmt_to_snr()
5618 v4l2_fh_init(&fh.vfh, vdev); in atomisp_set_fmt()
6037 v4l2_fh_init(&fh.vfh, vdev); in atomisp_set_fmt_file()
/linux/mm/
A Dshmem.c3224 static int shmem_match(struct inode *ino, void *vfh) in shmem_match() argument
3226 __u32 *fh = vfh; in shmem_match()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4.h1910 u32 *vfl, u32 *vfh, bool sleep_ok);
A Dt4_hw.c5522 u32 *vfl, u32 *vfh, bool sleep_ok) in t4_read_rss_vf_config() argument
5544 t4_tp_pio_read(adapter, vfh, 1, TP_RSS_VFH_CONFIG_A, sleep_ok); in t4_read_rss_vf_config()

Completed in 100 milliseconds