Home
last modified time | relevance | path

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

/drivers/staging/media/omap4iss/
Diss_video.c263 iss_video_check_format(struct iss_video *video, struct iss_video_fh *vfh) in iss_video_check_format() argument
276 if (vfh->format.fmt.pix.pixelformat != pixfmt.pixelformat || in iss_video_check_format()
277 vfh->format.fmt.pix.height != pixfmt.height || in iss_video_check_format()
278 vfh->format.fmt.pix.width != pixfmt.width || in iss_video_check_format()
279 vfh->format.fmt.pix.bytesperline != pixfmt.bytesperline || in iss_video_check_format()
280 vfh->format.fmt.pix.sizeimage != pixfmt.sizeimage) in iss_video_check_format()
295 struct iss_video_fh *vfh = vb2_get_drv_priv(vq); in iss_video_queue_setup() local
296 struct iss_video *video = vfh->video; in iss_video_queue_setup()
301 sizes[0] = vfh->format.fmt.pix.sizeimage; in iss_video_queue_setup()
324 struct iss_video_fh *vfh = vb2_get_drv_priv(vb->vb2_queue); in iss_video_buf_prepare() local
[all …]
Diss_video.h181 struct v4l2_fh vfh; member
188 #define to_iss_video_fh(fh) container_of(fh, struct iss_video_fh, vfh)
/drivers/media/platform/omap3isp/
Dispvideo.c297 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh) in isp_video_check_format() argument
302 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format()
307 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format()
308 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format()
309 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format()
310 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format()
311 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format()
312 vfh->format.fmt.pix.field != format.fmt.pix.field) in isp_video_check_format()
327 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_queue_setup() local
328 struct isp_video *video = vfh->video; in isp_video_queue_setup()
[all …]
Dispvideo.h187 struct v4l2_fh vfh; member
194 #define to_isp_video_fh(fh) container_of(fh, struct isp_video_fh, vfh)
/drivers/media/v4l2-core/
Dv4l2-subdev.c73 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open()
74 v4l2_fh_add(&subdev_fh->vfh); in subdev_open()
75 file->private_data = &subdev_fh->vfh; in subdev_open()
98 v4l2_fh_del(&subdev_fh->vfh); in subdev_open()
99 v4l2_fh_exit(&subdev_fh->vfh); in subdev_open()
110 struct v4l2_fh *vfh = file->private_data; in subdev_close() local
111 struct v4l2_subdev_fh *subdev_fh = to_v4l2_subdev_fh(vfh); in subdev_close()
119 v4l2_fh_del(vfh); in subdev_close()
120 v4l2_fh_exit(vfh); in subdev_close()
183 struct v4l2_fh *vfh = file->private_data; in subdev_do_ioctl() local
[all …]
Dv4l2-ioctl.c1068 struct v4l2_fh *vfh; in v4l_s_priority() local
1074 vfh = file->private_data; in v4l_s_priority()
1075 return v4l2_prio_change(vfd->prio, &vfh->prio, *p); in v4l_s_priority()
1907 struct v4l2_fh *vfh = in v4l_queryctrl() local
1910 if (vfh && vfh->ctrl_handler) in v4l_queryctrl()
1911 return v4l2_queryctrl(vfh->ctrl_handler, p); in v4l_queryctrl()
1924 struct v4l2_fh *vfh = in v4l_query_ext_ctrl() local
1927 if (vfh && vfh->ctrl_handler) in v4l_query_ext_ctrl()
1928 return v4l2_query_ext_ctrl(vfh->ctrl_handler, p); in v4l_query_ext_ctrl()
1941 struct v4l2_fh *vfh = in v4l_querymenu() local
[all …]
Dv4l2-flash-led-class.c536 if (!v4l2_fh_is_singular(&fh->vfh)) in v4l2_flash_open()
584 if (!v4l2_fh_is_singular(&fh->vfh)) in v4l2_flash_close()
Dv4l2-ctrls.c3420 struct v4l2_fh *vfh = file->private_data; in v4l2_ctrl_log_status() local
3423 v4l2_ctrl_handler_log_status(vfh->ctrl_handler, in v4l2_ctrl_log_status()
/drivers/media/platform/vsp1/
Dvsp1_video.c982 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap() local
983 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_querycap()
1007 struct v4l2_fh *vfh = file->private_data; in vsp1_video_get_format() local
1008 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_get_format()
1023 struct v4l2_fh *vfh = file->private_data; in vsp1_video_try_format() local
1024 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_try_format()
1035 struct v4l2_fh *vfh = file->private_data; in vsp1_video_set_format() local
1036 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_set_format()
1065 struct v4l2_fh *vfh = file->private_data; in vsp1_video_streamon() local
1066 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_streamon()
[all …]
/drivers/media/platform/xilinx/
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()
517 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format() local
518 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_enum_format()
533 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format() local
534 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_get_format()
595 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format() local
596 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_try_format()
605 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format() local
606 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_set_format()
/drivers/usb/gadget/function/
Duvc_v4l2.c295 v4l2_fh_init(&handle->vfh, vdev); in uvc_v4l2_open()
296 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
299 file->private_data = &handle->vfh; in uvc_v4l2_open()
321 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
322 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
Duvc.h180 struct v4l2_fh vfh; member
185 container_of(handle, struct uvc_file_handle, vfh)
/drivers/staging/media/davinci_vpfe/
Dvpfe_video.c402 v4l2_fh_init(&handle->vfh, &video->video_dev); in vpfe_open()
403 v4l2_fh_add(&handle->vfh); in vpfe_open()
409 v4l2_fh_del(&handle->vfh); in vpfe_open()
410 v4l2_fh_exit(&handle->vfh); in vpfe_open()
419 file->private_data = &handle->vfh; in vpfe_open()
507 struct v4l2_fh *vfh = file->private_data; in vpfe_release() local
509 struct vpfe_fh *fh = container_of(vfh, struct vpfe_fh, vfh); in vpfe_release()
534 v4l2_fh_del(&fh->vfh); in vpfe_release()
535 v4l2_fh_exit(&fh->vfh); in vpfe_release()
542 v4l2_fh_del(vfh); in vpfe_release()
Dvpfe_mc_capture.h84 struct v4l2_fh vfh; member
/drivers/media/usb/uvc/
Duvc_v4l2.c544 v4l2_fh_init(&handle->vfh, &stream->vdev); in uvc_v4l2_open()
545 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
567 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
568 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
Duvcvideo.h573 struct v4l2_fh vfh; member
Duvc_ctrl.c1231 if (sev->fh && (sev->fh != &handle->vfh || in uvc_ctrl_send_event()
1307 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
1346 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_del_event()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h1296 u32 *vfl, u32 *vfh);
Dt4_hw.c4723 u32 *vfl, u32 *vfh) in t4_read_rss_vf_config() argument
4746 t4_fw_tp_pio_rw(adapter, vfh, 1, TP_RSS_VFH_CONFIG_A, 1); in t4_read_rss_vf_config()
4751 vfh, 1, TP_RSS_VFH_CONFIG_A); in t4_read_rss_vf_config()