/linux/drivers/media/usb/uvc/ |
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 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 D | uvc_v4l2.c | 586 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 D | uvcvideo.h | 722 struct v4l2_fh vfh; member
|
A D | uvc_ctrl.c | 1319 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 D | iss_video.c | 585 *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 D | iss_video.h | 173 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 D | ispvideo.c | 674 *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 D | ispvideo.h | 183 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 D | v4l2-subdev.c | 107 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 D | v4l2-ioctl.c | 2143 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 D | v4l2-flash-led-class.c | 572 if (!v4l2_fh_is_singular(&fh->vfh)) in v4l2_flash_open() 622 if (!v4l2_fh_is_singular(&fh->vfh)) in v4l2_flash_close()
|
A D | v4l2-ctrls-api.c | 1123 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 D | vsp1_video.c | 952 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 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() 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 D | xilinx-dma.c | 490 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 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()
|
A D | uvc.h | 160 struct v4l2_fh vfh; member 166 container_of(handle, struct uvc_file_handle, vfh)
|
/linux/drivers/media/platform/qcom/camss/ |
A D | camss-video.c | 840 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 D | v4l2-subdev.h | 967 struct v4l2_fh vfh; member 981 container_of(fh, struct v4l2_subdev_fh, vfh)
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | atomisp_fops.c | 904 v4l2_fh_init(&fh.vfh, vdev); in atomisp_release()
|
A D | atomisp_cmd.c | 5201 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 D | shmem.c | 3224 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 D | cxgb4.h | 1910 u32 *vfl, u32 *vfh, bool sleep_ok);
|
A D | t4_hw.c | 5522 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()
|