Home
last modified time | relevance | path

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

/linux-6.15/drivers/media/usb/uvc/
H A 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
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
112 struct v4l2_fh *vfh = file->private_data; in uvc_meta_v4l2_enum_formats() local
117 if (fdesc->type != vfh->vdev->queue->type || in uvc_meta_v4l2_enum_formats()
[all …]
H A Duvc_v4l2.c663 v4l2_fh_init(&handle->vfh, &stream->vdev); in uvc_v4l2_open()
664 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
688 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
689 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
H A Duvcvideo.h628 struct v4l2_fh vfh; member
H A Duvc_ctrl.c1774 struct v4l2_fh *originator = handle ? &handle->vfh : NULL; in uvc_ctrl_send_event()
2000 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
2047 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_del_event()
/linux-6.15/drivers/media/platform/ti/omap3isp/
H A Dispvideo.c685 *format = vfh->format; in isp_video_get_format()
743 vfh->format = *format; in isp_video_set_format()
1161 video->queue = &vfh->queue; in isp_video_streamon()
1238 vb2_streamoff(&vfh->queue, type); in isp_video_streamoff()
1318 v4l2_fh_add(&handle->vfh); in isp_video_open()
1353 file->private_data = &handle->vfh; in isp_video_open()
1357 v4l2_fh_del(&handle->vfh); in isp_video_open()
1358 v4l2_fh_exit(&handle->vfh); in isp_video_open()
1381 v4l2_fh_del(vfh); in isp_video_release()
1382 v4l2_fh_exit(vfh); in isp_video_release()
[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-6.15/drivers/media/platform/renesas/vsp1/
H A Dvsp1_video.c887 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap() local
904 struct v4l2_fh *vfh = file->private_data; in vsp1_video_get_format() local
1040 struct v4l2_fh *vfh; in vsp1_video_open() local
1043 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in vsp1_video_open()
1044 if (vfh == NULL) in vsp1_video_open()
1047 v4l2_fh_init(vfh, &video->video); in vsp1_video_open()
1048 v4l2_fh_add(vfh); in vsp1_video_open()
1050 file->private_data = vfh; in vsp1_video_open()
1054 v4l2_fh_del(vfh); in vsp1_video_open()
1055 v4l2_fh_exit(vfh); in vsp1_video_open()
[all …]
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-6.15/drivers/media/v4l2-core/
H A Dv4l2-subdev.c131 v4l2_fh_del(vfh); in subdev_close()
132 v4l2_fh_exit(vfh); in subdev_close()
652 if (!vfh->ctrl_handler) in subdev_do_ioctl()
657 if (!vfh->ctrl_handler) in subdev_do_ioctl()
662 if (!vfh->ctrl_handler) in subdev_do_ioctl()
667 if (!vfh->ctrl_handler) in subdev_do_ioctl()
674 return v4l2_s_ctrl(vfh, vfh->ctrl_handler, arg); in subdev_do_ioctl()
685 return v4l2_s_ext_ctrls(vfh, vfh->ctrl_handler, in subdev_do_ioctl()
703 vfh, arg); in subdev_do_ioctl()
706 vfh->ctrl_handler) in subdev_do_ioctl()
[all …]
H A Dv4l2-ioctl.c2295 if (vfh && vfh->ctrl_handler) in v4l_queryctrl()
2319 if (vfh && vfh->ctrl_handler) in v4l_query_ext_ctrl()
2336 if (vfh && vfh->ctrl_handler) in v4l_querymenu()
2355 if (vfh && vfh->ctrl_handler) in v4l_g_ctrl()
2388 if (vfh && vfh->ctrl_handler) in v4l_s_ctrl()
2389 return v4l2_s_ctrl(vfh, vfh->ctrl_handler, p); in v4l_s_ctrl()
2416 if (vfh && vfh->ctrl_handler) in v4l_g_ext_ctrls()
2437 if (vfh && vfh->ctrl_handler) in v4l_s_ext_ctrls()
2438 return v4l2_s_ext_ctrls(vfh, vfh->ctrl_handler, in v4l_s_ext_ctrls()
2458 if (vfh && vfh->ctrl_handler) in v4l_try_ext_ctrls()
[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-6.15/drivers/media/platform/xilinx/
H A Dxilinx-dma.c472 struct v4l2_fh *vfh = file->private_data; in xvip_dma_querycap() local
473 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_querycap()
494 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format() local
495 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_enum_format()
508 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format() local
509 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_get_format()
568 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format() local
569 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_try_format()
578 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format() local
579 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_set_format()
/linux-6.15/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpu.h44 static inline struct vpu_instance *wave5_to_vpu_inst(struct v4l2_fh *vfh) in wave5_to_vpu_inst() argument
46 return container_of(vfh, struct vpu_instance, v4l2_fh); in wave5_to_vpu_inst()
/linux-6.15/drivers/media/platform/qcom/camss/
H A Dcamss-video.c586 struct v4l2_fh *vfh; in video_open() local
591 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in video_open()
592 if (vfh == NULL) { in video_open()
597 v4l2_fh_init(vfh, vdev); in video_open()
598 v4l2_fh_add(vfh); in video_open()
600 file->private_data = vfh; in video_open()
/linux-6.15/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-6.15/include/media/
H A Dv4l2-subdev.h1154 struct v4l2_fh vfh; member
1169 container_of(fh, struct v4l2_subdev_fh, vfh)
/linux-6.15/drivers/staging/media/atomisp/pci/
H A Datomisp_fops.c532 v4l2_fh_init(&fh.vfh, vdev); in atomisp_release()
/linux-6.15/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h1908 u32 *vfl, u32 *vfh, bool sleep_ok);
H A 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.15/mm/
H A Dshmem.c4402 static int shmem_match(struct inode *ino, void *vfh) in shmem_match() argument
4404 __u32 *fh = vfh; in shmem_match()