Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/usb/uvc/
Duvc_metadata.c28 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
63 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_try_format()
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
84 struct uvc_streaming *stream = video_get_drvdata(vfh->vdev); in uvc_meta_v4l2_set_format()
[all …]
Duvc_v4l2.c645 v4l2_fh_init(&handle->vfh, &stream->vdev); in uvc_v4l2_open()
646 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
668 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
669 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
Duvcvideo.h603 struct v4l2_fh vfh; member
Duvc_ctrl.c1495 struct v4l2_fh *originator = handle ? &handle->vfh : NULL; in uvc_ctrl_send_event()
1674 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
1720 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_del_event()
/linux-6.6.21/drivers/staging/media/omap4iss/
Diss_video.c265 iss_video_check_format(struct iss_video *video, struct iss_video_fh *vfh) in iss_video_check_format() argument
278 if (vfh->format.fmt.pix.pixelformat != pixfmt.pixelformat || in iss_video_check_format()
279 vfh->format.fmt.pix.height != pixfmt.height || in iss_video_check_format()
280 vfh->format.fmt.pix.width != pixfmt.width || in iss_video_check_format()
281 vfh->format.fmt.pix.bytesperline != pixfmt.bytesperline || in iss_video_check_format()
282 vfh->format.fmt.pix.sizeimage != pixfmt.sizeimage) in iss_video_check_format()
297 struct iss_video_fh *vfh = vb2_get_drv_priv(vq); in iss_video_queue_setup() local
298 struct iss_video *video = vfh->video; in iss_video_queue_setup()
303 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.h180 struct v4l2_fh vfh; member
187 #define to_iss_video_fh(fh) container_of(fh, struct iss_video_fh, vfh)
/linux-6.6.21/drivers/media/platform/ti/omap3isp/
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->video; in isp_video_queue_setup()
[all …]
Dispvideo.h190 struct v4l2_fh vfh; member
197 #define to_isp_video_fh(fh) container_of(fh, struct isp_video_fh, vfh)
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-subdev.c87 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open()
88 v4l2_fh_add(&subdev_fh->vfh); in subdev_open()
89 file->private_data = &subdev_fh->vfh; in subdev_open()
112 v4l2_fh_del(&subdev_fh->vfh); in subdev_open()
113 v4l2_fh_exit(&subdev_fh->vfh); in subdev_open()
124 struct v4l2_fh *vfh = file->private_data; in subdev_close() local
125 struct v4l2_subdev_fh *subdev_fh = to_v4l2_subdev_fh(vfh); in subdev_close()
130 v4l2_fh_del(vfh); in subdev_close()
131 v4l2_fh_exit(vfh); in subdev_close()
497 struct v4l2_fh *vfh = file->private_data; in subdev_do_ioctl() local
[all …]
Dv4l2-ioctl.c1183 struct v4l2_fh *vfh; in v4l_s_priority() local
1189 vfh = file->private_data; in v4l_s_priority()
1190 return v4l2_prio_change(vfd->prio, &vfh->prio, *p); in v4l_s_priority()
2215 struct v4l2_fh *vfh = in v4l_queryctrl() local
2218 if (vfh && vfh->ctrl_handler) in v4l_queryctrl()
2219 return v4l2_queryctrl(vfh->ctrl_handler, p); in v4l_queryctrl()
2232 struct v4l2_fh *vfh = in v4l_query_ext_ctrl() local
2235 if (vfh && vfh->ctrl_handler) in v4l_query_ext_ctrl()
2236 return v4l2_query_ext_ctrl(vfh->ctrl_handler, p); in v4l_query_ext_ctrl()
2249 struct v4l2_fh *vfh = in v4l_querymenu() local
[all …]
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()
Dv4l2-ctrls-api.c1203 struct v4l2_fh *vfh = file->private_data; in v4l2_ctrl_log_status() local
1206 v4l2_ctrl_handler_log_status(vfh->ctrl_handler, in v4l2_ctrl_log_status()
/linux-6.6.21/drivers/media/platform/renesas/vsp1/
Dvsp1_video.c953 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap() local
954 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_querycap()
970 struct v4l2_fh *vfh = file->private_data; in vsp1_video_get_format() local
971 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_get_format()
986 struct v4l2_fh *vfh = file->private_data; in vsp1_video_try_format() local
987 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_try_format()
998 struct v4l2_fh *vfh = file->private_data; in vsp1_video_set_format() local
999 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_set_format()
1028 struct v4l2_fh *vfh = file->private_data; in vsp1_video_streamon() local
1029 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_streamon()
[all …]
Dvsp1_histo.c427 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()
444 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_enum_format() local
445 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_enum_format()
458 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_get_format() local
459 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_get_format()
/linux-6.6.21/drivers/media/platform/xilinx/
Dxilinx-dma.c474 struct v4l2_fh *vfh = file->private_data; in xvip_dma_querycap() local
475 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_querycap()
496 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format() local
497 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_enum_format()
510 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format() local
511 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_get_format()
570 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format() local
571 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_try_format()
580 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format() local
581 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_set_format()
/linux-6.6.21/drivers/usb/gadget/function/
Duvc.h168 struct v4l2_fh vfh; member
174 container_of(handle, struct uvc_file_handle, vfh)
Duvc_v4l2.c579 v4l2_fh_init(&handle->vfh, vdev); in uvc_v4l2_open()
580 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
583 file->private_data = &handle->vfh; in uvc_v4l2_open()
602 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
603 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
/linux-6.6.21/drivers/media/platform/qcom/camss/
Dcamss-video.c854 struct v4l2_fh *vfh; in video_open() local
859 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in video_open()
860 if (vfh == NULL) { in video_open()
865 v4l2_fh_init(vfh, vdev); in video_open()
866 v4l2_fh_add(vfh); in video_open()
868 file->private_data = vfh; in video_open()
/linux-6.6.21/include/media/
Dv4l2-subdev.h1127 struct v4l2_fh vfh; member
1142 container_of(fh, struct v4l2_subdev_fh, vfh)
/linux-6.6.21/drivers/staging/media/atomisp/pci/
Datomisp_fops.c561 v4l2_fh_init(&fh.vfh, vdev); in atomisp_release()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h1908 u32 *vfl, u32 *vfh, bool sleep_ok);
Dt4_hw.c5524 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-6.6.21/mm/
Dshmem.c3771 static int shmem_match(struct inode *ino, void *vfh) in shmem_match() argument
3773 __u32 *fh = vfh; in shmem_match()