Home
last modified time | relevance | path

Searched full:vfd (Results 1 – 25 of 82) sorted by relevance

1234

/linux/drivers/media/test-drivers/vivid/
H A Dvivid-core.c1428 struct video_device *vfd; in vivid_create_devnodes() local
1432 vfd = &dev->vid_cap_dev; in vivid_create_devnodes()
1433 snprintf(vfd->name, sizeof(vfd->name), in vivid_create_devnodes()
1435 vfd->fops = &vivid_fops; in vivid_create_devnodes()
1436 vfd->ioctl_ops = &vivid_ioctl_ops; in vivid_create_devnodes()
1437 vfd->device_caps = dev->vid_cap_caps; in vivid_create_devnodes()
1438 vfd->release = video_device_release_empty; in vivid_create_devnodes()
1439 vfd->v4l2_dev = &dev->v4l2_dev; in vivid_create_devnodes()
1440 vfd in vivid_create_devnodes()
[all...]
/linux/drivers/staging/media/imx/
H A Dimx-media-dev-common.c86 vdev->vfd->entity.name, entity->name, srcpad->index); in imx_media_add_vdev_to_pad()
158 link = list_first_entry(&vdev->vfd->entity.links, in imx_media_create_pad_vdev_lists()
197 struct video_device *vfd, in imx_media_inherit_controls() argument
207 vfd->entity.name, sd->entity.name); in imx_media_inherit_controls()
209 ret = v4l2_ctrl_add_handler(vfd->ctrl_handler, in imx_media_inherit_controls()
227 ret = imx_media_inherit_controls(imxmd, vfd, pad->entity); in imx_media_inherit_controls()
243 struct video_device *vfd; in imx_media_link_notify() local
274 vfd = pad_vdev->vdev->vfd; in imx_media_link_notify()
275 if (!vfd in imx_media_link_notify()
[all...]
H A Dimx-media-capture.c782 struct video_device *vfd = priv->vdev.vfd; in capture_open() local
794 ret = v4l2_pipeline_pm_get(&vfd->entity); in capture_open()
806 struct video_device *vfd = priv->vdev.vfd; in capture_release() local
816 v4l2_pipeline_pm_put(&vfd->entity); in capture_release()
911 struct video_device *vfd = vdev->vfd; in imx_media_capture_device_register() local
917 vfd->v4l2_dev = v4l2_dev; in imx_media_capture_device_register()
925 ret = video_register_device(vfd, VFL_TYPE_VIDE in imx_media_capture_device_register()
955 struct video_device *vfd = priv->vdev.vfd; imx_media_capture_device_unregister() local
967 struct video_device *vfd; imx_media_capture_device_init() local
[all...]
H A Dimx-media-csc-scaler.c134 v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, in device_run()
250 v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, "%s: queue busy\n", in ipu_csc_scaler_s_fmt()
520 v4l2_warn(ctx->priv->vdev.vfd->v4l2_dev, "removing old ICC\n"); in ipu_csc_scaler_start_streaming()
538 v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, "%s: error %d\n", in ipu_csc_scaler_start_streaming()
849 struct video_device *vfd = vdev->vfd; in imx_media_csc_scaler_device_register() local
852 vfd->v4l2_dev = &priv->md->v4l2_dev; in imx_media_csc_scaler_device_register()
854 ret = video_register_device(vfd, VFL_TYPE_VIDEO, -1); in imx_media_csc_scaler_device_register()
856 v4l2_err(vfd->v4l2_dev, "Failed to register video device\n"); in imx_media_csc_scaler_device_register()
860 v4l2_info(vfd in imx_media_csc_scaler_device_register()
869 struct video_device *vfd = priv->vdev.vfd; imx_media_csc_scaler_device_unregister() local
878 struct video_device *vfd; imx_media_csc_scaler_device_init() local
[all...]
/linux/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c35 #define is_valid_ioctl(vfd, cmd) test_bit(_IOC_NR(cmd), (vfd)->valid_ioctls) argument
932 struct video_device *vfd = video_devdata(file); in check_fmt() local
933 const struct v4l2_ioctl_ops *ops = vfd->ioctl_ops; in check_fmt()
934 bool is_vid = vfd->vfl_type == VFL_TYPE_VIDEO && in check_fmt()
935 (vfd->device_caps & vid_caps); in check_fmt()
936 bool is_vbi = vfd->vfl_type == VFL_TYPE_VBI; in check_fmt()
937 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in check_fmt()
938 bool is_tch = vfd->vfl_type == VFL_TYPE_TOUCH; in check_fmt()
939 bool is_meta = vfd in check_fmt()
1096 struct video_device *vfd = video_devdata(file); v4l_querycap() local
1129 struct video_device *vfd = video_devdata(file); v4l_g_input() local
1142 struct video_device *vfd = video_devdata(file); v4l_g_output() local
1155 struct video_device *vfd = video_devdata(file); v4l_s_input() local
1171 struct video_device *vfd = video_devdata(file); v4l_s_output() local
1182 struct video_device *vfd; v4l_g_priority() local
1193 struct video_device *vfd; v4l_s_priority() local
1207 struct video_device *vfd = video_devdata(file); v4l_enuminput() local
1233 struct video_device *vfd = video_devdata(file); v4l_enumoutput() local
1687 struct video_device *vfd = video_devdata(file); v4l_g_fmt() local
1746 struct video_device *vfd = video_devdata(file); v4l_s_fmt() local
1857 struct video_device *vfd = video_devdata(file); v4l_try_fmt() local
1976 struct video_device *vfd = video_devdata(file); v4l_g_tuner() local
1991 struct video_device *vfd = video_devdata(file); v4l_s_tuner() local
2006 struct video_device *vfd = video_devdata(file); v4l_g_modulator() local
2022 struct video_device *vfd = video_devdata(file); v4l_s_modulator() local
2034 struct video_device *vfd = video_devdata(file); v4l_g_frequency() local
2048 struct video_device *vfd = video_devdata(file); v4l_s_frequency() local
2071 struct video_device *vfd = video_devdata(file); v4l_enumstd() local
2080 struct video_device *vfd = video_devdata(file); v4l_s_std() local
2098 struct video_device *vfd = video_devdata(file); v4l_querystd() local
2120 struct video_device *vfd = video_devdata(file); v4l_s_hw_freq_seek() local
2157 struct video_device *vfd = video_devdata(file); v4l_reqbufs() local
2203 struct video_device *vfd = video_devdata(file); v4l_create_bufs() local
2250 struct video_device *vfd = video_devdata(file); v4l_g_parm() local
2297 struct video_device *vfd = video_devdata(file); v4l_queryctrl() local
2323 struct video_device *vfd = video_devdata(file); v4l_query_ext_ctrl() local
2340 struct video_device *vfd = video_devdata(file); v4l_querymenu() local
2357 struct video_device *vfd = video_devdata(file); v4l_g_ctrl() local
2389 struct video_device *vfd = video_devdata(file); v4l_s_ctrl() local
2419 struct video_device *vfd = video_devdata(file); v4l_g_ext_ctrls() local
2440 struct video_device *vfd = video_devdata(file); v4l_s_ext_ctrls() local
2461 struct video_device *vfd = video_devdata(file); v4l_try_ext_ctrls() local
2523 struct video_device *vfd = video_devdata(file); v4l_g_crop() local
2553 struct video_device *vfd = video_devdata(file); v4l_s_crop() local
2578 struct video_device *vfd = video_devdata(file); v4l_cropcap() local
2644 struct video_device *vfd = video_devdata(file); v4l_log_status() local
2662 struct video_device *vfd = video_devdata(file); v4l_dbg_g_register() local
2690 struct video_device *vfd = video_devdata(file); v4l_dbg_s_register() local
2717 struct video_device *vfd = video_devdata(file); v4l_dbg_g_chip_info() local
2792 struct video_device *vfd = video_devdata(file); v4l_enum_freq_bands() local
3068 struct video_device *vfd = video_devdata(file); __video_do_ioctl() local
[all...]
/linux/drivers/media/common/saa7146/
H A Dsaa7146_fops.c343 int saa7146_register_device(struct video_device *vfd, struct saa7146_dev *dev, in saa7146_register_device() argument
352 vfd->fops = &video_fops; in saa7146_register_device()
354 vfd->ioctl_ops = &dev->ext_vv_data->vid_ops; in saa7146_register_device()
357 vfd->ioctl_ops = &dev->ext_vv_data->vbi_ops; in saa7146_register_device()
360 vfd->release = video_device_release_empty; in saa7146_register_device()
361 vfd->lock = &dev->v4l2_lock; in saa7146_register_device()
362 vfd->v4l2_dev = &dev->v4l2_dev; in saa7146_register_device()
363 vfd->tvnorms = 0; in saa7146_register_device()
365 vfd->tvnorms |= dev->ext_vv_data->stds[i].id; in saa7146_register_device()
366 strscpy(vfd in saa7146_register_device()
411 saa7146_unregister_device(struct video_device * vfd,struct saa7146_dev * dev) saa7146_unregister_device() argument
[all...]
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-m2m.c354 v4l2_err(&fimc->m2m.vfd, "queue (%d) busy\n", f->type); in fimc_m2m_s_fmt_mplane()
435 v4l2_err(&fimc->m2m.vfd, in fimc_m2m_try_selection()
510 v4l2_err(&fimc->m2m.vfd, "Out of scaler range\n"); in fimc_m2m_s_selection()
624 v4l2_fh_init(&ctx->fh, &fimc->m2m.vfd); in fimc_m2m_open()
716 struct video_device *vfd = &fimc->m2m.vfd; in fimc_register_m2m_device() local
721 memset(vfd, 0, sizeof(*vfd)); in fimc_register_m2m_device()
722 vfd->fops = &fimc_m2m_fops; in fimc_register_m2m_device()
723 vfd in fimc_register_m2m_device()
[all...]
/linux/drivers/media/platform/amphion/
H A Dvpu_v4l2.c758 v4l2_fh_init(&inst->fh, func->vfd); in vpu_v4l2_open()
818 struct video_device *vfd; in vpu_add_func() local
824 if (func->vfd) in vpu_add_func()
830 func->vfd = NULL; in vpu_add_func()
834 vfd = video_device_alloc(); in vpu_add_func()
835 if (!vfd) { in vpu_add_func()
840 vfd->release = video_device_release; in vpu_add_func()
841 vfd->vfl_dir = VFL_DIR_M2M; in vpu_add_func()
842 vfd->v4l2_dev = &vpu->v4l2_dev; in vpu_add_func()
843 vfd in vpu_add_func()
[all...]
/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2.c422 input->std = solo_dev->vfd->tvnorms; in solo_enum_input()
645 solo_dev->vfd = video_device_alloc(); in solo_v4l2_init()
646 if (!solo_dev->vfd) in solo_v4l2_init()
649 *solo_dev->vfd = solo_v4l2_template; in solo_v4l2_init()
650 solo_dev->vfd->v4l2_dev = &solo_dev->v4l2_dev; in solo_v4l2_init()
651 solo_dev->vfd->queue = &solo_dev->vidq; in solo_v4l2_init()
652 solo_dev->vfd->lock = &solo_dev->lock; in solo_v4l2_init()
659 solo_dev->vfd->ctrl_handler = &solo_dev->disp_hdl; in solo_v4l2_init()
661 video_set_drvdata(solo_dev->vfd, solo_dev); in solo_v4l2_init()
689 ret = video_register_device(solo_dev->vfd, VFL_TYPE_VIDE in solo_v4l2_init()
[all...]
H A Dsolo6x10-v4l2-enc.c539 v4l2_event_queue(solo_enc->vfd, &ev); in solo_enc_fillbuf()
784 input->std = solo_enc->vfd->tvnorms; in solo_enc_enum_input()
1293 solo_enc->vfd = video_device_alloc(); in solo_enc_alloc()
1294 if (!solo_enc->vfd) in solo_enc_alloc()
1297 *solo_enc->vfd = solo_enc_template; in solo_enc_alloc()
1298 solo_enc->vfd->v4l2_dev = &solo_dev->v4l2_dev; in solo_enc_alloc()
1299 solo_enc->vfd->ctrl_handler = hdl; in solo_enc_alloc()
1300 solo_enc->vfd->queue = &solo_enc->vidq; in solo_enc_alloc()
1301 solo_enc->vfd->lock = &solo_enc->lock; in solo_enc_alloc()
1302 video_set_drvdata(solo_enc->vfd, solo_en in solo_enc_alloc()
[all...]
/linux/drivers/media/test-drivers/visl/
H A Dvisl-core.c283 struct visl_dev *dev = container_of(vdev, struct visl_dev, vfd); in visl_device_release()
437 struct video_device *vfd; in visl_probe() local
451 dev->vfd = visl_videodev; in visl_probe()
452 vfd = &dev->vfd; in visl_probe()
453 vfd->lock = &dev->dev_mutex; in visl_probe()
454 vfd->v4l2_dev = &dev->v4l2_dev; in visl_probe()
456 video_set_drvdata(vfd, dev); in visl_probe()
476 ret = video_register_device(vfd, VFL_TYPE_VIDEO, -1); in visl_probe()
483 "Device registered as /dev/video%d\n", vfd in visl_probe()
[all...]
/linux/drivers/media/platform/ti/omap/
H A Domap_vout.c577 strscpy(cap->card, vout->vfd->name, sizeof(cap->card)); in vidioc_querycap()
1309 struct video_device *vfd; in omap_vout_setup_video_data() local
1372 vfd = vout->vfd = video_device_alloc(); in omap_vout_setup_video_data()
1374 if (!vfd) { in omap_vout_setup_video_data()
1380 vfd->ctrl_handler = hdl; in omap_vout_setup_video_data()
1381 vfd->release = video_device_release; in omap_vout_setup_video_data()
1382 vfd->ioctl_ops = &vout_ioctl_ops; in omap_vout_setup_video_data()
1384 strscpy(vfd->name, VOUT_NAME, sizeof(vfd in omap_vout_setup_video_data()
1444 struct video_device *vfd = NULL; omap_vout_create_video_devices() local
1535 struct video_device *vfd; omap_vout_cleanup_device() local
[all...]
/linux/drivers/media/platform/st/stm32/dma2d/
H A Ddma2d.c604 struct video_device *vfd; in dma2d_probe() local
649 vfd = video_device_alloc(); in dma2d_probe()
650 if (!vfd) { in dma2d_probe()
656 *vfd = dma2d_videodev; in dma2d_probe()
657 vfd->lock = &dev->mutex; in dma2d_probe()
658 vfd->v4l2_dev = &dev->v4l2_dev; in dma2d_probe()
659 vfd->device_caps = V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING; in dma2d_probe()
669 ret = video_register_device(vfd, VFL_TYPE_VIDEO, 0); in dma2d_probe()
675 video_set_drvdata(vfd, dev); in dma2d_probe()
676 dev->vfd in dma2d_probe()
[all...]
/linux/drivers/media/platform/samsung/s5p-g2d/
H A Dg2d.c623 struct video_device *vfd; in g2d_probe() local
682 vfd = video_device_alloc(); in g2d_probe()
683 if (!vfd) { in g2d_probe()
688 *vfd = g2d_videodev; in g2d_probe()
689 set_bit(V4L2_FL_QUIRK_INVERTED_CROP, &vfd->flags); in g2d_probe()
690 vfd->lock = &dev->mutex; in g2d_probe()
691 vfd->v4l2_dev = &dev->v4l2_dev; in g2d_probe()
692 vfd->device_caps = V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING; in g2d_probe()
711 ret = video_register_device(vfd, VFL_TYPE_VIDEO, 0); in g2d_probe()
716 video_set_drvdata(vfd, de in g2d_probe()
[all...]
/linux/drivers/media/platform/ti/cal/
H A Dcal-video.c948 struct video_device *vfd = &ctx->vdev; in cal_ctx_v4l2_register() local
974 ret = video_register_device(vfd, VFL_TYPE_VIDEO, cal_video_nr); in cal_ctx_v4l2_register()
1003 &vfd->entity, 0, in cal_ctx_v4l2_register()
1009 video_unregister_device(vfd); in cal_ctx_v4l2_register()
1017 &vfd->entity, 0, in cal_ctx_v4l2_register()
1023 video_unregister_device(vfd); in cal_ctx_v4l2_register()
1029 video_device_node_name(vfd)); in cal_ctx_v4l2_register()
1044 struct video_device *vfd = &ctx->vdev; in cal_ctx_v4l2_init() local
1070 vfd->fops = &cal_fops; in cal_ctx_v4l2_init()
1071 vfd in cal_ctx_v4l2_init()
[all...]
/linux/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c100 struct video_device vfd; member
1829 struct video_device *vfd = video_devdata(file); in vicodec_open() local
1837 if (mutex_lock_interruptible(vfd->lock)) in vicodec_open()
1845 if (vfd == &dev->stateful_enc.vfd) in vicodec_open()
1847 else if (vfd == &dev->stateless_dec.vfd) in vicodec_open()
1938 mutex_unlock(vfd->lock); in vicodec_open()
1944 struct video_device *vfd = video_devdata(file); in vicodec_release() local
1947 mutex_lock(vfd in vicodec_release()
2045 struct video_device *vfd; register_instance() local
[all...]
/linux/drivers/media/platform/nxp/dw100/
H A Ddw100.c69 struct video_device vfd; member
1480 struct video_device *vfd = &dw_dev->vfd; in dw100_init_video_device() local
1482 vfd->vfl_dir = VFL_DIR_M2M; in dw100_init_video_device()
1483 vfd->fops = &dw100_fops; in dw100_init_video_device()
1484 vfd->device_caps = V4L2_CAP_VIDEO_M2M_MPLANE | V4L2_CAP_STREAMING; in dw100_init_video_device()
1485 vfd->ioctl_ops = &dw100_ioctl_ops; in dw100_init_video_device()
1486 vfd->minor = -1; in dw100_init_video_device()
1487 vfd->release = video_device_release_empty; in dw100_init_video_device()
1488 vfd in dw100_init_video_device()
1532 struct video_device *vfd; dw100_probe() local
[all...]
/linux/drivers/media/platform/rockchip/rga/
H A Drga.c804 struct video_device *vfd; in rga_probe() local
853 vfd = video_device_alloc(); in rga_probe()
854 if (!vfd) { in rga_probe()
859 *vfd = rga_videodev; in rga_probe()
860 vfd->lock = &rga->mutex; in rga_probe()
861 vfd->v4l2_dev = &rga->v4l2_dev; in rga_probe()
863 video_set_drvdata(vfd, rga); in rga_probe()
864 rga->vfd = vfd; in rga_probe()
898 ret = video_register_device(vfd, VFL_TYPE_VIDE in rga_probe()
[all...]
/linux/drivers/media/platform/nxp/
H A Dmx2_emmaprp.c198 struct video_device *vfd; member
804 struct video_device *vfd; in emmaprp_probe() local
832 vfd = video_device_alloc(); in emmaprp_probe()
833 if (!vfd) { in emmaprp_probe()
839 *vfd = emmaprp_videodev; in emmaprp_probe()
840 vfd->lock = &pcdev->dev_mutex; in emmaprp_probe()
841 vfd->v4l2_dev = &pcdev->v4l2_dev; in emmaprp_probe()
843 video_set_drvdata(vfd, pcdev); in emmaprp_probe()
844 pcdev->vfd = vfd; in emmaprp_probe()
[all...]
/linux/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c737 struct video_device *vfd; in rotate_probe() local
744 dev->vfd = rotate_video_device; in rotate_probe()
793 vfd = &dev->vfd; in rotate_probe()
794 vfd->lock = &dev->dev_mutex; in rotate_probe()
795 vfd->v4l2_dev = &dev->v4l2_dev; in rotate_probe()
797 snprintf(vfd->name, sizeof(vfd->name), "%s", in rotate_probe()
799 video_set_drvdata(vfd, dev); in rotate_probe()
801 ret = video_register_device(vfd, VFL_TYPE_VIDE in rotate_probe()
[all...]
/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-capture.c1102 struct video_device *vfd = &vp->vdev; in s3c_camif_register_video_node() local
1106 memset(vfd, 0, sizeof(*vfd)); in s3c_camif_register_video_node()
1107 snprintf(vfd->name, sizeof(vfd->name), "camif-%s", in s3c_camif_register_video_node()
1110 vfd->fops = &s3c_camif_fops; in s3c_camif_register_video_node()
1111 vfd->ioctl_ops = &s3c_camif_ioctl_ops; in s3c_camif_register_video_node()
1112 vfd->v4l2_dev = &camif->v4l2_dev; in s3c_camif_register_video_node()
1113 vfd->minor = -1; in s3c_camif_register_video_node()
1114 vfd in s3c_camif_register_video_node()
1177 struct video_device *vfd = &camif->vp[idx].vdev; s3c_camif_unregister_video_node() local
[all...]
/linux/drivers/media/platform/amlogic/meson-ge2d/
H A Dge2d.c88 struct video_device *vfd; member
921 struct video_device *vfd; in ge2d_probe() local
980 vfd = video_device_alloc(); in ge2d_probe()
981 if (!vfd) { in ge2d_probe()
987 *vfd = ge2d_videodev; in ge2d_probe()
988 vfd->lock = &ge2d->mutex; in ge2d_probe()
989 vfd->v4l2_dev = &ge2d->v4l2_dev; in ge2d_probe()
991 video_set_drvdata(vfd, ge2d); in ge2d_probe()
992 ge2d->vfd = vfd; in ge2d_probe()
[all...]
/linux/drivers/media/platform/
H A Dm2m-deinterlace.c123 struct video_device vfd; member
916 struct video_device *vfd; in deinterlace_probe() local
945 vfd = &pcdev->vfd; in deinterlace_probe()
946 *vfd = deinterlace_videodev; in deinterlace_probe()
947 vfd->lock = &pcdev->dev_mutex; in deinterlace_probe()
948 vfd->v4l2_dev = &pcdev->v4l2_dev; in deinterlace_probe()
950 ret = video_register_device(vfd, VFL_TYPE_VIDEO, 0); in deinterlace_probe()
956 video_set_drvdata(vfd, pcdev); in deinterlace_probe()
958 " Device registered as /dev/video%d\n", vfd in deinterlace_probe()
[all...]
/linux/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c678 struct video_device *vfd; in saa7164_vbi_alloc() local
683 vfd = video_device_alloc(); in saa7164_vbi_alloc()
684 if (NULL == vfd) in saa7164_vbi_alloc()
687 *vfd = *template; in saa7164_vbi_alloc()
688 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", dev->name, in saa7164_vbi_alloc()
691 vfd->v4l2_dev = &dev->v4l2_dev; in saa7164_vbi_alloc()
692 vfd->release = video_device_release; in saa7164_vbi_alloc()
693 return vfd; in saa7164_vbi_alloc()
/linux/drivers/media/rc/
H A Dimon.c3 * imon.c: input and display driver for SoundGraph iMON IR/VFD/LCD
67 /* VFD write operation */
178 /* vfd character device file operations */
253 /* 0xffdc iMON MCE VFD */
298 /* 0xffdc iMON MCE VFD */
378 * SoundGraph iMON PAD (IR & VFD)
396 /* SoundGraph iMON OEM VFD (IR & VFD) */
438 /* Antec Veris Multimedia Station Elite (IR & VFD) */
471 /* lcd, vfd, vg
[all...]

1234