| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | ispvideo.c | 300 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh) in isp_video_check_format() argument 305 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format() 310 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format() 311 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format() 312 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format() 313 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format() 314 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format() 315 vfh->format.fmt.pix.field != format.fmt.pix.field) in isp_video_check_format() 329 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_queue_setup() local 330 struct isp_video *video = vfh->video; in isp_video_queue_setup() [all …]
|
| /linux/drivers/media/usb/uvc/ |
| H A D | uvc_metadata.c | 29 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in uvc_meta_v4l2_querycap() local 30 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_querycap() 45 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in uvc_meta_v4l2_get_format() local 46 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_get_format() 49 if (format->type != vfh->vdev->queue->type) in uvc_meta_v4l2_get_format() 61 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in uvc_meta_v4l2_try_format() local 62 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_try_format() 67 if (format->type != vfh->vdev->queue->type) in uvc_meta_v4l2_try_format() 88 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in uvc_meta_v4l2_set_format() local 89 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_set_format() [all …]
|
| H A D | uvc_v4l2.c | 579 v4l2_fh_init(&handle->vfh, &stream->queue.vdev); in uvc_v4l2_open() 580 v4l2_fh_add(&handle->vfh, file); in uvc_v4l2_open()
|
| H A D | uvc_ctrl.c | 1882 struct v4l2_fh *originator = handle ? &handle->vfh : NULL; in uvc_ctrl_send_event() 2124 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event() 2179 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_del_event()
|
| /linux/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_video.c | 898 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in vsp1_video_querycap() local 899 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_querycap() 914 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in vsp1_video_enum_format() local 915 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_enum_format() 935 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in vsp1_video_get_format() local 936 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_get_format() 951 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in vsp1_video_try_format() local 952 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_try_format() 963 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in vsp1_video_set_format() local 964 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_set_format() [all …]
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-subdev.c | 112 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open() 113 v4l2_fh_add(&subdev_fh->vfh, file); in subdev_open() 136 v4l2_fh_del(&subdev_fh->vfh, file); in subdev_open() 137 v4l2_fh_exit(&subdev_fh->vfh); in subdev_open() 148 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in subdev_close() local 149 struct v4l2_subdev_fh *subdev_fh = to_v4l2_subdev_fh(vfh); in subdev_close() 154 v4l2_fh_del(vfh, file); in subdev_close() 155 v4l2_fh_exit(vfh); in subdev_close() 637 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in subdev_do_ioctl() local 638 struct v4l2_subdev_fh *subdev_fh = to_v4l2_subdev_fh(vfh); in subdev_do_ioctl() [all …]
|
| H A D | v4l2-ioctl.c | 1194 struct v4l2_fh *vfh; in v4l_s_priority() local 1198 vfh = file_to_v4l2_fh(file); in v4l_s_priority() 1199 return v4l2_prio_change(vfd->prio, &vfh->prio, *p); in v4l_s_priority() 2301 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in v4l_queryctrl() local 2304 if (vfh && vfh->ctrl_handler) in v4l_queryctrl() 2305 return v4l2_queryctrl(vfh->ctrl_handler, p); in v4l_queryctrl() 2325 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in v4l_query_ext_ctrl() local 2327 if (vfh && vfh->ctrl_handler) in v4l_query_ext_ctrl() 2328 return v4l2_query_ext_ctrl(vfh->ctrl_handler, p); in v4l_query_ext_ctrl() 2341 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in v4l_querymenu() local [all …]
|
| H A D | v4l2-flash-led-class.c | 571 if (!v4l2_fh_is_singular(&fh->vfh)) in v4l2_flash_open() 621 if (!v4l2_fh_is_singular(&fh->vfh)) in v4l2_flash_close()
|
| H A D | v4l2-ctrls-api.c | 1256 struct v4l2_fh *vfh = file_to_v4l2_fh(file); in v4l2_ctrl_log_status() local 1258 v4l2_ctrl_handler_log_status(vfh->ctrl_handler, in v4l2_ctrl_log_status()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | uvc.h | 192 struct v4l2_fh vfh; member 198 container_of(handle, struct uvc_file_handle, vfh) 202 return container_of(file_to_v4l2_fh(filp), struct uvc_file_handle, vfh); in file_to_uvc_file_handle()
|
| H A D | uvc_v4l2.c | 674 v4l2_fh_init(&handle->vfh, vdev); in uvc_v4l2_open() 675 v4l2_fh_add(&handle->vfh, file); in uvc_v4l2_open() 695 v4l2_fh_del(&handle->vfh, file); in uvc_v4l2_release() 696 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
|
| /linux/mm/ |
| H A D | shmem.c | 4421 static int shmem_match(struct inode *ino, void *vfh) in shmem_match() argument 4423 __u32 *fh = vfh; in shmem_match()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | t4_hw.c | 5524 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()
|