Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
33 strscpy(cap->card, vfh->vdev->name, sizeof(cap->card)); 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
[all …]
Duvc_v4l2.c579 v4l2_fh_init(&handle->vfh, &stream->vdev); in uvc_v4l2_open()
580 v4l2_fh_add(&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()
Duvcvideo.h693 struct v4l2_fh vfh; member
Duvc_ctrl.c1239 struct v4l2_fh *originator = handle ? &handle->vfh : NULL; in uvc_ctrl_send_event()
1418 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
1457 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_del_event()
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/
Diss_video.c272 iss_video_check_format(struct iss_video *video, struct iss_video_fh *vfh) in iss_video_check_format() argument
285 if (vfh->format.fmt.pix.pixelformat != pixfmt.pixelformat || in iss_video_check_format()
286 vfh->format.fmt.pix.height != pixfmt.height || in iss_video_check_format()
287 vfh->format.fmt.pix.width != pixfmt.width || in iss_video_check_format()
288 vfh->format.fmt.pix.bytesperline != pixfmt.bytesperline || in iss_video_check_format()
289 vfh->format.fmt.pix.sizeimage != pixfmt.sizeimage) in iss_video_check_format()
304 struct iss_video_fh *vfh = vb2_get_drv_priv(vq); in iss_video_queue_setup() local
305 struct iss_video *video = vfh->video; in iss_video_queue_setup()
310 sizes[0] = vfh->format.fmt.pix.sizeimage; in iss_video_queue_setup()
331 struct iss_video_fh *vfh = vb2_get_drv_priv(vb->vb2_queue); in iss_video_buf_prepare() local
[all …]
Diss_video.h174 struct v4l2_fh vfh; member
181 #define to_iss_video_fh(fh) container_of(fh, struct iss_video_fh, vfh)
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Dispvideo.c303 isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh) in isp_video_check_format() argument
308 memcpy(&format, &vfh->format, sizeof(format)); in isp_video_check_format()
313 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format()
314 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format()
315 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format()
316 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format()
317 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format()
318 vfh->format.fmt.pix.field != format.fmt.pix.field) in isp_video_check_format()
332 struct isp_video_fh *vfh = vb2_get_drv_priv(queue); in isp_video_queue_setup() local
333 struct isp_video *video = vfh->video; in isp_video_queue_setup()
[all …]
Dispvideo.h183 struct v4l2_fh vfh; member
190 #define to_isp_video_fh(fh) container_of(fh, struct isp_video_fh, vfh)
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-subdev.c61 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open()
62 v4l2_fh_add(&subdev_fh->vfh); in subdev_open()
63 file->private_data = &subdev_fh->vfh; in subdev_open()
87 v4l2_fh_del(&subdev_fh->vfh); in subdev_open()
88 v4l2_fh_exit(&subdev_fh->vfh); in subdev_open()
99 struct v4l2_fh *vfh = file->private_data; in subdev_close() local
100 struct v4l2_subdev_fh *subdev_fh = to_v4l2_subdev_fh(vfh); in subdev_close()
105 v4l2_fh_del(vfh); in subdev_close()
106 v4l2_fh_exit(vfh); in subdev_close()
358 struct v4l2_fh *vfh = file->private_data; in subdev_do_ioctl() local
[all …]
Dv4l2-ioctl.c1179 struct v4l2_fh *vfh; in v4l_s_priority() local
1185 vfh = file->private_data; in v4l_s_priority()
1186 return v4l2_prio_change(vfd->prio, &vfh->prio, *p); in v4l_s_priority()
2179 struct v4l2_fh *vfh = in v4l_queryctrl() local
2182 if (vfh && vfh->ctrl_handler) in v4l_queryctrl()
2183 return v4l2_queryctrl(vfh->ctrl_handler, p); in v4l_queryctrl()
2196 struct v4l2_fh *vfh = in v4l_query_ext_ctrl() local
2199 if (vfh && vfh->ctrl_handler) in v4l_query_ext_ctrl()
2200 return v4l2_query_ext_ctrl(vfh->ctrl_handler, p); in v4l_query_ext_ctrl()
2213 struct v4l2_fh *vfh = in v4l_querymenu() local
[all …]
Dv4l2-flash-led-class.c534 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.c4650 struct v4l2_fh *vfh = file->private_data; in v4l2_ctrl_log_status() local
4653 v4l2_ctrl_handler_log_status(vfh->ctrl_handler, in v4l2_ctrl_log_status()
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_video.c952 struct v4l2_fh *vfh = file->private_data; in vsp1_video_querycap() local
953 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_querycap()
971 struct v4l2_fh *vfh = file->private_data; in vsp1_video_get_format() local
972 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_get_format()
987 struct v4l2_fh *vfh = file->private_data; in vsp1_video_try_format() local
988 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_try_format()
999 struct v4l2_fh *vfh = file->private_data; in vsp1_video_set_format() local
1000 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_set_format()
1029 struct v4l2_fh *vfh = file->private_data; in vsp1_video_streamon() local
1030 struct vsp1_video *video = to_vsp1_video(vfh->vdev); in vsp1_video_streamon()
[all …]
Dvsp1_histo.c422 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_querycap() local
423 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_querycap()
441 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_enum_format() local
442 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_enum_format()
455 struct v4l2_fh *vfh = file->private_data; in histo_v4l2_get_format() local
456 struct vsp1_histogram *histo = vdev_to_histo(vfh->vdev); in histo_v4l2_get_format()
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/
Dxilinx-dma.c491 struct v4l2_fh *vfh = file->private_data; in xvip_dma_querycap() local
492 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_querycap()
513 struct v4l2_fh *vfh = file->private_data; in xvip_dma_enum_format() local
514 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_enum_format()
527 struct v4l2_fh *vfh = file->private_data; in xvip_dma_get_format() local
528 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_get_format()
589 struct v4l2_fh *vfh = file->private_data; in xvip_dma_try_format() local
590 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_try_format()
599 struct v4l2_fh *vfh = file->private_data; in xvip_dma_set_format() local
600 struct xvip_dma *dma = to_xvip_dma(vfh->vdev); in xvip_dma_set_format()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Duvc_v4l2.c328 v4l2_fh_init(&handle->vfh, vdev); in uvc_v4l2_open()
329 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open()
332 file->private_data = &handle->vfh; in uvc_v4l2_open()
351 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release()
352 v4l2_fh_exit(&handle->vfh); in uvc_v4l2_release()
Duvc.h151 struct v4l2_fh vfh; member
157 container_of(handle, struct uvc_file_handle, vfh)
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-video.c811 struct v4l2_fh *vfh; in video_open() local
816 vfh = kzalloc(sizeof(*vfh), GFP_KERNEL); in video_open()
817 if (vfh == NULL) { in video_open()
822 v4l2_fh_init(vfh, vdev); in video_open()
823 v4l2_fh_add(vfh); in video_open()
825 file->private_data = vfh; in video_open()
/kernel/linux/linux-5.10/include/media/
Dv4l2-subdev.h929 struct v4l2_fh vfh; member
943 container_of(fh, struct v4l2_subdev_fh, vfh)
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_fops.c909 v4l2_fh_init(&fh.vfh, vdev); in atomisp_release()
Datomisp_cmd.c5256 v4l2_fh_init(&fh.vfh, vdev); in atomisp_set_fmt_to_isp()
5589 v4l2_fh_init(&fh.vfh, vdev); in atomisp_set_fmt_to_snr()
5698 v4l2_fh_init(&fh.vfh, vdev); in atomisp_set_fmt()
6124 v4l2_fh_init(&fh.vfh, vdev); in atomisp_set_fmt_file()
/kernel/linux/linux-5.10/mm/
Dshmem.c3340 static int shmem_match(struct inode *ino, void *vfh) in shmem_match() argument
3342 __u32 *fh = vfh; in shmem_match()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h1912 u32 *vfl, u32 *vfh, bool sleep_ok);
Dt4_hw.c5552 u32 *vfl, u32 *vfh, bool sleep_ok) in t4_read_rss_vf_config() argument
5574 t4_tp_pio_read(adapter, vfh, 1, TP_RSS_VFH_CONFIG_A, sleep_ok); in t4_read_rss_vf_config()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch174610 + struct v4l2_fh *vfh;
174669 + vfh = (struct v4l2_fh *)filp->private_data;
174670 + vfh->ctrl_handler = &ctx->ctrlhdl;
176183 + struct v4l2_fh *vfh;
176243 + vfh = (struct v4l2_fh *)filp->private_data;
176244 + vfh->ctrl_handler = &ctx->ctrlhdl;