Home
last modified time | relevance | path

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

/linux/drivers/media/platform/ti/omap3isp/
H A Dispvideo.c296 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh) in isp_video_check_format() argument
301 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format()
306 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format()
307 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format()
308 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format()
309 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format()
310 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format()
311 vfh->format.fmt.pix.field != format.fmt.pix.field) in isp_video_check_format()
325 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_queue_setup() local
326 struct isp_video *video = vfh in isp_video_queue_setup()
342 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); isp_video_buffer_prepare() local
382 struct isp_video_fh *vfh = vb2_get_drv_priv(buf->vb2_queue); isp_video_buffer_queue() local
453 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); isp_video_start_streaming() local
660 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_get_format() local
676 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_set_format() local
861 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_get_param() local
879 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_set_param() local
897 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_reqbufs() local
911 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_querybuf() local
925 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_qbuf() local
939 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_dqbuf() local
1077 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_streamon() local
1183 struct isp_video_fh *vfh = to_isp_video_fh(fh); isp_video_streamoff() local
1351 struct v4l2_fh *vfh = file->private_data; isp_video_release() local
1376 struct isp_video_fh *vfh = to_isp_video_fh(file->private_data); isp_video_poll() local
1389 struct isp_video_fh *vfh = to_isp_video_fh(file->private_data); isp_video_mmap() local
[all...]
H 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/usb/uvc/
H A Duvc_metadata.c29 struct v4l2_fh *vfh = file->private_data; 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->private_data; 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()
63 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_try_format() local
64 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_try_format()
69 if (format->type != vfh->vdev->queue->type) in uvc_meta_v4l2_try_format()
89 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_set_format() local
90 struct uvc_streaming *stream = video_get_drvdata(vfh in uvc_meta_v4l2_set_format()
118 struct v4l2_fh *vfh = file->private_data; uvc_meta_v4l2_enum_formats() local
[all...]
H A Duvcvideo.h634 struct v4l2_fh vfh; member
H A Duvc_v4l2.c602 v4l2_fh_init(&handle->vfh, &stream->vdev); in uvc_v4l2_open()
603 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
H A Duvc_ctrl.c1813 struct v4l2_fh *originator = handle ? &handle->vfh : NULL; in uvc_ctrl_send_event()
2055 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
2110 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_del_event()
/linux/drivers/media/v4l2-core/
H A Dv4l2-subdev.c88 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open()
89 v4l2_fh_add(&subdev_fh->vfh); in subdev_open()
90 file->private_data = &subdev_fh->vfh; in subdev_open()
113 v4l2_fh_del(&subdev_fh->vfh); in subdev_open()
114 v4l2_fh_exit(&subdev_fh->vfh); in subdev_open()
125 struct v4l2_fh *vfh = file->private_data; in subdev_close() local
126 struct v4l2_subdev_fh *subdev_fh = to_v4l2_subdev_fh(vfh); in subdev_close()
131 v4l2_fh_del(vfh); in subdev_close()
132 v4l2_fh_exit(vfh); in subdev_close()
615 struct v4l2_fh *vfh in subdev_do_ioctl() local
1138 struct v4l2_fh *vfh = file->private_data; subdev_do_ioctl_lock() local
[all...]
H A Dv4l2-ioctl.c1194 struct v4l2_fh *vfh; in v4l_s_priority() local
1200 vfh = file->private_data; in v4l_s_priority()
1201 return v4l2_prio_change(vfd->prio, &vfh->prio, *p); in v4l_s_priority()
2300 struct v4l2_fh *vfh = 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 = in v4l_query_ext_ctrl() local
2328 if (vfh && vfh in v4l_query_ext_ctrl()
2342 struct v4l2_fh *vfh = v4l_querymenu() local
2359 struct v4l2_fh *vfh = v4l_g_ctrl() local
2391 struct v4l2_fh *vfh = v4l_s_ctrl() local
2421 struct v4l2_fh *vfh = v4l_g_ext_ctrls() local
2442 struct v4l2_fh *vfh = v4l_s_ext_ctrls() local
2463 struct v4l2_fh *vfh = v4l_try_ext_ctrls() local
3012 v4l2_ioctl_get_lock(struct video_device * vdev,struct v4l2_fh * vfh,unsigned int cmd,void * arg) v4l2_ioctl_get_lock() argument
3076 struct v4l2_fh *vfh = NULL; __video_do_ioctl() local
[all...]
H 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()
H A Dv4l2-ctrls-api.c1256 struct v4l2_fh *vfh = file->private_data; in v4l2_ctrl_log_status() local
1259 v4l2_ctrl_handler_log_status(vfh->ctrl_handler, in v4l2_ctrl_log_status()
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_histo.c395 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_querycap() local
396 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_querycap()
412 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_enum_format() local
413 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_enum_format()
426 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_get_format() local
427 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_get_format()
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-video.c611 struct v4l2_fh *vfh; in video_open() local
616 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in video_open()
617 if (vfh == NULL) { in video_open()
622 v4l2_fh_init(vfh, vdev); in video_open()
623 v4l2_fh_add(vfh); in video_open()
625 file->private_data = vfh; in video_open()
/linux/drivers/usb/gadget/function/
H A Duvc.h191 struct v4l2_fh vfh; member
197 container_of(handle, struct uvc_file_handle, vfh)
H A Duvc_v4l2.c674 v4l2_fh_init(&handle->vfh, vdev); in uvc_v4l2_open()
675 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
678 file->private_data = &handle->vfh; in uvc_v4l2_open()
697 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
698 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
/linux/include/media/
H A Dv4l2-subdev.h1145 * @vfh: pointer to &struct v4l2_fh
1151 struct v4l2_fh vfh; member
1166 container_of(fh, struct v4l2_subdev_fh, vfh)
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_fops.c529 v4l2_fh_init(&fh.vfh, vdev); in atomisp_release()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h1908 u32 *vfl, u32 *vfh, bool sleep_ok);
H A Dt4_hw.c5517 * @vfh: where to store the returned VFH
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()
/linux/mm/
H A Dshmem.c4466 static int shmem_match(struct inode *ino, void *vfh) in shmem_match() argument
4468 __u32 *fh = vfh; in shmem_match()