Searched defs:vfd (Results 1 - 25 of 45) sorted by relevance

12

/drivers/media/common/
H A Dsaa7146_fops.c500 struct video_device *vfd; local
506 // released by vfd->release
507 vfd = video_device_alloc();
508 if (vfd == NULL)
511 vfd->fops = &video_fops;
512 vfd->ioctl_ops = &dev->ext_vv_data->ops;
513 vfd->release = video_device_release;
514 vfd->lock = &dev->v4l2_lock;
515 vfd->tvnorms = 0;
517 vfd
[all...]
/drivers/media/video/omap/
H A Domap_vout_vrfb.c91 struct video_device *vfd; local
99 vfd = vout->vfd;
138 " video%d\n", vfd->minor);
H A Domap_voutdef.h117 struct video_device *vfd; member in struct:omap_vout_device
H A Domap_vout.c1043 strlcpy(cap->card, vout->vfd->name, sizeof(cap->card));
1890 struct video_device *vfd; local
1940 vfd = vout->vfd = video_device_alloc();
1942 if (!vfd) {
1947 vfd->release = video_device_release;
1948 vfd->ioctl_ops = &vout_ioctl_ops;
1950 strlcpy(vfd->name, VOUT_NAME, sizeof(vfd->name));
1952 vfd
2018 struct video_device *vfd = NULL; local
2101 struct video_device *vfd; local
[all...]
/drivers/media/video/s5p-g2d/
H A Dg2d.h21 struct video_device *vfd; member in struct:g2d_dev
H A Dg2d.c673 struct video_device *vfd; local
758 vfd = video_device_alloc();
759 if (!vfd) {
764 *vfd = g2d_videodev;
765 vfd->lock = &dev->mutex;
766 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0);
771 video_set_drvdata(vfd, dev);
772 snprintf(vfd->name, sizeof(vfd->name), "%s", g2d_videodev.name);
773 dev->vfd
[all...]
/drivers/media/video/tlg2300/
H A Dpd-radio.c80 struct video_device *vfd = video_devdata(filp); local
81 struct poseidon *p = video_get_drvdata(vfd);
103 set_debug_mode(vfd, debug_mode);
/drivers/media/video/s5p-mfc/
H A Ds5p_mfc.c648 dev->num_inst++; /* It is guarded by mfc_mutex in vfd */
946 struct video_device *vfd; local
1041 vfd = video_device_alloc();
1042 if (!vfd) {
1047 vfd->fops = &s5p_mfc_fops,
1048 vfd->ioctl_ops = get_dec_v4l2_ioctl_ops();
1049 vfd->release = video_device_release,
1050 vfd->lock = &dev->mfc_mutex;
1051 vfd->v4l2_dev = &dev->v4l2_dev;
1052 snprintf(vfd
[all...]
/drivers/media/video/
H A Dv4l2-ioctl.c33 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) { \
34 printk(KERN_DEBUG "%s: ", vfd->name); \
42 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) \
43 printk(KERN_DEBUG "%s: " fmt, vfd->name, ## arg);\
48 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) \
49 printk(KERN_CONT "%s: " fmt, vfd->name, ## arg);\
318 static void dbgbuf(unsigned int cmd, struct video_device *vfd, argument
355 static inline void dbgrect(struct video_device *vfd, char *s, argument
362 static inline void v4l_print_pix_fmt(struct video_device *vfd, argument
376 static inline void v4l_print_pix_fmt_mplane(struct video_device *vfd, argument
397 v4l_print_ext_ctrls(unsigned int cmd, struct video_device *vfd, struct v4l2_ext_controls *c, int show_vals) argument
502 struct video_device *vfd = video_devdata(file); local
[all...]
H A Dmem2mem_testdev.c175 struct video_device *vfd; member in struct:m2mtest_dev
937 struct video_device *vfd; local
953 vfd = video_device_alloc();
954 if (!vfd) {
960 *vfd = m2mtest_videodev;
961 vfd->lock = &dev->dev_mutex;
963 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0);
969 video_set_drvdata(vfd, dev);
970 snprintf(vfd->name, sizeof(vfd
[all...]
H A Domap24xxcam.c995 strlcpy(cap->card, cam->vfd->name, sizeof(cap->card));
1458 if (!cam || !cam->vfd)
1635 struct video_device *vfd; local
1651 vfd = cam->vfd = video_device_alloc();
1652 if (!vfd) {
1657 vfd->release = video_device_release;
1659 vfd->parent = cam->dev;
1661 strlcpy(vfd->name, CAM_NAME, sizeof(vfd
[all...]
/drivers/media/video/cx88/
H A Dcx88-core.c1026 struct video_device *vfd; local
1028 vfd = video_device_alloc();
1029 if (NULL == vfd)
1031 *vfd = *template_;
1032 vfd->v4l2_dev = &core->v4l2_dev;
1033 vfd->parent = &pci->dev;
1034 vfd->release = video_device_release;
1035 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)",
1037 return vfd;
[all...]
/drivers/media/video/s5p-tv/
H A Dmixer.h178 struct video_device vfd; member in struct:mxr_layer
H A Dmixer_video.c163 strlcpy(cap->card, layer->vfd.name, sizeof cap->card);
629 struct video_device *vfd = video_devdata(file); local
642 vfd->tvnorms = 0;
644 &vfd->tvnorms);
650 mxr_dbg(mdev, "tvnorms = %08llx\n", vfd->tvnorms);
931 mxr_err(mdev, "watchdog fired for layer %s\n", layer->vfd.name);
1012 ret = video_register_device(&layer->vfd, VFL_TYPE_GRABBER, -1);
1017 layer->vfd.name, layer->vfd.num);
1023 video_unregister_device(&layer->vfd);
[all...]
/drivers/media/video/saa7164/
H A Dsaa7164-encoder.c1368 struct video_device *vfd; local
1373 vfd = video_device_alloc();
1374 if (NULL == vfd)
1377 *vfd = *template;
1378 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", dev->name,
1381 vfd->parent = &pci->dev;
1382 vfd->release = video_device_release;
1383 return vfd;
H A Dsaa7164-vbi.c1284 struct video_device *vfd; local
1289 vfd = video_device_alloc();
1290 if (NULL == vfd)
1293 *vfd = *template;
1294 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", dev->name,
1297 vfd->parent = &pci->dev;
1298 vfd->release = video_device_release;
1299 return vfd;
/drivers/media/video/blackfin/
H A Dbfin_capture.c194 struct video_device *vfd = bcap_dev->video_dev; local
209 v4l2_fh_init(&bcap_fh->fh, vfd);
859 struct video_device *vfd; local
893 vfd = video_device_alloc();
894 if (!vfd) {
901 vfd->release = video_device_release;
902 vfd->fops = &bcap_fops;
903 vfd->ioctl_ops = &bcap_ioctl_ops;
904 vfd->tvnorms = 0;
905 vfd
[all...]
/drivers/media/video/cx18/
H A Dcx18-ioctl.c1148 struct video_device *vfd = video_devdata(filp); local
1156 vfd->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG;
1158 vfd->debug = 0;
/drivers/media/video/cx23885/
H A Dcx23885-video.c338 struct video_device *vfd; local
341 vfd = video_device_alloc();
342 if (NULL == vfd)
344 *vfd = *template;
345 vfd->v4l2_dev = &dev->v4l2_dev;
346 vfd->release = video_device_release;
347 snprintf(vfd->name, sizeof(vfd->name), "%s (%s)",
349 video_set_drvdata(vfd, dev);
350 return vfd;
[all...]
/drivers/media/video/davinci/
H A Dvpfe_capture.c1839 struct video_device *vfd; local
1910 vfd = video_device_alloc();
1911 if (NULL == vfd) {
1918 vfd->release = video_device_release;
1919 vfd->fops = &vpfe_fops;
1920 vfd->ioctl_ops = &vpfe_ioctl_ops;
1921 vfd->tvnorms = 0;
1922 vfd->current_norm = V4L2_STD_PAL;
1923 vfd->v4l2_dev = &vpfe_dev->v4l2_dev;
1924 snprintf(vfd
[all...]
H A Dvpif_capture.c2168 struct video_device *vfd; local
2204 vfd = video_device_alloc();
2205 if (NULL == vfd) {
2215 *vfd = vpif_video_template;
2216 vfd->v4l2_dev = &vpif_obj.v4l2_dev;
2217 vfd->release = video_device_release;
2218 snprintf(vfd->name, sizeof(vfd->name),
2222 ch->video_dev = vfd;
H A Dvpif_display.c1687 struct video_device *vfd; local
1725 vfd = video_device_alloc();
1726 if (vfd == NULL) {
1736 *vfd = vpif_video_template;
1737 vfd->v4l2_dev = &vpif_obj.v4l2_dev;
1738 vfd->release = video_device_release;
1739 snprintf(vfd->name, sizeof(vfd->name),
1744 ch->video_dev = vfd;
/drivers/media/video/ivtv/
H A Divtv-ioctl.c1837 struct video_device *vfd = video_devdata(filp); local
1841 vfd->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG;
1843 vfd->debug = 0;
/drivers/media/video/s5p-fimc/
H A Dfimc-capture.c233 fimc_pipeline_initialize(fimc, &fimc->vid_cap.vfd->entity,
299 v4l2_err(ctx->fimc_dev->vid_cap.vfd,
424 &fimc->vid_cap.vfd->entity, true);
1494 struct video_device *vfd; local
1511 vfd = video_device_alloc();
1512 if (!vfd) {
1517 snprintf(vfd->name, sizeof(vfd->name), "%s.capture",
1520 vfd->fops = &fimc_capture_fops;
1521 vfd
1572 struct video_device *vfd = fimc->vid_cap.vfd; local
[all...]
/drivers/media/video/saa7134/
H A Dsaa7134-core.c797 struct video_device *vfd; local
799 vfd = video_device_alloc();
800 if (NULL == vfd)
802 *vfd = *template;
803 vfd->v4l2_dev = &dev->v4l2_dev;
804 vfd->release = video_device_release;
805 vfd->debug = video_debug;
806 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)",
808 video_set_drvdata(vfd, de
[all...]

Completed in 490 milliseconds

12