/Linux-v4.19/drivers/media/usb/uvc/ |
D | uvc_metadata.c | 32 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_querycap() local 33 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_querycap() 37 strlcpy(cap->card, vfh->vdev->name, sizeof(cap->card)); in uvc_meta_v4l2_querycap() 48 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_get_format() local 49 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_get_format() 52 if (format->type != vfh->vdev->queue->type) in uvc_meta_v4l2_get_format() 66 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_try_format() local 67 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_try_format() 72 if (format->type != vfh->vdev->queue->type) in uvc_meta_v4l2_try_format() 86 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_set_format() local [all …]
|
D | uvc_v4l2.c | 549 v4l2_fh_init(&handle->vfh, &stream->vdev); in uvc_v4l2_open() 550 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open() 572 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release() 573 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
|
D | uvcvideo.h | 625 struct v4l2_fh vfh; member
|
D | uvc_ctrl.c | 1239 struct v4l2_fh *originator = handle ? &handle->vfh : NULL; in uvc_ctrl_send_event() 1409 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event() 1448 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_del_event()
|
/Linux-v4.19/drivers/staging/media/omap4iss/ |
D | iss_video.c | 276 iss_video_check_format(struct iss_video *video, struct iss_video_fh *vfh) in iss_video_check_format() argument 289 if (vfh->format.fmt.pix.pixelformat != pixfmt.pixelformat || in iss_video_check_format() 290 vfh->format.fmt.pix.height != pixfmt.height || in iss_video_check_format() 291 vfh->format.fmt.pix.width != pixfmt.width || in iss_video_check_format() 292 vfh->format.fmt.pix.bytesperline != pixfmt.bytesperline || in iss_video_check_format() 293 vfh->format.fmt.pix.sizeimage != pixfmt.sizeimage) in iss_video_check_format() 308 struct iss_video_fh *vfh = vb2_get_drv_priv(vq); in iss_video_queue_setup() local 309 struct iss_video *video = vfh->video; in iss_video_queue_setup() 314 sizes[0] = vfh->format.fmt.pix.sizeimage; in iss_video_queue_setup() 335 struct iss_video_fh *vfh = vb2_get_drv_priv(vb->vb2_queue); in iss_video_buf_prepare() local [all …]
|
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)
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | v4l2-subdev.c | 72 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open() 73 v4l2_fh_add(&subdev_fh->vfh); in subdev_open() 74 file->private_data = &subdev_fh->vfh; in subdev_open() 97 v4l2_fh_del(&subdev_fh->vfh); in subdev_open() 98 v4l2_fh_exit(&subdev_fh->vfh); in subdev_open() 109 struct v4l2_fh *vfh = file->private_data; in subdev_close() local 110 struct v4l2_subdev_fh *subdev_fh = to_v4l2_subdev_fh(vfh); in subdev_close() 118 v4l2_fh_del(vfh); in subdev_close() 119 v4l2_fh_exit(vfh); in subdev_close() 182 struct v4l2_fh *vfh = file->private_data; in subdev_do_ioctl() local [all …]
|
D | v4l2-ioctl.c | 1096 struct v4l2_fh *vfh; in v4l_s_priority() local 1102 vfh = file->private_data; in v4l_s_priority() 1103 return v4l2_prio_change(vfd->prio, &vfh->prio, *p); in v4l_s_priority() 1993 struct v4l2_fh *vfh = in v4l_queryctrl() local 1996 if (vfh && vfh->ctrl_handler) in v4l_queryctrl() 1997 return v4l2_queryctrl(vfh->ctrl_handler, p); in v4l_queryctrl() 2010 struct v4l2_fh *vfh = in v4l_query_ext_ctrl() local 2013 if (vfh && vfh->ctrl_handler) in v4l_query_ext_ctrl() 2014 return v4l2_query_ext_ctrl(vfh->ctrl_handler, p); in v4l_query_ext_ctrl() 2027 struct v4l2_fh *vfh = in v4l_querymenu() local [all …]
|
D | v4l2-flash-led-class.c | 537 if (!v4l2_fh_is_singular(&fh->vfh)) in v4l2_flash_open() 587 if (!v4l2_fh_is_singular(&fh->vfh)) in v4l2_flash_close()
|
D | v4l2-ctrls.c | 3586 struct v4l2_fh *vfh = file->private_data; in v4l2_ctrl_log_status() local 3589 v4l2_ctrl_handler_log_status(vfh->ctrl_handler, in v4l2_ctrl_log_status()
|
/Linux-v4.19/drivers/media/platform/omap3isp/ |
D | ispvideo.c | 307 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh) in isp_video_check_format() argument 312 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format() 317 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format() 318 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format() 319 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format() 320 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format() 321 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format() 322 vfh->format.fmt.pix.field != format.fmt.pix.field) in isp_video_check_format() 336 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_queue_setup() local 337 struct isp_video *video = vfh->video; in isp_video_queue_setup() [all …]
|
D | ispvideo.h | 186 struct v4l2_fh vfh; member 193 #define to_isp_video_fh(fh) container_of(fh, struct isp_video_fh, vfh)
|
/Linux-v4.19/drivers/media/platform/vsp1/ |
D | vsp1_video.c | 965 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap() local 966 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_querycap() 990 struct v4l2_fh *vfh = file->private_data; in vsp1_video_get_format() local 991 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_get_format() 1006 struct v4l2_fh *vfh = file->private_data; in vsp1_video_try_format() local 1007 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_try_format() 1018 struct v4l2_fh *vfh = file->private_data; in vsp1_video_set_format() local 1019 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_set_format() 1048 struct v4l2_fh *vfh = file->private_data; in vsp1_video_streamon() local 1049 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_streamon() [all …]
|
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() 443 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_enum_format() local 444 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_enum_format() 457 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_get_format() local 458 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_get_format()
|
/Linux-v4.19/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 494 struct v4l2_fh *vfh = file->private_data; in xvip_dma_querycap() local 495 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_querycap() 523 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format() local 524 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_enum_format() 539 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format() local 540 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_get_format() 601 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format() local 602 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_try_format() 611 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format() local 612 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_set_format()
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | uvc_v4l2.c | 291 v4l2_fh_init(&handle->vfh, vdev); in uvc_v4l2_open() 292 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open() 295 file->private_data = &handle->vfh; in uvc_v4l2_open() 317 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release() 318 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
|
D | uvc.h | 144 struct v4l2_fh vfh; member 149 container_of(handle, struct uvc_file_handle, vfh)
|
/Linux-v4.19/drivers/media/platform/qcom/camss/ |
D | camss-video.c | 732 struct v4l2_fh *vfh; in video_open() local 737 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in video_open() 738 if (vfh == NULL) { in video_open() 743 v4l2_fh_init(vfh, vdev); in video_open() 744 v4l2_fh_add(vfh); in video_open() 746 file->private_data = vfh; in video_open()
|
/Linux-v4.19/drivers/staging/media/davinci_vpfe/ |
D | vpfe_mc_capture.h | 84 struct v4l2_fh vfh; member
|
D | vpfe_video.c | 418 v4l2_fh_init(&handle->vfh, &video->video_dev); in vpfe_open() 419 v4l2_fh_add(&handle->vfh); in vpfe_open() 432 file->private_data = &handle->vfh; in vpfe_open() 520 struct v4l2_fh *vfh = file->private_data; in vpfe_release() local 522 struct vpfe_fh *fh = container_of(vfh, struct vpfe_fh, vfh); in vpfe_release() 547 v4l2_fh_del(&fh->vfh); in vpfe_release() 548 v4l2_fh_exit(&fh->vfh); in vpfe_release() 555 v4l2_fh_del(vfh); in vpfe_release()
|
/Linux-v4.19/include/media/ |
D | v4l2-subdev.h | 900 struct v4l2_fh vfh; member 913 container_of(fh, struct v4l2_subdev_fh, vfh)
|
/Linux-v4.19/mm/ |
D | shmem.c | 3208 static int shmem_match(struct inode *ino, void *vfh) in shmem_match() argument 3210 __u32 *fh = vfh; in shmem_match()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 1651 u32 *vfl, u32 *vfh, bool sleep_ok);
|
D | t4_hw.c | 5457 u32 *vfl, u32 *vfh, bool sleep_ok) in t4_read_rss_vf_config() argument 5479 t4_tp_pio_read(adapter, vfh, 1, TP_RSS_VFH_CONFIG_A, sleep_ok); in t4_read_rss_vf_config()
|