/drivers/media/usb/tlg2300/ |
H A D | pd-radio.c | 101 struct video_device *vfd = &p->radio_data.fm_dev; local 106 set_debug_mode(vfd, debug_mode); 315 struct video_device *vfd = &p->radio_data.fm_dev; local 318 *vfd = poseidon_fm_template; 328 vfd->v4l2_dev = &p->v4l2_dev; 329 vfd->ctrl_handler = hdl; 330 video_set_drvdata(vfd, p); 331 return video_register_device(vfd, VFL_TYPE_RADIO, -1);
|
/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 593 struct video_device *vfd; local 599 // released by vfd->release 600 vfd = video_device_alloc(); 601 if (vfd == NULL) 604 vfd->fops = &video_fops; 606 vfd->ioctl_ops = &dev->ext_vv_data->vid_ops; 608 vfd->ioctl_ops = &dev->ext_vv_data->vbi_ops; 609 vfd->release = video_device_release; 610 vfd->lock = &dev->v4l2_lock; 611 vfd [all...] |
/drivers/media/platform/omap/ |
H A D | omap_vout_vrfb.c | 93 struct video_device *vfd; local 101 vfd = vout->vfd; 140 " video%d\n", vfd->minor);
|
H A D | omap_voutdef.h | 117 struct video_device *vfd; member in struct:omap_vout_device
|
H A D | omap_vout.c | 1055 strlcpy(cap->card, vout->vfd->name, sizeof(cap->card)); 1876 struct video_device *vfd; local 1925 vfd = vout->vfd = video_device_alloc(); 1927 if (!vfd) { 1932 vfd->release = video_device_release; 1933 vfd->ioctl_ops = &vout_ioctl_ops; 1935 strlcpy(vfd->name, VOUT_NAME, sizeof(vfd->name)); 1937 vfd 2004 struct video_device *vfd = NULL; local 2082 struct video_device *vfd; local [all...] |
/drivers/media/platform/s5p-g2d/ |
H A D | g2d.h | 24 struct video_device *vfd; member in struct:g2d_dev
|
H A D | g2d.c | 629 struct video_device *vfd; local 699 vfd = video_device_alloc(); 700 if (!vfd) { 705 *vfd = g2d_videodev; 706 vfd->lock = &dev->mutex; 707 vfd->v4l2_dev = &dev->v4l2_dev; 708 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); 713 video_set_drvdata(vfd, dev); 714 snprintf(vfd->name, sizeof(vfd [all...] |
/drivers/media/platform/exynos4-is/ |
H A D | fimc-m2m.c | 377 v4l2_err(&fimc->m2m.vfd, "queue (%d) busy\n", f->type); 443 v4l2_err(&fimc->m2m.vfd, 513 v4l2_err(&fimc->m2m.vfd, "Out of scaler range\n"); 626 v4l2_fh_init(&ctx->fh, &fimc->m2m.vfd); 718 struct video_device *vfd = &fimc->m2m.vfd; local 723 memset(vfd, 0, sizeof(*vfd)); 724 vfd->fops = &fimc_m2m_fops; 725 vfd [all...] |
H A D | fimc-lite.c | 1289 struct video_device *vfd = &fimc->ve.vdev; local 1292 memset(vfd, 0, sizeof(*vfd)); 1295 snprintf(vfd->name, sizeof(vfd->name), "fimc-lite.%d.capture", 1298 vfd->fops = &fimc_lite_fops; 1299 vfd->ioctl_ops = &fimc_lite_ioctl_ops; 1300 vfd->v4l2_dev = sd->v4l2_dev; 1301 vfd->minor = -1; 1302 vfd [all...] |
/drivers/media/v4l2-core/ |
H A D | v4l2-mem2mem.c | 528 struct video_device *vfd = video_devdata(file); local 535 if (test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags)) {
|
/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 1031 struct video_device *vfd; local 1033 vfd = video_device_alloc(); 1034 if (NULL == vfd) 1036 *vfd = *template_; 1043 vfd->v4l2_dev = &core->v4l2_dev; 1044 vfd->dev_parent = &pci->dev; 1045 vfd->release = video_device_release; 1046 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", 1048 return vfd; [all...] |
/drivers/media/pci/saa7164/ |
H A D | saa7164-encoder.c | 1338 struct video_device *vfd; local 1343 vfd = video_device_alloc(); 1344 if (NULL == vfd) 1347 *vfd = *template; 1348 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", dev->name, 1351 vfd->v4l2_dev = &dev->v4l2_dev; 1352 vfd->release = video_device_release; 1353 return vfd;
|
H A D | saa7164-vbi.c | 1287 struct video_device *vfd; local 1292 vfd = video_device_alloc(); 1293 if (NULL == vfd) 1296 *vfd = *template; 1297 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", dev->name, 1300 vfd->v4l2_dev = &dev->v4l2_dev; 1301 vfd->release = video_device_release; 1302 return vfd;
|
/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc.c | 724 dev->num_inst++; /* It is guarded by mfc_mutex in vfd */ 1057 struct video_device *vfd; local 1148 vfd = video_device_alloc(); 1149 if (!vfd) { 1154 vfd->fops = &s5p_mfc_fops; 1155 vfd->ioctl_ops = get_dec_v4l2_ioctl_ops(); 1156 vfd->release = video_device_release; 1157 vfd->lock = &dev->mfc_mutex; 1158 vfd->v4l2_dev = &dev->v4l2_dev; 1159 vfd [all...] |
/drivers/media/platform/s5p-tv/ |
H A D | mixer.h | 179 struct video_device vfd; member in struct:mxr_layer
|
/drivers/media/platform/vivid/ |
H A D | vivid-core.c | 646 struct video_device *vfd; local 1109 vfd = &dev->vid_cap_dev; 1110 strlcpy(vfd->name, "vivid-vid-cap", sizeof(vfd->name)); 1111 vfd->fops = &vivid_fops; 1112 vfd->ioctl_ops = &vivid_ioctl_ops; 1113 vfd->release = video_device_release_empty; 1114 vfd->v4l2_dev = &dev->v4l2_dev; 1115 vfd->queue = &dev->vb_vid_cap_q; 1116 vfd [all...] |
/drivers/media/pci/cx23885/ |
H A D | cx23885-video.c | 140 struct video_device *vfd; local 143 vfd = video_device_alloc(); 144 if (NULL == vfd) 146 *vfd = *template; 147 vfd->v4l2_dev = &dev->v4l2_dev; 148 vfd->release = video_device_release; 149 vfd->lock = &dev->lock; 150 snprintf(vfd->name, sizeof(vfd->name), "%s (%s)", 152 video_set_drvdata(vfd, de [all...] |
/drivers/media/pci/saa7134/ |
H A D | saa7134-core.c | 810 struct video_device *vfd; local 812 vfd = video_device_alloc(); 813 if (NULL == vfd) 815 *vfd = *template; 816 vfd->v4l2_dev = &dev->v4l2_dev; 817 vfd->release = video_device_release; 818 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", 820 video_set_drvdata(vfd, dev); 821 return vfd; [all...] |
/drivers/media/platform/blackfin/ |
H A D | bfin_capture.c | 207 struct video_device *vfd = bcap_dev->video_dev; local 222 v4l2_fh_init(&bcap_fh->fh, vfd); 921 struct video_device *vfd; local 956 vfd = video_device_alloc(); 957 if (!vfd) { 964 vfd->release = video_device_release; 965 vfd->fops = &bcap_fops; 966 vfd->ioctl_ops = &bcap_ioctl_ops; 967 vfd->tvnorms = 0; 968 vfd [all...] |
/drivers/media/platform/davinci/ |
H A D | vpfe_capture.c | 1804 struct video_device *vfd; local 1875 vfd = video_device_alloc(); 1876 if (NULL == vfd) { 1883 vfd->release = video_device_release; 1884 vfd->fops = &vpfe_fops; 1885 vfd->ioctl_ops = &vpfe_ioctl_ops; 1886 vfd->tvnorms = 0; 1887 vfd->v4l2_dev = &vpfe_dev->v4l2_dev; 1888 snprintf(vfd->name, sizeof(vfd [all...] |
H A D | vpif_capture.c | 1443 struct video_device *vfd; local 1477 vfd = video_device_alloc(); 1478 if (NULL == vfd) { 1488 ch->video_dev = vfd;
|
H A D | vpif_display.c | 1253 struct video_device *vfd; local 1289 vfd = video_device_alloc(); 1290 if (vfd == NULL) { 1300 ch->video_dev = vfd;
|
/drivers/media/platform/ |
H A D | m2m-deinterlace.c | 130 struct video_device *vfd; member in struct:deinterlace_dev 1001 struct video_device *vfd; local 1029 vfd = video_device_alloc(); 1030 if (!vfd) { 1036 *vfd = deinterlace_videodev; 1037 vfd->lock = &pcdev->dev_mutex; 1038 vfd->v4l2_dev = &pcdev->v4l2_dev; 1040 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); 1046 video_set_drvdata(vfd, pcdev); 1047 snprintf(vfd [all...] |
H A D | mem2mem_testdev.c | 146 struct video_device *vfd; member in struct:m2mtest_dev 983 struct video_device *vfd; local 999 vfd = video_device_alloc(); 1000 if (!vfd) { 1006 *vfd = m2mtest_videodev; 1007 vfd->lock = &dev->dev_mutex; 1008 vfd->v4l2_dev = &dev->v4l2_dev; 1010 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); 1016 video_set_drvdata(vfd, dev); 1017 snprintf(vfd [all...] |
/drivers/media/platform/s3c-camif/ |
H A D | camif-capture.c | 1137 struct video_device *vfd = &vp->vdev; local 1141 memset(vfd, 0, sizeof(*vfd)); 1142 snprintf(vfd->name, sizeof(vfd->name), "camif-%s", 1145 vfd->fops = &s3c_camif_fops; 1146 vfd->ioctl_ops = &s3c_camif_ioctl_ops; 1147 vfd->v4l2_dev = &camif->v4l2_dev; 1148 vfd->minor = -1; 1149 vfd 1211 struct video_device *vfd = &camif->vp[idx].vdev; local [all...] |