vfd 591 drivers/media/common/saa7146/saa7146_fops.c int saa7146_register_device(struct video_device *vfd, struct saa7146_dev *dev, vfd 599 drivers/media/common/saa7146/saa7146_fops.c vfd->fops = &video_fops; vfd 601 drivers/media/common/saa7146/saa7146_fops.c vfd->ioctl_ops = &dev->ext_vv_data->vid_ops; vfd 603 drivers/media/common/saa7146/saa7146_fops.c vfd->ioctl_ops = &dev->ext_vv_data->vbi_ops; vfd 604 drivers/media/common/saa7146/saa7146_fops.c vfd->release = video_device_release_empty; vfd 605 drivers/media/common/saa7146/saa7146_fops.c vfd->lock = &dev->v4l2_lock; vfd 606 drivers/media/common/saa7146/saa7146_fops.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 607 drivers/media/common/saa7146/saa7146_fops.c vfd->tvnorms = 0; vfd 609 drivers/media/common/saa7146/saa7146_fops.c vfd->tvnorms |= dev->ext_vv_data->stds[i].id; vfd 610 drivers/media/common/saa7146/saa7146_fops.c strscpy(vfd->name, name, sizeof(vfd->name)); vfd 611 drivers/media/common/saa7146/saa7146_fops.c vfd->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OVERLAY | vfd 613 drivers/media/common/saa7146/saa7146_fops.c vfd->device_caps |= dev->ext_vv_data->capabilities; vfd 615 drivers/media/common/saa7146/saa7146_fops.c vfd->device_caps &= vfd 618 drivers/media/common/saa7146/saa7146_fops.c vfd->device_caps &= vfd 620 drivers/media/common/saa7146/saa7146_fops.c video_set_drvdata(vfd, dev); vfd 622 drivers/media/common/saa7146/saa7146_fops.c err = video_register_device(vfd, type, -1); vfd 629 drivers/media/common/saa7146/saa7146_fops.c dev->name, video_device_node_name(vfd)); vfd 634 drivers/media/common/saa7146/saa7146_fops.c int saa7146_unregister_device(struct video_device *vfd, struct saa7146_dev *dev) vfd 638 drivers/media/common/saa7146/saa7146_fops.c video_unregister_device(vfd); vfd 874 drivers/media/common/videobuf2/videobuf2-v4l2.c struct video_device *vfd = video_devdata(file); vfd 879 drivers/media/common/videobuf2/videobuf2-v4l2.c if (test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags)) { vfd 176 drivers/media/pci/bt8xx/bttv-driver.c struct video_device *vfd = to_video_device(cd); vfd 177 drivers/media/pci/bt8xx/bttv-driver.c struct bttv *btv = video_get_drvdata(vfd); vfd 3867 drivers/media/pci/bt8xx/bttv-driver.c struct video_device *vfd, vfd 3871 drivers/media/pci/bt8xx/bttv-driver.c *vfd = *template; vfd 3872 drivers/media/pci/bt8xx/bttv-driver.c vfd->v4l2_dev = &btv->c.v4l2_dev; vfd 3873 drivers/media/pci/bt8xx/bttv-driver.c vfd->release = video_device_release_empty; vfd 3874 drivers/media/pci/bt8xx/bttv-driver.c video_set_drvdata(vfd, btv); vfd 3875 drivers/media/pci/bt8xx/bttv-driver.c snprintf(vfd->name, sizeof(vfd->name), "BT%d%s %s (%s)", vfd 3879 drivers/media/pci/bt8xx/bttv-driver.c v4l2_disable_ioctl(vfd, VIDIOC_G_FREQUENCY); vfd 3880 drivers/media/pci/bt8xx/bttv-driver.c v4l2_disable_ioctl(vfd, VIDIOC_S_FREQUENCY); vfd 3881 drivers/media/pci/bt8xx/bttv-driver.c v4l2_disable_ioctl(vfd, VIDIOC_G_TUNER); vfd 3882 drivers/media/pci/bt8xx/bttv-driver.c v4l2_disable_ioctl(vfd, VIDIOC_S_TUNER); vfd 1475 drivers/media/pci/cx23885/cx23885-417.c struct video_device *vfd; vfd 1480 drivers/media/pci/cx23885/cx23885-417.c vfd = video_device_alloc(); vfd 1481 drivers/media/pci/cx23885/cx23885-417.c if (NULL == vfd) vfd 1483 drivers/media/pci/cx23885/cx23885-417.c *vfd = *template; vfd 1484 drivers/media/pci/cx23885/cx23885-417.c snprintf(vfd->name, sizeof(vfd->name), "%s (%s)", vfd 1486 drivers/media/pci/cx23885/cx23885-417.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1487 drivers/media/pci/cx23885/cx23885-417.c vfd->release = video_device_release; vfd 1488 drivers/media/pci/cx23885/cx23885-417.c return vfd; vfd 147 drivers/media/pci/cx23885/cx23885-video.c struct video_device *vfd; vfd 150 drivers/media/pci/cx23885/cx23885-video.c vfd = video_device_alloc(); vfd 151 drivers/media/pci/cx23885/cx23885-video.c if (NULL == vfd) vfd 153 drivers/media/pci/cx23885/cx23885-video.c *vfd = *template; vfd 154 drivers/media/pci/cx23885/cx23885-video.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 155 drivers/media/pci/cx23885/cx23885-video.c vfd->release = video_device_release; vfd 156 drivers/media/pci/cx23885/cx23885-video.c vfd->lock = &dev->lock; vfd 157 drivers/media/pci/cx23885/cx23885-video.c snprintf(vfd->name, sizeof(vfd->name), "%s (%s)", vfd 159 drivers/media/pci/cx23885/cx23885-video.c video_set_drvdata(vfd, dev); vfd 160 drivers/media/pci/cx23885/cx23885-video.c return vfd; vfd 1010 drivers/media/pci/cx88/cx88-core.c struct video_device *vfd, vfd 1014 drivers/media/pci/cx88/cx88-core.c *vfd = *template_; vfd 1022 drivers/media/pci/cx88/cx88-core.c vfd->v4l2_dev = &core->v4l2_dev; vfd 1023 drivers/media/pci/cx88/cx88-core.c vfd->dev_parent = &pci->dev; vfd 1024 drivers/media/pci/cx88/cx88-core.c vfd->release = video_device_release_empty; vfd 1025 drivers/media/pci/cx88/cx88-core.c vfd->lock = &core->lock; vfd 1026 drivers/media/pci/cx88/cx88-core.c snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", vfd 644 drivers/media/pci/cx88/cx88.h struct video_device *vfd, vfd 948 drivers/media/pci/saa7134/saa7134-core.c struct video_device *vfd; vfd 950 drivers/media/pci/saa7134/saa7134-core.c vfd = video_device_alloc(); vfd 951 drivers/media/pci/saa7134/saa7134-core.c if (NULL == vfd) vfd 953 drivers/media/pci/saa7134/saa7134-core.c *vfd = *template; vfd 954 drivers/media/pci/saa7134/saa7134-core.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 955 drivers/media/pci/saa7134/saa7134-core.c vfd->release = video_device_release; vfd 956 drivers/media/pci/saa7134/saa7134-core.c snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", vfd 958 drivers/media/pci/saa7134/saa7134-core.c video_set_drvdata(vfd, dev); vfd 959 drivers/media/pci/saa7134/saa7134-core.c return vfd; vfd 978 drivers/media/pci/saa7164/saa7164-encoder.c struct video_device *vfd; vfd 983 drivers/media/pci/saa7164/saa7164-encoder.c vfd = video_device_alloc(); vfd 984 drivers/media/pci/saa7164/saa7164-encoder.c if (NULL == vfd) vfd 987 drivers/media/pci/saa7164/saa7164-encoder.c *vfd = *template; vfd 988 drivers/media/pci/saa7164/saa7164-encoder.c snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", dev->name, vfd 991 drivers/media/pci/saa7164/saa7164-encoder.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 992 drivers/media/pci/saa7164/saa7164-encoder.c vfd->release = video_device_release; vfd 993 drivers/media/pci/saa7164/saa7164-encoder.c return vfd; vfd 681 drivers/media/pci/saa7164/saa7164-vbi.c struct video_device *vfd; vfd 686 drivers/media/pci/saa7164/saa7164-vbi.c vfd = video_device_alloc(); vfd 687 drivers/media/pci/saa7164/saa7164-vbi.c if (NULL == vfd) vfd 690 drivers/media/pci/saa7164/saa7164-vbi.c *vfd = *template; vfd 691 drivers/media/pci/saa7164/saa7164-vbi.c snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", dev->name, vfd 694 drivers/media/pci/saa7164/saa7164-vbi.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 695 drivers/media/pci/saa7164/saa7164-vbi.c vfd->release = video_device_release; vfd 696 drivers/media/pci/saa7164/saa7164-vbi.c return vfd; vfd 419 drivers/media/pci/solo6x10/solo6x10-core.c dev_set_name(dev, "%s-%d-%d", driver, solo_dev->vfd->num, vfd 376 drivers/media/pci/solo6x10/solo6x10-g723.c sprintf(name, "Softlogic%d", solo_dev->vfd->num); vfd 539 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c v4l2_event_queue(solo_enc->vfd, &ev); vfd 789 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c input->std = solo_enc->vfd->tvnorms; vfd 1297 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_enc->vfd = video_device_alloc(); vfd 1298 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c if (!solo_enc->vfd) vfd 1301 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c *solo_enc->vfd = solo_enc_template; vfd 1302 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_enc->vfd->v4l2_dev = &solo_dev->v4l2_dev; vfd 1303 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_enc->vfd->ctrl_handler = hdl; vfd 1304 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_enc->vfd->queue = &solo_enc->vidq; vfd 1305 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_enc->vfd->lock = &solo_enc->lock; vfd 1306 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c video_set_drvdata(solo_enc->vfd, solo_enc); vfd 1307 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c ret = video_register_device(solo_enc->vfd, VFL_TYPE_GRABBER, nr); vfd 1311 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c snprintf(solo_enc->vfd->name, sizeof(solo_enc->vfd->name), vfd 1312 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c "%s-enc (%i/%i)", SOLO6X10_NAME, solo_dev->vfd->num, vfd 1313 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_enc->vfd->num); vfd 1318 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c video_device_release(solo_enc->vfd); vfd 1337 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c video_unregister_device(solo_enc->vfd); vfd 1378 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_dev->v4l2_enc[0]->vfd->num, vfd 1379 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_dev->v4l2_enc[solo_dev->nr_chans - 1]->vfd->num); vfd 428 drivers/media/pci/solo6x10/solo6x10-v4l2.c input->std = solo_dev->vfd->tvnorms; vfd 651 drivers/media/pci/solo6x10/solo6x10-v4l2.c solo_dev->vfd = video_device_alloc(); vfd 652 drivers/media/pci/solo6x10/solo6x10-v4l2.c if (!solo_dev->vfd) vfd 655 drivers/media/pci/solo6x10/solo6x10-v4l2.c *solo_dev->vfd = solo_v4l2_template; vfd 656 drivers/media/pci/solo6x10/solo6x10-v4l2.c solo_dev->vfd->v4l2_dev = &solo_dev->v4l2_dev; vfd 657 drivers/media/pci/solo6x10/solo6x10-v4l2.c solo_dev->vfd->queue = &solo_dev->vidq; vfd 658 drivers/media/pci/solo6x10/solo6x10-v4l2.c solo_dev->vfd->lock = &solo_dev->lock; vfd 665 drivers/media/pci/solo6x10/solo6x10-v4l2.c solo_dev->vfd->ctrl_handler = &solo_dev->disp_hdl; vfd 667 drivers/media/pci/solo6x10/solo6x10-v4l2.c video_set_drvdata(solo_dev->vfd, solo_dev); vfd 695 drivers/media/pci/solo6x10/solo6x10-v4l2.c ret = video_register_device(solo_dev->vfd, VFL_TYPE_GRABBER, nr); vfd 699 drivers/media/pci/solo6x10/solo6x10-v4l2.c snprintf(solo_dev->vfd->name, sizeof(solo_dev->vfd->name), "%s (%i)", vfd 700 drivers/media/pci/solo6x10/solo6x10-v4l2.c SOLO6X10_NAME, solo_dev->vfd->num); vfd 703 drivers/media/pci/solo6x10/solo6x10-v4l2.c solo_dev->vfd->num, vfd 709 drivers/media/pci/solo6x10/solo6x10-v4l2.c video_device_release(solo_dev->vfd); vfd 711 drivers/media/pci/solo6x10/solo6x10-v4l2.c solo_dev->vfd = NULL; vfd 717 drivers/media/pci/solo6x10/solo6x10-v4l2.c if (solo_dev->vfd == NULL) vfd 720 drivers/media/pci/solo6x10/solo6x10-v4l2.c video_unregister_device(solo_dev->vfd); vfd 722 drivers/media/pci/solo6x10/solo6x10-v4l2.c solo_dev->vfd = NULL; vfd 144 drivers/media/pci/solo6x10/solo6x10.h struct video_device *vfd; vfd 220 drivers/media/pci/solo6x10/solo6x10.h struct video_device *vfd; vfd 330 drivers/media/platform/coda/coda-common.c unsigned int i = vdev - dev->vfd; vfd 2684 drivers/media/platform/coda/coda-common.c struct video_device *vfd = &dev->vfd[i]; vfd 2692 drivers/media/platform/coda/coda-common.c strscpy(vfd->name, dev->devtype->vdevs[i]->name, sizeof(vfd->name)); vfd 2693 drivers/media/platform/coda/coda-common.c vfd->fops = &coda_fops; vfd 2694 drivers/media/platform/coda/coda-common.c vfd->ioctl_ops = &coda_ioctl_ops; vfd 2695 drivers/media/platform/coda/coda-common.c vfd->release = video_device_release_empty, vfd 2696 drivers/media/platform/coda/coda-common.c vfd->lock = &dev->dev_mutex; vfd 2697 drivers/media/platform/coda/coda-common.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 2698 drivers/media/platform/coda/coda-common.c vfd->vfl_dir = VFL_DIR_M2M; vfd 2699 drivers/media/platform/coda/coda-common.c vfd->device_caps = V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING; vfd 2700 drivers/media/platform/coda/coda-common.c video_set_drvdata(vfd, dev); vfd 2703 drivers/media/platform/coda/coda-common.c v4l2_disable_ioctl(vfd, VIDIOC_CROPCAP); vfd 2704 drivers/media/platform/coda/coda-common.c v4l2_disable_ioctl(vfd, VIDIOC_G_CROP); vfd 2705 drivers/media/platform/coda/coda-common.c v4l2_disable_ioctl(vfd, VIDIOC_S_CROP); vfd 2707 drivers/media/platform/coda/coda-common.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); vfd 2711 drivers/media/platform/coda/coda-common.c video_device_node_name(vfd)); vfd 2829 drivers/media/platform/coda/coda-common.c video_unregister_device(&dev->vfd[i]); vfd 3099 drivers/media/platform/coda/coda-common.c for (i = 0; i < ARRAY_SIZE(dev->vfd); i++) { vfd 3100 drivers/media/platform/coda/coda-common.c if (video_get_drvdata(&dev->vfd[i])) vfd 3101 drivers/media/platform/coda/coda-common.c video_unregister_device(&dev->vfd[i]); vfd 72 drivers/media/platform/coda/coda.h struct video_device vfd[5]; vfd 1679 drivers/media/platform/davinci/vpfe_capture.c struct video_device *vfd; vfd 1746 drivers/media/platform/davinci/vpfe_capture.c vfd = &vpfe_dev->video_dev; vfd 1748 drivers/media/platform/davinci/vpfe_capture.c vfd->release = video_device_release_empty; vfd 1749 drivers/media/platform/davinci/vpfe_capture.c vfd->fops = &vpfe_fops; vfd 1750 drivers/media/platform/davinci/vpfe_capture.c vfd->ioctl_ops = &vpfe_ioctl_ops; vfd 1751 drivers/media/platform/davinci/vpfe_capture.c vfd->tvnorms = 0; vfd 1752 drivers/media/platform/davinci/vpfe_capture.c vfd->v4l2_dev = &vpfe_dev->v4l2_dev; vfd 1753 drivers/media/platform/davinci/vpfe_capture.c vfd->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; vfd 1754 drivers/media/platform/davinci/vpfe_capture.c snprintf(vfd->name, sizeof(vfd->name), vfd 1824 drivers/media/platform/davinci/vpfe_capture.c vfd->tvnorms |= inps->std; vfd 213 drivers/media/platform/exynos-gsc/gsc-core.h struct video_device *vfd; vfd 630 drivers/media/platform/exynos-gsc/gsc-m2m.c v4l2_fh_init(&ctx->fh, gsc->m2m.vfd); vfd 767 drivers/media/platform/exynos-gsc/gsc-m2m.c gsc->m2m.vfd = &gsc->vdev; vfd 1733 drivers/media/platform/exynos4-is/fimc-capture.c struct video_device *vfd = &fimc->vid_cap.ve.vdev; vfd 1751 drivers/media/platform/exynos4-is/fimc-capture.c memset(vfd, 0, sizeof(*vfd)); vfd 1752 drivers/media/platform/exynos4-is/fimc-capture.c snprintf(vfd->name, sizeof(vfd->name), "fimc.%d.capture", fimc->id); vfd 1754 drivers/media/platform/exynos4-is/fimc-capture.c vfd->fops = &fimc_capture_fops; vfd 1755 drivers/media/platform/exynos4-is/fimc-capture.c vfd->ioctl_ops = &fimc_capture_ioctl_ops; vfd 1756 drivers/media/platform/exynos4-is/fimc-capture.c vfd->v4l2_dev = v4l2_dev; vfd 1757 drivers/media/platform/exynos4-is/fimc-capture.c vfd->minor = -1; vfd 1758 drivers/media/platform/exynos4-is/fimc-capture.c vfd->release = video_device_release_empty; vfd 1759 drivers/media/platform/exynos4-is/fimc-capture.c vfd->queue = q; vfd 1760 drivers/media/platform/exynos4-is/fimc-capture.c vfd->lock = &fimc->lock; vfd 1761 drivers/media/platform/exynos4-is/fimc-capture.c vfd->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_CAPTURE_MPLANE; vfd 1763 drivers/media/platform/exynos4-is/fimc-capture.c video_set_drvdata(vfd, fimc); vfd 1802 drivers/media/platform/exynos4-is/fimc-capture.c vfd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER; vfd 1803 drivers/media/platform/exynos4-is/fimc-capture.c ret = media_entity_pads_init(&vfd->entity, 1, &vid_cap->vd_pad); vfd 1811 drivers/media/platform/exynos4-is/fimc-capture.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, -1); vfd 1816 drivers/media/platform/exynos4-is/fimc-capture.c vfd->name, video_device_node_name(vfd)); vfd 1818 drivers/media/platform/exynos4-is/fimc-capture.c vfd->ctrl_handler = &ctx->ctrls.handler; vfd 1824 drivers/media/platform/exynos4-is/fimc-capture.c media_entity_cleanup(&vfd->entity); vfd 271 drivers/media/platform/exynos4-is/fimc-core.h struct video_device vfd; vfd 1256 drivers/media/platform/exynos4-is/fimc-lite.c struct video_device *vfd = &fimc->ve.vdev; vfd 1259 drivers/media/platform/exynos4-is/fimc-lite.c memset(vfd, 0, sizeof(*vfd)); vfd 1262 drivers/media/platform/exynos4-is/fimc-lite.c snprintf(vfd->name, sizeof(vfd->name), "fimc-lite.%d.capture", vfd 1265 drivers/media/platform/exynos4-is/fimc-lite.c vfd->fops = &fimc_lite_fops; vfd 1266 drivers/media/platform/exynos4-is/fimc-lite.c vfd->ioctl_ops = &fimc_lite_ioctl_ops; vfd 1267 drivers/media/platform/exynos4-is/fimc-lite.c vfd->v4l2_dev = sd->v4l2_dev; vfd 1268 drivers/media/platform/exynos4-is/fimc-lite.c vfd->minor = -1; vfd 1269 drivers/media/platform/exynos4-is/fimc-lite.c vfd->release = video_device_release_empty; vfd 1270 drivers/media/platform/exynos4-is/fimc-lite.c vfd->queue = q; vfd 1271 drivers/media/platform/exynos4-is/fimc-lite.c vfd->device_caps = V4L2_CAP_VIDEO_CAPTURE_MPLANE | V4L2_CAP_STREAMING; vfd 1293 drivers/media/platform/exynos4-is/fimc-lite.c ret = media_entity_pads_init(&vfd->entity, 1, &fimc->vd_pad); vfd 1297 drivers/media/platform/exynos4-is/fimc-lite.c video_set_drvdata(vfd, fimc); vfd 1300 drivers/media/platform/exynos4-is/fimc-lite.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, -1); vfd 1302 drivers/media/platform/exynos4-is/fimc-lite.c media_entity_cleanup(&vfd->entity); vfd 1308 drivers/media/platform/exynos4-is/fimc-lite.c vfd->name, video_device_node_name(vfd)); vfd 358 drivers/media/platform/exynos4-is/fimc-m2m.c v4l2_err(&fimc->m2m.vfd, "queue (%d) busy\n", f->type); vfd 439 drivers/media/platform/exynos4-is/fimc-m2m.c v4l2_err(&fimc->m2m.vfd, vfd 514 drivers/media/platform/exynos4-is/fimc-m2m.c v4l2_err(&fimc->m2m.vfd, "Out of scaler range\n"); vfd 628 drivers/media/platform/exynos4-is/fimc-m2m.c v4l2_fh_init(&ctx->fh, &fimc->m2m.vfd); vfd 720 drivers/media/platform/exynos4-is/fimc-m2m.c struct video_device *vfd = &fimc->m2m.vfd; vfd 725 drivers/media/platform/exynos4-is/fimc-m2m.c memset(vfd, 0, sizeof(*vfd)); vfd 726 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->fops = &fimc_m2m_fops; vfd 727 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->ioctl_ops = &fimc_m2m_ioctl_ops; vfd 728 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->v4l2_dev = v4l2_dev; vfd 729 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->minor = -1; vfd 730 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->release = video_device_release_empty; vfd 731 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->lock = &fimc->lock; vfd 732 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->vfl_dir = VFL_DIR_M2M; vfd 733 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_M2M_MPLANE; vfd 734 drivers/media/platform/exynos4-is/fimc-m2m.c set_bit(V4L2_FL_QUIRK_INVERTED_CROP, &vfd->flags); vfd 736 drivers/media/platform/exynos4-is/fimc-m2m.c snprintf(vfd->name, sizeof(vfd->name), "fimc.%d.m2m", fimc->id); vfd 737 drivers/media/platform/exynos4-is/fimc-m2m.c video_set_drvdata(vfd, fimc); vfd 745 drivers/media/platform/exynos4-is/fimc-m2m.c ret = media_entity_pads_init(&vfd->entity, 0, NULL); vfd 749 drivers/media/platform/exynos4-is/fimc-m2m.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, -1); vfd 754 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->name, video_device_node_name(vfd)); vfd 758 drivers/media/platform/exynos4-is/fimc-m2m.c media_entity_cleanup(&vfd->entity); vfd 772 drivers/media/platform/exynos4-is/fimc-m2m.c if (video_is_registered(&fimc->m2m.vfd)) { vfd 773 drivers/media/platform/exynos4-is/fimc-m2m.c video_unregister_device(&fimc->m2m.vfd); vfd 774 drivers/media/platform/exynos4-is/fimc-m2m.c media_entity_cleanup(&fimc->m2m.vfd.entity); vfd 190 drivers/media/platform/imx-pxp.c struct video_device vfd; vfd 1640 drivers/media/platform/imx-pxp.c struct video_device *vfd; vfd 1693 drivers/media/platform/imx-pxp.c dev->vfd = pxp_videodev; vfd 1694 drivers/media/platform/imx-pxp.c vfd = &dev->vfd; vfd 1695 drivers/media/platform/imx-pxp.c vfd->lock = &dev->dev_mutex; vfd 1696 drivers/media/platform/imx-pxp.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1698 drivers/media/platform/imx-pxp.c video_set_drvdata(vfd, dev); vfd 1699 drivers/media/platform/imx-pxp.c snprintf(vfd->name, sizeof(vfd->name), "%s", pxp_videodev.name); vfd 1701 drivers/media/platform/imx-pxp.c "Device registered as /dev/video%d\n", vfd->num); vfd 1712 drivers/media/platform/imx-pxp.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); vfd 1740 drivers/media/platform/imx-pxp.c video_unregister_device(&dev->vfd); vfd 123 drivers/media/platform/m2m-deinterlace.c struct video_device vfd; vfd 922 drivers/media/platform/m2m-deinterlace.c struct video_device *vfd; vfd 951 drivers/media/platform/m2m-deinterlace.c vfd = &pcdev->vfd; vfd 952 drivers/media/platform/m2m-deinterlace.c *vfd = deinterlace_videodev; vfd 953 drivers/media/platform/m2m-deinterlace.c vfd->lock = &pcdev->dev_mutex; vfd 954 drivers/media/platform/m2m-deinterlace.c vfd->v4l2_dev = &pcdev->v4l2_dev; vfd 956 drivers/media/platform/m2m-deinterlace.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); vfd 962 drivers/media/platform/m2m-deinterlace.c video_set_drvdata(vfd, pcdev); vfd 964 drivers/media/platform/m2m-deinterlace.c " Device registered as /dev/video%d\n", vfd->num); vfd 978 drivers/media/platform/m2m-deinterlace.c video_unregister_device(&pcdev->vfd); vfd 993 drivers/media/platform/m2m-deinterlace.c video_unregister_device(&pcdev->vfd); vfd 991 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c struct video_device *vfd = video_devdata(file); vfd 1004 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_fh_init(&ctx->fh, vfd); vfd 1090 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c struct video_device *vfd = video_devdata(file); vfd 1105 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c v4l2_fh_init(&ctx->fh, vfd); vfd 198 drivers/media/platform/mx2_emmaprp.c struct video_device *vfd; vfd 806 drivers/media/platform/mx2_emmaprp.c struct video_device *vfd; vfd 836 drivers/media/platform/mx2_emmaprp.c vfd = video_device_alloc(); vfd 837 drivers/media/platform/mx2_emmaprp.c if (!vfd) { vfd 843 drivers/media/platform/mx2_emmaprp.c *vfd = emmaprp_videodev; vfd 844 drivers/media/platform/mx2_emmaprp.c vfd->lock = &pcdev->dev_mutex; vfd 845 drivers/media/platform/mx2_emmaprp.c vfd->v4l2_dev = &pcdev->v4l2_dev; vfd 847 drivers/media/platform/mx2_emmaprp.c video_set_drvdata(vfd, pcdev); vfd 848 drivers/media/platform/mx2_emmaprp.c pcdev->vfd = vfd; vfd 850 drivers/media/platform/mx2_emmaprp.c " Device registered as /dev/video%d\n", vfd->num); vfd 869 drivers/media/platform/mx2_emmaprp.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); vfd 881 drivers/media/platform/mx2_emmaprp.c video_device_release(vfd); vfd 896 drivers/media/platform/mx2_emmaprp.c video_unregister_device(pcdev->vfd); vfd 576 drivers/media/platform/omap/omap_vout.c strscpy(cap->card, vout->vfd->name, sizeof(cap->card)); vfd 1308 drivers/media/platform/omap/omap_vout.c struct video_device *vfd; vfd 1371 drivers/media/platform/omap/omap_vout.c vfd = vout->vfd = video_device_alloc(); vfd 1373 drivers/media/platform/omap/omap_vout.c if (!vfd) { vfd 1379 drivers/media/platform/omap/omap_vout.c vfd->ctrl_handler = hdl; vfd 1380 drivers/media/platform/omap/omap_vout.c vfd->release = video_device_release; vfd 1381 drivers/media/platform/omap/omap_vout.c vfd->ioctl_ops = &vout_ioctl_ops; vfd 1383 drivers/media/platform/omap/omap_vout.c strscpy(vfd->name, VOUT_NAME, sizeof(vfd->name)); vfd 1385 drivers/media/platform/omap/omap_vout.c vfd->fops = &omap_vout_fops; vfd 1386 drivers/media/platform/omap/omap_vout.c vfd->v4l2_dev = &vout->vid_dev->v4l2_dev; vfd 1387 drivers/media/platform/omap/omap_vout.c vfd->vfl_dir = VFL_DIR_TX; vfd 1388 drivers/media/platform/omap/omap_vout.c vfd->minor = -1; vfd 1389 drivers/media/platform/omap/omap_vout.c vfd->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_OUTPUT | vfd 1399 drivers/media/platform/omap/omap_vout.c vq->dev = vfd->v4l2_dev->dev; vfd 1405 drivers/media/platform/omap/omap_vout.c vfd->queue = vq; vfd 1410 drivers/media/platform/omap/omap_vout.c video_device_release(vfd); vfd 1443 drivers/media/platform/omap/omap_vout.c struct video_device *vfd = NULL; vfd 1502 drivers/media/platform/omap/omap_vout.c vfd = vout->vfd; vfd 1503 drivers/media/platform/omap/omap_vout.c if (video_register_device(vfd, VFL_TYPE_GRABBER, -1) < 0) { vfd 1506 drivers/media/platform/omap/omap_vout.c vfd->minor = -1; vfd 1510 drivers/media/platform/omap/omap_vout.c video_set_drvdata(vfd, vout); vfd 1514 drivers/media/platform/omap/omap_vout.c vfd->minor); vfd 1523 drivers/media/platform/omap/omap_vout.c video_device_release(vfd); vfd 1534 drivers/media/platform/omap/omap_vout.c struct video_device *vfd; vfd 1540 drivers/media/platform/omap/omap_vout.c vfd = vout->vfd; vfd 1542 drivers/media/platform/omap/omap_vout.c if (vfd) { vfd 1543 drivers/media/platform/omap/omap_vout.c if (!video_is_registered(vfd)) { vfd 1548 drivers/media/platform/omap/omap_vout.c video_device_release(vfd); vfd 1554 drivers/media/platform/omap/omap_vout.c video_unregister_device(vfd); vfd 95 drivers/media/platform/omap/omap_vout_vrfb.c struct video_device *vfd; vfd 104 drivers/media/platform/omap/omap_vout_vrfb.c vfd = vout->vfd; vfd 152 drivers/media/platform/omap/omap_vout_vrfb.c vfd->minor); vfd 135 drivers/media/platform/omap/omap_voutdef.h struct video_device *vfd; vfd 557 drivers/media/platform/rcar_fdp1.c struct video_device vfd; vfd 2256 drivers/media/platform/rcar_fdp1.c struct video_device *vfd; vfd 2340 drivers/media/platform/rcar_fdp1.c fdp1->vfd = fdp1_videodev; vfd 2341 drivers/media/platform/rcar_fdp1.c vfd = &fdp1->vfd; vfd 2342 drivers/media/platform/rcar_fdp1.c vfd->lock = &fdp1->dev_mutex; vfd 2343 drivers/media/platform/rcar_fdp1.c vfd->v4l2_dev = &fdp1->v4l2_dev; vfd 2344 drivers/media/platform/rcar_fdp1.c video_set_drvdata(vfd, fdp1); vfd 2345 drivers/media/platform/rcar_fdp1.c strscpy(vfd->name, fdp1_videodev.name, sizeof(vfd->name)); vfd 2347 drivers/media/platform/rcar_fdp1.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); vfd 2354 drivers/media/platform/rcar_fdp1.c vfd->num); vfd 2401 drivers/media/platform/rcar_fdp1.c video_unregister_device(&fdp1->vfd); vfd 1233 drivers/media/platform/rcar_jpu.c struct video_device *vfd = video_devdata(file); vfd 1241 drivers/media/platform/rcar_jpu.c v4l2_fh_init(&ctx->fh, vfd); vfd 1247 drivers/media/platform/rcar_jpu.c ctx->encoder = vfd == &jpu->vfd_encoder; vfd 802 drivers/media/platform/rockchip/rga/rga.c struct video_device *vfd; vfd 848 drivers/media/platform/rockchip/rga/rga.c vfd = video_device_alloc(); vfd 849 drivers/media/platform/rockchip/rga/rga.c if (!vfd) { vfd 854 drivers/media/platform/rockchip/rga/rga.c *vfd = rga_videodev; vfd 855 drivers/media/platform/rockchip/rga/rga.c vfd->lock = &rga->mutex; vfd 856 drivers/media/platform/rockchip/rga/rga.c vfd->v4l2_dev = &rga->v4l2_dev; vfd 858 drivers/media/platform/rockchip/rga/rga.c video_set_drvdata(vfd, rga); vfd 859 drivers/media/platform/rockchip/rga/rga.c rga->vfd = vfd; vfd 892 drivers/media/platform/rockchip/rga/rga.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, -1); vfd 899 drivers/media/platform/rockchip/rga/rga.c vfd->name, video_device_node_name(vfd)); vfd 904 drivers/media/platform/rockchip/rga/rga.c video_device_release(vfd); vfd 906 drivers/media/platform/rockchip/rga/rga.c video_unregister_device(rga->vfd); vfd 928 drivers/media/platform/rockchip/rga/rga.c video_unregister_device(rga->vfd); vfd 66 drivers/media/platform/rockchip/rga/rga.h struct video_device *vfd; vfd 1103 drivers/media/platform/s3c-camif/camif-capture.c struct video_device *vfd = &vp->vdev; vfd 1107 drivers/media/platform/s3c-camif/camif-capture.c memset(vfd, 0, sizeof(*vfd)); vfd 1108 drivers/media/platform/s3c-camif/camif-capture.c snprintf(vfd->name, sizeof(vfd->name), "camif-%s", vfd 1111 drivers/media/platform/s3c-camif/camif-capture.c vfd->fops = &s3c_camif_fops; vfd 1112 drivers/media/platform/s3c-camif/camif-capture.c vfd->ioctl_ops = &s3c_camif_ioctl_ops; vfd 1113 drivers/media/platform/s3c-camif/camif-capture.c vfd->v4l2_dev = &camif->v4l2_dev; vfd 1114 drivers/media/platform/s3c-camif/camif-capture.c vfd->minor = -1; vfd 1115 drivers/media/platform/s3c-camif/camif-capture.c vfd->release = video_device_release_empty; vfd 1116 drivers/media/platform/s3c-camif/camif-capture.c vfd->lock = &camif->lock; vfd 1138 drivers/media/platform/s3c-camif/camif-capture.c ret = media_entity_pads_init(&vfd->entity, 1, &vp->pad); vfd 1142 drivers/media/platform/s3c-camif/camif-capture.c video_set_drvdata(vfd, vp); vfd 1158 drivers/media/platform/s3c-camif/camif-capture.c vfd->ctrl_handler = &vp->ctrl_handler; vfd 1159 drivers/media/platform/s3c-camif/camif-capture.c vfd->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_CAPTURE; vfd 1161 drivers/media/platform/s3c-camif/camif-capture.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, -1); vfd 1166 drivers/media/platform/s3c-camif/camif-capture.c vfd->name, video_device_node_name(vfd)); vfd 1172 drivers/media/platform/s3c-camif/camif-capture.c media_entity_cleanup(&vfd->entity); vfd 1174 drivers/media/platform/s3c-camif/camif-capture.c video_device_release(vfd); vfd 1180 drivers/media/platform/s3c-camif/camif-capture.c struct video_device *vfd = &camif->vp[idx].vdev; vfd 1182 drivers/media/platform/s3c-camif/camif-capture.c if (video_is_registered(vfd)) { vfd 1183 drivers/media/platform/s3c-camif/camif-capture.c video_unregister_device(vfd); vfd 1184 drivers/media/platform/s3c-camif/camif-capture.c media_entity_cleanup(&vfd->entity); vfd 1185 drivers/media/platform/s3c-camif/camif-capture.c v4l2_ctrl_handler_free(vfd->ctrl_handler); vfd 622 drivers/media/platform/s5p-g2d/g2d.c struct video_device *vfd; vfd 687 drivers/media/platform/s5p-g2d/g2d.c vfd = video_device_alloc(); vfd 688 drivers/media/platform/s5p-g2d/g2d.c if (!vfd) { vfd 693 drivers/media/platform/s5p-g2d/g2d.c *vfd = g2d_videodev; vfd 694 drivers/media/platform/s5p-g2d/g2d.c set_bit(V4L2_FL_QUIRK_INVERTED_CROP, &vfd->flags); vfd 695 drivers/media/platform/s5p-g2d/g2d.c vfd->lock = &dev->mutex; vfd 696 drivers/media/platform/s5p-g2d/g2d.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 697 drivers/media/platform/s5p-g2d/g2d.c vfd->device_caps = V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING; vfd 698 drivers/media/platform/s5p-g2d/g2d.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); vfd 703 drivers/media/platform/s5p-g2d/g2d.c video_set_drvdata(vfd, dev); vfd 704 drivers/media/platform/s5p-g2d/g2d.c dev->vfd = vfd; vfd 706 drivers/media/platform/s5p-g2d/g2d.c vfd->num); vfd 727 drivers/media/platform/s5p-g2d/g2d.c video_unregister_device(dev->vfd); vfd 729 drivers/media/platform/s5p-g2d/g2d.c video_device_release(vfd); vfd 750 drivers/media/platform/s5p-g2d/g2d.c video_unregister_device(dev->vfd); vfd 20 drivers/media/platform/s5p-g2d/g2d.h struct video_device *vfd; vfd 947 drivers/media/platform/s5p-jpeg/jpeg-core.c struct video_device *vfd = video_devdata(file); vfd 961 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_fh_init(&ctx->fh, vfd); vfd 968 drivers/media/platform/s5p-jpeg/jpeg-core.c if (vfd == jpeg->vfd_encoder) { vfd 1269 drivers/media/platform/s5p-mfc/s5p_mfc.c struct video_device *vfd; vfd 1336 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd = video_device_alloc(); vfd 1337 drivers/media/platform/s5p-mfc/s5p_mfc.c if (!vfd) { vfd 1342 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->fops = &s5p_mfc_fops; vfd 1343 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->ioctl_ops = get_dec_v4l2_ioctl_ops(); vfd 1344 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->release = video_device_release; vfd 1345 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->lock = &dev->mfc_mutex; vfd 1346 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1347 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->vfl_dir = VFL_DIR_M2M; vfd 1348 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->device_caps = V4L2_CAP_VIDEO_M2M_MPLANE | V4L2_CAP_STREAMING; vfd 1349 drivers/media/platform/s5p-mfc/s5p_mfc.c set_bit(V4L2_FL_QUIRK_INVERTED_CROP, &vfd->flags); vfd 1350 drivers/media/platform/s5p-mfc/s5p_mfc.c snprintf(vfd->name, sizeof(vfd->name), "%s", S5P_MFC_DEC_NAME); vfd 1351 drivers/media/platform/s5p-mfc/s5p_mfc.c dev->vfd_dec = vfd; vfd 1352 drivers/media/platform/s5p-mfc/s5p_mfc.c video_set_drvdata(vfd, dev); vfd 1355 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd = video_device_alloc(); vfd 1356 drivers/media/platform/s5p-mfc/s5p_mfc.c if (!vfd) { vfd 1361 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->fops = &s5p_mfc_fops; vfd 1362 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->ioctl_ops = get_enc_v4l2_ioctl_ops(); vfd 1363 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->release = video_device_release; vfd 1364 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->lock = &dev->mfc_mutex; vfd 1365 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1366 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->vfl_dir = VFL_DIR_M2M; vfd 1367 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->device_caps = V4L2_CAP_VIDEO_M2M_MPLANE | V4L2_CAP_STREAMING; vfd 1368 drivers/media/platform/s5p-mfc/s5p_mfc.c snprintf(vfd->name, sizeof(vfd->name), "%s", S5P_MFC_ENC_NAME); vfd 1369 drivers/media/platform/s5p-mfc/s5p_mfc.c dev->vfd_enc = vfd; vfd 1370 drivers/media/platform/s5p-mfc/s5p_mfc.c video_set_drvdata(vfd, dev); vfd 1522 drivers/media/platform/ti-vpe/cal.c struct video_device *vfd; vfd 1553 drivers/media/platform/ti-vpe/cal.c vfd = &ctx->vdev; vfd 1554 drivers/media/platform/ti-vpe/cal.c *vfd = cal_videodev; vfd 1555 drivers/media/platform/ti-vpe/cal.c vfd->v4l2_dev = &ctx->v4l2_dev; vfd 1556 drivers/media/platform/ti-vpe/cal.c vfd->queue = q; vfd 1562 drivers/media/platform/ti-vpe/cal.c vfd->lock = &ctx->mutex; vfd 1563 drivers/media/platform/ti-vpe/cal.c video_set_drvdata(vfd, ctx); vfd 1565 drivers/media/platform/ti-vpe/cal.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, video_nr); vfd 1570 drivers/media/platform/ti-vpe/cal.c video_device_node_name(vfd)); vfd 366 drivers/media/platform/ti-vpe/vpe.c struct video_device vfd; vfd 2455 drivers/media/platform/ti-vpe/vpe.c struct video_device *vfd; vfd 2458 drivers/media/platform/ti-vpe/vpe.c vfd = &dev->vfd; vfd 2459 drivers/media/platform/ti-vpe/vpe.c *vfd = vpe_videodev; vfd 2460 drivers/media/platform/ti-vpe/vpe.c vfd->lock = &dev->dev_mutex; vfd 2461 drivers/media/platform/ti-vpe/vpe.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 2463 drivers/media/platform/ti-vpe/vpe.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); vfd 2476 drivers/media/platform/ti-vpe/vpe.c video_set_drvdata(vfd, dev); vfd 2478 drivers/media/platform/ti-vpe/vpe.c vfd->num); vfd 2582 drivers/media/platform/ti-vpe/vpe.c video_unregister_device(&dev->vfd); vfd 98 drivers/media/platform/vicodec/vicodec-core.c struct video_device vfd; vfd 1886 drivers/media/platform/vicodec/vicodec-core.c struct video_device *vfd = video_devdata(file); vfd 1894 drivers/media/platform/vicodec/vicodec-core.c if (mutex_lock_interruptible(vfd->lock)) vfd 1902 drivers/media/platform/vicodec/vicodec-core.c if (vfd == &dev->stateful_enc.vfd) vfd 1904 drivers/media/platform/vicodec/vicodec-core.c else if (vfd == &dev->stateless_dec.vfd) vfd 1990 drivers/media/platform/vicodec/vicodec-core.c mutex_unlock(vfd->lock); vfd 1996 drivers/media/platform/vicodec/vicodec-core.c struct video_device *vfd = video_devdata(file); vfd 1999 drivers/media/platform/vicodec/vicodec-core.c mutex_lock(vfd->lock); vfd 2001 drivers/media/platform/vicodec/vicodec-core.c mutex_unlock(vfd->lock); vfd 2096 drivers/media/platform/vicodec/vicodec-core.c struct video_device *vfd; vfd 2107 drivers/media/platform/vicodec/vicodec-core.c dev_instance->vfd = vicodec_videodev; vfd 2108 drivers/media/platform/vicodec/vicodec-core.c vfd = &dev_instance->vfd; vfd 2109 drivers/media/platform/vicodec/vicodec-core.c vfd->lock = &dev_instance->mutex; vfd 2110 drivers/media/platform/vicodec/vicodec-core.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 2111 drivers/media/platform/vicodec/vicodec-core.c strscpy(vfd->name, name, sizeof(vfd->name)); vfd 2112 drivers/media/platform/vicodec/vicodec-core.c vfd->device_caps = V4L2_CAP_STREAMING | vfd 2115 drivers/media/platform/vicodec/vicodec-core.c v4l2_disable_ioctl(vfd, VIDIOC_DECODER_CMD); vfd 2116 drivers/media/platform/vicodec/vicodec-core.c v4l2_disable_ioctl(vfd, VIDIOC_TRY_DECODER_CMD); vfd 2118 drivers/media/platform/vicodec/vicodec-core.c v4l2_disable_ioctl(vfd, VIDIOC_ENCODER_CMD); vfd 2119 drivers/media/platform/vicodec/vicodec-core.c v4l2_disable_ioctl(vfd, VIDIOC_TRY_ENCODER_CMD); vfd 2121 drivers/media/platform/vicodec/vicodec-core.c video_set_drvdata(vfd, dev); vfd 2123 drivers/media/platform/vicodec/vicodec-core.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); vfd 2130 drivers/media/platform/vicodec/vicodec-core.c name, vfd->num); vfd 2189 drivers/media/platform/vicodec/vicodec-core.c &dev->stateful_enc.vfd, vfd 2197 drivers/media/platform/vicodec/vicodec-core.c &dev->stateful_dec.vfd, vfd 2205 drivers/media/platform/vicodec/vicodec-core.c &dev->stateless_dec.vfd, vfd 2228 drivers/media/platform/vicodec/vicodec-core.c video_unregister_device(&dev->stateless_dec.vfd); vfd 2232 drivers/media/platform/vicodec/vicodec-core.c video_unregister_device(&dev->stateful_dec.vfd); vfd 2235 drivers/media/platform/vicodec/vicodec-core.c video_unregister_device(&dev->stateful_enc.vfd); vfd 2258 drivers/media/platform/vicodec/vicodec-core.c video_unregister_device(&dev->stateful_enc.vfd); vfd 2259 drivers/media/platform/vicodec/vicodec-core.c video_unregister_device(&dev->stateful_dec.vfd); vfd 2260 drivers/media/platform/vicodec/vicodec-core.c video_unregister_device(&dev->stateless_dec.vfd); vfd 192 drivers/media/platform/vim2m.c struct video_device vfd; vfd 1274 drivers/media/platform/vim2m.c struct vim2m_dev *dev = container_of(vdev, struct vim2m_dev, vfd); vfd 1317 drivers/media/platform/vim2m.c struct video_device *vfd; vfd 1331 drivers/media/platform/vim2m.c dev->vfd = vim2m_videodev; vfd 1332 drivers/media/platform/vim2m.c vfd = &dev->vfd; vfd 1333 drivers/media/platform/vim2m.c vfd->lock = &dev->dev_mutex; vfd 1334 drivers/media/platform/vim2m.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1336 drivers/media/platform/vim2m.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); vfd 1342 drivers/media/platform/vim2m.c video_set_drvdata(vfd, dev); vfd 1344 drivers/media/platform/vim2m.c "Device registered as /dev/video%d\n", vfd->num); vfd 1365 drivers/media/platform/vim2m.c ret = v4l2_m2m_register_media_controller(dev->m2m_dev, vfd, vfd 1385 drivers/media/platform/vim2m.c video_unregister_device(&dev->vfd); vfd 1406 drivers/media/platform/vim2m.c video_unregister_device(&dev->vfd); vfd 666 drivers/media/platform/vivid/vivid-core.c struct video_device *vfd; vfd 1274 drivers/media/platform/vivid/vivid-core.c vfd = &dev->vid_cap_dev; vfd 1275 drivers/media/platform/vivid/vivid-core.c vfd->fops = &vivid_fops; vfd 1276 drivers/media/platform/vivid/vivid-core.c vfd->ioctl_ops = &vivid_ioctl_ops; vfd 1277 drivers/media/platform/vivid/vivid-core.c vfd->device_caps = dev->vid_cap_caps; vfd 1278 drivers/media/platform/vivid/vivid-core.c vfd->release = video_device_release_empty; vfd 1279 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1280 drivers/media/platform/vivid/vivid-core.c vfd->queue = &dev->vb_vid_cap_q; vfd 1281 drivers/media/platform/vivid/vivid-core.c vfd->tvnorms = tvnorms_cap; vfd 1287 drivers/media/platform/vivid/vivid-core.c vfd->lock = &dev->mutex; vfd 1288 drivers/media/platform/vivid/vivid-core.c video_set_drvdata(vfd, dev); vfd 1292 drivers/media/platform/vivid/vivid-core.c ret = media_entity_pads_init(&vfd->entity, 1, &dev->vid_cap_pad); vfd 1311 drivers/media/platform/vivid/vivid-core.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, vid_cap_nr[inst]); vfd 1315 drivers/media/platform/vivid/vivid-core.c video_device_node_name(vfd)); vfd 1319 drivers/media/platform/vivid/vivid-core.c vfd = &dev->vid_out_dev; vfd 1320 drivers/media/platform/vivid/vivid-core.c vfd->vfl_dir = VFL_DIR_TX; vfd 1321 drivers/media/platform/vivid/vivid-core.c vfd->fops = &vivid_fops; vfd 1322 drivers/media/platform/vivid/vivid-core.c vfd->ioctl_ops = &vivid_ioctl_ops; vfd 1323 drivers/media/platform/vivid/vivid-core.c vfd->device_caps = dev->vid_out_caps; vfd 1324 drivers/media/platform/vivid/vivid-core.c vfd->release = video_device_release_empty; vfd 1325 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1326 drivers/media/platform/vivid/vivid-core.c vfd->queue = &dev->vb_vid_out_q; vfd 1327 drivers/media/platform/vivid/vivid-core.c vfd->tvnorms = tvnorms_out; vfd 1333 drivers/media/platform/vivid/vivid-core.c vfd->lock = &dev->mutex; vfd 1334 drivers/media/platform/vivid/vivid-core.c video_set_drvdata(vfd, dev); vfd 1338 drivers/media/platform/vivid/vivid-core.c ret = media_entity_pads_init(&vfd->entity, 1, &dev->vid_out_pad); vfd 1362 drivers/media/platform/vivid/vivid-core.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, vid_out_nr[inst]); vfd 1366 drivers/media/platform/vivid/vivid-core.c video_device_node_name(vfd)); vfd 1370 drivers/media/platform/vivid/vivid-core.c vfd = &dev->vbi_cap_dev; vfd 1371 drivers/media/platform/vivid/vivid-core.c snprintf(vfd->name, sizeof(vfd->name), vfd 1373 drivers/media/platform/vivid/vivid-core.c vfd->fops = &vivid_fops; vfd 1374 drivers/media/platform/vivid/vivid-core.c vfd->ioctl_ops = &vivid_ioctl_ops; vfd 1375 drivers/media/platform/vivid/vivid-core.c vfd->device_caps = dev->vbi_cap_caps; vfd 1376 drivers/media/platform/vivid/vivid-core.c vfd->release = video_device_release_empty; vfd 1377 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1378 drivers/media/platform/vivid/vivid-core.c vfd->queue = &dev->vb_vbi_cap_q; vfd 1379 drivers/media/platform/vivid/vivid-core.c vfd->lock = &dev->mutex; vfd 1380 drivers/media/platform/vivid/vivid-core.c vfd->tvnorms = tvnorms_cap; vfd 1381 drivers/media/platform/vivid/vivid-core.c video_set_drvdata(vfd, dev); vfd 1385 drivers/media/platform/vivid/vivid-core.c ret = media_entity_pads_init(&vfd->entity, 1, &dev->vbi_cap_pad); vfd 1390 drivers/media/platform/vivid/vivid-core.c ret = video_register_device(vfd, VFL_TYPE_VBI, vbi_cap_nr[inst]); vfd 1394 drivers/media/platform/vivid/vivid-core.c video_device_node_name(vfd), vfd 1401 drivers/media/platform/vivid/vivid-core.c vfd = &dev->vbi_out_dev; vfd 1402 drivers/media/platform/vivid/vivid-core.c snprintf(vfd->name, sizeof(vfd->name), vfd 1404 drivers/media/platform/vivid/vivid-core.c vfd->vfl_dir = VFL_DIR_TX; vfd 1405 drivers/media/platform/vivid/vivid-core.c vfd->fops = &vivid_fops; vfd 1406 drivers/media/platform/vivid/vivid-core.c vfd->ioctl_ops = &vivid_ioctl_ops; vfd 1407 drivers/media/platform/vivid/vivid-core.c vfd->device_caps = dev->vbi_out_caps; vfd 1408 drivers/media/platform/vivid/vivid-core.c vfd->release = video_device_release_empty; vfd 1409 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1410 drivers/media/platform/vivid/vivid-core.c vfd->queue = &dev->vb_vbi_out_q; vfd 1411 drivers/media/platform/vivid/vivid-core.c vfd->lock = &dev->mutex; vfd 1412 drivers/media/platform/vivid/vivid-core.c vfd->tvnorms = tvnorms_out; vfd 1413 drivers/media/platform/vivid/vivid-core.c video_set_drvdata(vfd, dev); vfd 1417 drivers/media/platform/vivid/vivid-core.c ret = media_entity_pads_init(&vfd->entity, 1, &dev->vbi_out_pad); vfd 1422 drivers/media/platform/vivid/vivid-core.c ret = video_register_device(vfd, VFL_TYPE_VBI, vbi_out_nr[inst]); vfd 1426 drivers/media/platform/vivid/vivid-core.c video_device_node_name(vfd), vfd 1433 drivers/media/platform/vivid/vivid-core.c vfd = &dev->sdr_cap_dev; vfd 1434 drivers/media/platform/vivid/vivid-core.c snprintf(vfd->name, sizeof(vfd->name), vfd 1436 drivers/media/platform/vivid/vivid-core.c vfd->fops = &vivid_fops; vfd 1437 drivers/media/platform/vivid/vivid-core.c vfd->ioctl_ops = &vivid_ioctl_ops; vfd 1438 drivers/media/platform/vivid/vivid-core.c vfd->device_caps = dev->sdr_cap_caps; vfd 1439 drivers/media/platform/vivid/vivid-core.c vfd->release = video_device_release_empty; vfd 1440 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1441 drivers/media/platform/vivid/vivid-core.c vfd->queue = &dev->vb_sdr_cap_q; vfd 1442 drivers/media/platform/vivid/vivid-core.c vfd->lock = &dev->mutex; vfd 1443 drivers/media/platform/vivid/vivid-core.c video_set_drvdata(vfd, dev); vfd 1447 drivers/media/platform/vivid/vivid-core.c ret = media_entity_pads_init(&vfd->entity, 1, &dev->sdr_cap_pad); vfd 1452 drivers/media/platform/vivid/vivid-core.c ret = video_register_device(vfd, VFL_TYPE_SDR, sdr_cap_nr[inst]); vfd 1456 drivers/media/platform/vivid/vivid-core.c video_device_node_name(vfd)); vfd 1460 drivers/media/platform/vivid/vivid-core.c vfd = &dev->radio_rx_dev; vfd 1461 drivers/media/platform/vivid/vivid-core.c snprintf(vfd->name, sizeof(vfd->name), vfd 1463 drivers/media/platform/vivid/vivid-core.c vfd->fops = &vivid_radio_fops; vfd 1464 drivers/media/platform/vivid/vivid-core.c vfd->ioctl_ops = &vivid_ioctl_ops; vfd 1465 drivers/media/platform/vivid/vivid-core.c vfd->device_caps = dev->radio_rx_caps; vfd 1466 drivers/media/platform/vivid/vivid-core.c vfd->release = video_device_release_empty; vfd 1467 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1468 drivers/media/platform/vivid/vivid-core.c vfd->lock = &dev->mutex; vfd 1469 drivers/media/platform/vivid/vivid-core.c video_set_drvdata(vfd, dev); vfd 1471 drivers/media/platform/vivid/vivid-core.c ret = video_register_device(vfd, VFL_TYPE_RADIO, radio_rx_nr[inst]); vfd 1475 drivers/media/platform/vivid/vivid-core.c video_device_node_name(vfd)); vfd 1479 drivers/media/platform/vivid/vivid-core.c vfd = &dev->radio_tx_dev; vfd 1480 drivers/media/platform/vivid/vivid-core.c snprintf(vfd->name, sizeof(vfd->name), vfd 1482 drivers/media/platform/vivid/vivid-core.c vfd->vfl_dir = VFL_DIR_TX; vfd 1483 drivers/media/platform/vivid/vivid-core.c vfd->fops = &vivid_radio_fops; vfd 1484 drivers/media/platform/vivid/vivid-core.c vfd->ioctl_ops = &vivid_ioctl_ops; vfd 1485 drivers/media/platform/vivid/vivid-core.c vfd->device_caps = dev->radio_tx_caps; vfd 1486 drivers/media/platform/vivid/vivid-core.c vfd->release = video_device_release_empty; vfd 1487 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1488 drivers/media/platform/vivid/vivid-core.c vfd->lock = &dev->mutex; vfd 1489 drivers/media/platform/vivid/vivid-core.c video_set_drvdata(vfd, dev); vfd 1491 drivers/media/platform/vivid/vivid-core.c ret = video_register_device(vfd, VFL_TYPE_RADIO, radio_tx_nr[inst]); vfd 1495 drivers/media/platform/vivid/vivid-core.c video_device_node_name(vfd)); vfd 1421 drivers/media/usb/au0828/au0828-video.c struct video_device *vfd = video_devdata(file); vfd 1440 drivers/media/usb/au0828/au0828-video.c v4l_disable_media_source(vfd); vfd 1441 drivers/media/usb/au0828/au0828-video.c return v4l_enable_media_source(vfd); vfd 1492 drivers/media/usb/au0828/au0828-video.c struct video_device *vfd = video_devdata(file); vfd 1498 drivers/media/usb/au0828/au0828-video.c ret = v4l_enable_media_source(vfd); vfd 1956 drivers/media/usb/cx231xx/cx231xx-417.c struct video_device *vfd, vfd 1961 drivers/media/usb/cx231xx/cx231xx-417.c *vfd = *template; vfd 1962 drivers/media/usb/cx231xx/cx231xx-417.c snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", dev->name, vfd 1965 drivers/media/usb/cx231xx/cx231xx-417.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1966 drivers/media/usb/cx231xx/cx231xx-417.c vfd->lock = &dev->lock; vfd 1967 drivers/media/usb/cx231xx/cx231xx-417.c vfd->release = video_device_release_empty; vfd 1968 drivers/media/usb/cx231xx/cx231xx-417.c vfd->ctrl_handler = &dev->mpeg_ctrl_handler.hdl; vfd 1969 drivers/media/usb/cx231xx/cx231xx-417.c video_set_drvdata(vfd, dev); vfd 1971 drivers/media/usb/cx231xx/cx231xx-417.c v4l2_disable_ioctl(vfd, VIDIOC_G_FREQUENCY); vfd 1972 drivers/media/usb/cx231xx/cx231xx-417.c v4l2_disable_ioctl(vfd, VIDIOC_S_FREQUENCY); vfd 1973 drivers/media/usb/cx231xx/cx231xx-417.c v4l2_disable_ioctl(vfd, VIDIOC_G_TUNER); vfd 1974 drivers/media/usb/cx231xx/cx231xx-417.c v4l2_disable_ioctl(vfd, VIDIOC_S_TUNER); vfd 2156 drivers/media/usb/cx231xx/cx231xx-video.c struct video_device *vfd, vfd 2160 drivers/media/usb/cx231xx/cx231xx-video.c *vfd = *template; vfd 2161 drivers/media/usb/cx231xx/cx231xx-video.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 2162 drivers/media/usb/cx231xx/cx231xx-video.c vfd->release = video_device_release_empty; vfd 2163 drivers/media/usb/cx231xx/cx231xx-video.c vfd->lock = &dev->lock; vfd 2165 drivers/media/usb/cx231xx/cx231xx-video.c snprintf(vfd->name, sizeof(vfd->name), "%s %s", dev->name, type_name); vfd 2167 drivers/media/usb/cx231xx/cx231xx-video.c video_set_drvdata(vfd, dev); vfd 2169 drivers/media/usb/cx231xx/cx231xx-video.c v4l2_disable_ioctl(vfd, VIDIOC_G_FREQUENCY); vfd 2170 drivers/media/usb/cx231xx/cx231xx-video.c v4l2_disable_ioctl(vfd, VIDIOC_S_FREQUENCY); vfd 2171 drivers/media/usb/cx231xx/cx231xx-video.c v4l2_disable_ioctl(vfd, VIDIOC_G_TUNER); vfd 2172 drivers/media/usb/cx231xx/cx231xx-video.c v4l2_disable_ioctl(vfd, VIDIOC_S_TUNER); vfd 2443 drivers/media/usb/em28xx/em28xx-video.c struct video_device *vfd, vfd 2447 drivers/media/usb/em28xx/em28xx-video.c *vfd = *template; vfd 2448 drivers/media/usb/em28xx/em28xx-video.c vfd->v4l2_dev = &dev->v4l2->v4l2_dev; vfd 2449 drivers/media/usb/em28xx/em28xx-video.c vfd->lock = &dev->lock; vfd 2451 drivers/media/usb/em28xx/em28xx-video.c vfd->tvnorms = 0; vfd 2453 drivers/media/usb/em28xx/em28xx-video.c snprintf(vfd->name, sizeof(vfd->name), "%s %s", vfd 2456 drivers/media/usb/em28xx/em28xx-video.c video_set_drvdata(vfd, dev); vfd 1588 drivers/media/usb/tm6000/tm6000-video.c struct video_device *vfd, vfd 1592 drivers/media/usb/tm6000/tm6000-video.c *vfd = *template; vfd 1593 drivers/media/usb/tm6000/tm6000-video.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1594 drivers/media/usb/tm6000/tm6000-video.c vfd->release = video_device_release_empty; vfd 1595 drivers/media/usb/tm6000/tm6000-video.c vfd->lock = &dev->lock; vfd 1597 drivers/media/usb/tm6000/tm6000-video.c snprintf(vfd->name, sizeof(vfd->name), "%s %s", dev->name, type_name); vfd 1599 drivers/media/usb/tm6000/tm6000-video.c video_set_drvdata(vfd, dev); vfd 1630 drivers/media/usb/tm6000/tm6000-video.c vdev_init(dev, &dev->vfd, &tm6000_template, "video"); vfd 1632 drivers/media/usb/tm6000/tm6000-video.c dev->vfd.ctrl_handler = &dev->ctrl_handler; vfd 1633 drivers/media/usb/tm6000/tm6000-video.c dev->vfd.device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING | vfd 1636 drivers/media/usb/tm6000/tm6000-video.c dev->vfd.device_caps |= V4L2_CAP_TUNER; vfd 1642 drivers/media/usb/tm6000/tm6000-video.c ret = video_register_device(&dev->vfd, VFL_TYPE_GRABBER, video_nr); vfd 1651 drivers/media/usb/tm6000/tm6000-video.c dev->name, video_device_node_name(&dev->vfd)); vfd 1674 drivers/media/usb/tm6000/tm6000-video.c video_unregister_device(&dev->vfd); vfd 1683 drivers/media/usb/tm6000/tm6000-video.c video_unregister_device(&dev->vfd); vfd 210 drivers/media/usb/tm6000/tm6000.h struct video_device vfd; vfd 804 drivers/media/usb/usbvision/usbvision-video.c struct v4l2_fmtdesc *vfd) vfd 806 drivers/media/usb/usbvision/usbvision-video.c if (vfd->index >= USBVISION_SUPPORTED_PALETTES - 1) vfd 808 drivers/media/usb/usbvision/usbvision-video.c vfd->pixelformat = usbvision_v4l2_format[vfd->index].format; vfd 4385 drivers/media/v4l2-core/v4l2-ctrls.c struct video_device *vfd = video_devdata(file); vfd 4388 drivers/media/v4l2-core/v4l2-ctrls.c if (test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) && vfd->v4l2_dev) vfd 4390 drivers/media/v4l2-core/v4l2-ctrls.c vfd->v4l2_dev->name); vfd 38 drivers/media/v4l2-core/v4l2-ioctl.c #define is_valid_ioctl(vfd, cmd) test_bit(_IOC_NR(cmd), (vfd)->valid_ioctls) vfd 935 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 936 drivers/media/v4l2-core/v4l2-ioctl.c const struct v4l2_ioctl_ops *ops = vfd->ioctl_ops; vfd 937 drivers/media/v4l2-core/v4l2-ioctl.c bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; vfd 938 drivers/media/v4l2-core/v4l2-ioctl.c bool is_vbi = vfd->vfl_type == VFL_TYPE_VBI; vfd 939 drivers/media/v4l2-core/v4l2-ioctl.c bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; vfd 940 drivers/media/v4l2-core/v4l2-ioctl.c bool is_tch = vfd->vfl_type == VFL_TYPE_TOUCH; vfd 941 drivers/media/v4l2-core/v4l2-ioctl.c bool is_rx = vfd->vfl_dir != VFL_DIR_TX; vfd 942 drivers/media/v4l2-core/v4l2-ioctl.c bool is_tx = vfd->vfl_dir != VFL_DIR_RX; vfd 1051 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1055 drivers/media/v4l2-core/v4l2-ioctl.c cap->device_caps = vfd->device_caps; vfd 1056 drivers/media/v4l2-core/v4l2-ioctl.c cap->capabilities = vfd->device_caps | V4L2_CAP_DEVICE_CAPS; vfd 1064 drivers/media/v4l2-core/v4l2-ioctl.c WARN_ON(cap->device_caps != vfd->device_caps); vfd 1070 drivers/media/v4l2-core/v4l2-ioctl.c (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)) != vfd 1071 drivers/media/v4l2-core/v4l2-ioctl.c (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)); vfd 1081 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1084 drivers/media/v4l2-core/v4l2-ioctl.c ret = v4l_enable_media_source(vfd); vfd 1099 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd; vfd 1102 drivers/media/v4l2-core/v4l2-ioctl.c vfd = video_devdata(file); vfd 1103 drivers/media/v4l2-core/v4l2-ioctl.c *p = v4l2_prio_max(vfd->prio); vfd 1110 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd; vfd 1114 drivers/media/v4l2-core/v4l2-ioctl.c vfd = video_devdata(file); vfd 1115 drivers/media/v4l2-core/v4l2-ioctl.c if (!test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags)) vfd 1118 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_prio_change(vfd->prio, &vfh->prio, *p); vfd 1124 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1133 drivers/media/v4l2-core/v4l2-ioctl.c if (is_valid_ioctl(vfd, VIDIOC_S_STD)) vfd 1142 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1151 drivers/media/v4l2-core/v4l2-ioctl.c if (is_valid_ioctl(vfd, VIDIOC_S_STD)) vfd 1488 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1526 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->vfl_type == VFL_TYPE_TOUCH) vfd 1569 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1576 drivers/media/v4l2-core/v4l2-ioctl.c ret = v4l_enable_media_source(vfd); vfd 1589 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->vfl_type == VFL_TYPE_TOUCH) vfd 1674 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1691 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->vfl_type == VFL_TYPE_TOUCH) vfd 1787 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1791 drivers/media/v4l2-core/v4l2-ioctl.c p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ? vfd 1802 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1806 drivers/media/v4l2-core/v4l2-ioctl.c ret = v4l_enable_media_source(vfd); vfd 1809 drivers/media/v4l2-core/v4l2-ioctl.c p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ? vfd 1817 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1821 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->vfl_type == VFL_TYPE_RADIO) vfd 1833 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1836 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->vfl_type == VFL_TYPE_RADIO) vfd 1845 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1848 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->vfl_type == VFL_TYPE_SDR) vfd 1851 drivers/media/v4l2-core/v4l2-ioctl.c p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ? vfd 1859 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1864 drivers/media/v4l2-core/v4l2-ioctl.c ret = v4l_enable_media_source(vfd); vfd 1867 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->vfl_type == VFL_TYPE_SDR) { vfd 1871 drivers/media/v4l2-core/v4l2-ioctl.c type = (vfd->vfl_type == VFL_TYPE_RADIO) ? vfd 1882 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1885 drivers/media/v4l2-core/v4l2-ioctl.c return v4l_video_std_enumstd(p, vfd->tvnorms); vfd 1891 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1895 drivers/media/v4l2-core/v4l2-ioctl.c ret = v4l_enable_media_source(vfd); vfd 1898 drivers/media/v4l2-core/v4l2-ioctl.c norm = id & vfd->tvnorms; vfd 1899 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->tvnorms && !norm) /* Check if std is supported */ vfd 1909 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1913 drivers/media/v4l2-core/v4l2-ioctl.c ret = v4l_enable_media_source(vfd); vfd 1924 drivers/media/v4l2-core/v4l2-ioctl.c *p = vfd->tvnorms; vfd 1931 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 1936 drivers/media/v4l2-core/v4l2-ioctl.c ret = v4l_enable_media_source(vfd); vfd 1940 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->vfl_type == VFL_TYPE_SDR) vfd 1943 drivers/media/v4l2-core/v4l2-ioctl.c type = (vfd->vfl_type == VFL_TYPE_RADIO) ? vfd 2076 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2079 drivers/media/v4l2-core/v4l2-ioctl.c test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) ? fh : NULL; vfd 2083 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->ctrl_handler) vfd 2084 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_queryctrl(vfd->ctrl_handler, p); vfd 2093 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2096 drivers/media/v4l2-core/v4l2-ioctl.c test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) ? fh : NULL; vfd 2100 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->ctrl_handler) vfd 2101 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_query_ext_ctrl(vfd->ctrl_handler, p); vfd 2110 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2113 drivers/media/v4l2-core/v4l2-ioctl.c test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) ? fh : NULL; vfd 2117 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->ctrl_handler) vfd 2118 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_querymenu(vfd->ctrl_handler, p); vfd 2127 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2130 drivers/media/v4l2-core/v4l2-ioctl.c test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) ? fh : NULL; vfd 2136 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->ctrl_handler) vfd 2137 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_g_ctrl(vfd->ctrl_handler, p); vfd 2161 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2164 drivers/media/v4l2-core/v4l2-ioctl.c test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) ? fh : NULL; vfd 2170 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->ctrl_handler) vfd 2171 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_s_ctrl(NULL, vfd->ctrl_handler, p); vfd 2190 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2193 drivers/media/v4l2-core/v4l2-ioctl.c test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) ? fh : NULL; vfd 2198 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); vfd 2199 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->ctrl_handler) vfd 2200 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_g_ext_ctrls(vfd->ctrl_handler, vfd 2201 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); vfd 2211 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2214 drivers/media/v4l2-core/v4l2-ioctl.c test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) ? fh : NULL; vfd 2219 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); vfd 2220 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->ctrl_handler) vfd 2221 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_s_ext_ctrls(NULL, vfd->ctrl_handler, vfd 2222 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); vfd 2232 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2235 drivers/media/v4l2-core/v4l2-ioctl.c test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) ? fh : NULL; vfd 2240 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); vfd 2241 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->ctrl_handler) vfd 2242 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_try_ext_ctrls(vfd->ctrl_handler, vfd 2243 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); vfd 2294 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2309 drivers/media/v4l2-core/v4l2-ioctl.c if (test_bit(V4L2_FL_QUIRK_INVERTED_CROP, &vfd->flags)) vfd 2324 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2339 drivers/media/v4l2-core/v4l2-ioctl.c if (test_bit(V4L2_FL_QUIRK_INVERTED_CROP, &vfd->flags)) vfd 2349 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2389 drivers/media/v4l2-core/v4l2-ioctl.c if (test_bit(V4L2_FL_QUIRK_INVERTED_CROP, &vfd->flags)) vfd 2415 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2418 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->v4l2_dev) vfd 2420 drivers/media/v4l2-core/v4l2-ioctl.c vfd->v4l2_dev->name); vfd 2422 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->v4l2_dev) vfd 2424 drivers/media/v4l2-core/v4l2-ioctl.c vfd->v4l2_dev->name); vfd 2433 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2440 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->v4l2_dev == NULL) vfd 2442 drivers/media/v4l2-core/v4l2-ioctl.c v4l2_device_for_each_subdev(sd, vfd->v4l2_dev) vfd 2461 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2468 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->v4l2_dev == NULL) vfd 2470 drivers/media/v4l2-core/v4l2-ioctl.c v4l2_device_for_each_subdev(sd, vfd->v4l2_dev) vfd 2488 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2499 drivers/media/v4l2-core/v4l2-ioctl.c strscpy(p->name, vfd->v4l2_dev->name, sizeof(p->name)); vfd 2507 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->v4l2_dev == NULL) vfd 2509 drivers/media/v4l2-core/v4l2-ioctl.c v4l2_device_for_each_subdev(sd, vfd->v4l2_dev) { vfd 2563 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2568 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->vfl_type == VFL_TYPE_SDR) { vfd 2573 drivers/media/v4l2-core/v4l2-ioctl.c type = (vfd->vfl_type == VFL_TYPE_RADIO) ? vfd 2583 drivers/media/v4l2-core/v4l2-ioctl.c if (is_valid_ioctl(vfd, VIDIOC_G_TUNER)) { vfd 2601 drivers/media/v4l2-core/v4l2-ioctl.c if (is_valid_ioctl(vfd, VIDIOC_G_MODULATOR)) { vfd 2844 drivers/media/v4l2-core/v4l2-ioctl.c struct video_device *vfd = video_devdata(file); vfd 2847 drivers/media/v4l2-core/v4l2-ioctl.c const struct v4l2_ioctl_ops *ops = vfd->ioctl_ops; vfd 2853 drivers/media/v4l2-core/v4l2-ioctl.c int dev_debug = vfd->dev_debug; vfd 2858 drivers/media/v4l2-core/v4l2-ioctl.c video_device_node_name(vfd)); vfd 2862 drivers/media/v4l2-core/v4l2-ioctl.c if (test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags)) vfd 2871 drivers/media/v4l2-core/v4l2-ioctl.c if (v4l2_device_supports_requests(vfd->v4l2_dev) && vfd 2873 drivers/media/v4l2-core/v4l2-ioctl.c req_queue_lock = &vfd->v4l2_dev->mdev->req_queue_mutex; vfd 2879 drivers/media/v4l2-core/v4l2-ioctl.c lock = v4l2_ioctl_get_lock(vfd, vfh, cmd, arg); vfd 2887 drivers/media/v4l2-core/v4l2-ioctl.c if (!video_is_registered(vfd)) { vfd 2895 drivers/media/v4l2-core/v4l2-ioctl.c if (!test_bit(_IOC_NR(cmd), vfd->valid_ioctls) && vfd 2900 drivers/media/v4l2-core/v4l2-ioctl.c ret = v4l2_prio_check(vfd->prio, vfh->prio); vfd 2918 drivers/media/v4l2-core/v4l2-ioctl.c vfh ? v4l2_prio_check(vfd->prio, vfh->prio) >= 0 : 0, vfd 2928 drivers/media/v4l2-core/v4l2-ioctl.c v4l_printk_ioctl(video_device_node_name(vfd), cmd); vfd 669 drivers/media/v4l2-core/v4l2-mem2mem.c struct video_device *vfd = video_devdata(file); vfd 676 drivers/media/v4l2-core/v4l2-mem2mem.c if (test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags)) { vfd 632 drivers/staging/media/hantro/hantro_drv.c struct video_device *vfd; vfd 644 drivers/staging/media/hantro/hantro_drv.c vfd = &func->vdev; vfd 645 drivers/staging/media/hantro/hantro_drv.c vfd->fops = &hantro_fops; vfd 646 drivers/staging/media/hantro/hantro_drv.c vfd->release = video_device_release_empty; vfd 647 drivers/staging/media/hantro/hantro_drv.c vfd->lock = &vpu->vpu_mutex; vfd 648 drivers/staging/media/hantro/hantro_drv.c vfd->v4l2_dev = &vpu->v4l2_dev; vfd 649 drivers/staging/media/hantro/hantro_drv.c vfd->vfl_dir = VFL_DIR_M2M; vfd 650 drivers/staging/media/hantro/hantro_drv.c vfd->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_M2M_MPLANE; vfd 651 drivers/staging/media/hantro/hantro_drv.c vfd->ioctl_ops = &hantro_ioctl_ops; vfd 652 drivers/staging/media/hantro/hantro_drv.c snprintf(vfd->name, sizeof(vfd->name), "%s-%s", match->compatible, vfd 660 drivers/staging/media/hantro/hantro_drv.c video_set_drvdata(vfd, vpu); vfd 662 drivers/staging/media/hantro/hantro_drv.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, -1); vfd 675 drivers/staging/media/hantro/hantro_drv.c v4l2_info(&vpu->v4l2_dev, "registered %s as /dev/video%d\n", vfd->name, vfd 676 drivers/staging/media/hantro/hantro_drv.c vfd->num); vfd 681 drivers/staging/media/hantro/hantro_drv.c video_unregister_device(vfd); vfd 636 drivers/staging/media/imx/imx-media-capture.c struct video_device *vfd = priv->vdev.vfd; vfd 646 drivers/staging/media/imx/imx-media-capture.c ret = v4l2_pipeline_pm_use(&vfd->entity, 1); vfd 657 drivers/staging/media/imx/imx-media-capture.c struct video_device *vfd = priv->vdev.vfd; vfd 667 drivers/staging/media/imx/imx-media-capture.c v4l2_pipeline_pm_use(&vfd->entity, 0); vfd 735 drivers/staging/media/imx/imx-media-capture.c struct video_device *vfd = vdev->vfd; vfd 743 drivers/staging/media/imx/imx-media-capture.c vfd->v4l2_dev = v4l2_dev; vfd 745 drivers/staging/media/imx/imx-media-capture.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, -1); vfd 771 drivers/staging/media/imx/imx-media-capture.c ret = media_entity_pads_init(&vfd->entity, 1, &priv->vdev_pad); vfd 779 drivers/staging/media/imx/imx-media-capture.c &vfd->entity, 0, 0); vfd 802 drivers/staging/media/imx/imx-media-capture.c v4l2_info(sd, "Registered %s as /dev/%s\n", vfd->name, vfd 803 drivers/staging/media/imx/imx-media-capture.c video_device_node_name(vfd)); vfd 805 drivers/staging/media/imx/imx-media-capture.c vfd->ctrl_handler = &priv->ctrl_hdlr; vfd 812 drivers/staging/media/imx/imx-media-capture.c video_unregister_device(vfd); vfd 820 drivers/staging/media/imx/imx-media-capture.c struct video_device *vfd = priv->vdev.vfd; vfd 824 drivers/staging/media/imx/imx-media-capture.c if (video_is_registered(vfd)) { vfd 825 drivers/staging/media/imx/imx-media-capture.c video_unregister_device(vfd); vfd 826 drivers/staging/media/imx/imx-media-capture.c media_entity_cleanup(&vfd->entity); vfd 838 drivers/staging/media/imx/imx-media-capture.c struct video_device *vfd; vfd 854 drivers/staging/media/imx/imx-media-capture.c vfd = video_device_alloc(); vfd 855 drivers/staging/media/imx/imx-media-capture.c if (!vfd) vfd 858 drivers/staging/media/imx/imx-media-capture.c *vfd = capture_videodev; vfd 859 drivers/staging/media/imx/imx-media-capture.c vfd->lock = &priv->mutex; vfd 860 drivers/staging/media/imx/imx-media-capture.c vfd->queue = &priv->q; vfd 861 drivers/staging/media/imx/imx-media-capture.c priv->vdev.vfd = vfd; vfd 865 drivers/staging/media/imx/imx-media-capture.c video_set_drvdata(vfd, priv); vfd 132 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, vfd 247 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, "%s: queue busy\n", vfd 517 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_warn(ctx->priv->vdev.vfd->v4l2_dev, "removing old ICC\n"); vfd 535 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, "%s: error %d\n", vfd 847 drivers/staging/media/imx/imx-media-csc-scaler.c struct video_device *vfd = vdev->vfd; vfd 850 drivers/staging/media/imx/imx-media-csc-scaler.c vfd->v4l2_dev = &priv->md->v4l2_dev; vfd 852 drivers/staging/media/imx/imx-media-csc-scaler.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, -1); vfd 854 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_err(vfd->v4l2_dev, "Failed to register video device\n"); vfd 858 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_info(vfd->v4l2_dev, "Registered %s as /dev/%s\n", vfd->name, vfd 859 drivers/staging/media/imx/imx-media-csc-scaler.c video_device_node_name(vfd)); vfd 867 drivers/staging/media/imx/imx-media-csc-scaler.c struct video_device *vfd = priv->vdev.vfd; vfd 871 drivers/staging/media/imx/imx-media-csc-scaler.c video_unregister_device(vfd); vfd 880 drivers/staging/media/imx/imx-media-csc-scaler.c struct video_device *vfd; vfd 892 drivers/staging/media/imx/imx-media-csc-scaler.c vfd = video_device_alloc(); vfd 893 drivers/staging/media/imx/imx-media-csc-scaler.c if (!vfd) { vfd 898 drivers/staging/media/imx/imx-media-csc-scaler.c *vfd = ipu_csc_scaler_videodev_template; vfd 899 drivers/staging/media/imx/imx-media-csc-scaler.c vfd->lock = &priv->mutex; vfd 900 drivers/staging/media/imx/imx-media-csc-scaler.c priv->vdev.vfd = vfd; vfd 904 drivers/staging/media/imx/imx-media-csc-scaler.c video_set_drvdata(vfd, priv); vfd 917 drivers/staging/media/imx/imx-media-csc-scaler.c video_set_drvdata(vfd, NULL); vfd 109 drivers/staging/media/imx/imx-media-dev-common.c vdev->vfd->entity.name, entity->name, srcpad->index); vfd 181 drivers/staging/media/imx/imx-media-dev-common.c link = list_first_entry(&vdev->vfd->entity.links, vfd 222 drivers/staging/media/imx/imx-media-dev-common.c struct video_device *vfd, vfd 232 drivers/staging/media/imx/imx-media-dev-common.c vfd->entity.name, sd->entity.name); vfd 234 drivers/staging/media/imx/imx-media-dev-common.c ret = v4l2_ctrl_add_handler(vfd->ctrl_handler, vfd 252 drivers/staging/media/imx/imx-media-dev-common.c ret = imx_media_inherit_controls(imxmd, vfd, pad->entity); vfd 268 drivers/staging/media/imx/imx-media-dev-common.c struct video_device *vfd; vfd 299 drivers/staging/media/imx/imx-media-dev-common.c vfd = pad_vdev->vdev->vfd; vfd 302 drivers/staging/media/imx/imx-media-dev-common.c vfd->entity.name); vfd 303 drivers/staging/media/imx/imx-media-dev-common.c v4l2_ctrl_handler_free(vfd->ctrl_handler); vfd 304 drivers/staging/media/imx/imx-media-dev-common.c v4l2_ctrl_handler_init(vfd->ctrl_handler, 0); vfd 309 drivers/staging/media/imx/imx-media-dev-common.c vfd = pad_vdev->vdev->vfd; vfd 312 drivers/staging/media/imx/imx-media-dev-common.c vfd->entity.name); vfd 313 drivers/staging/media/imx/imx-media-dev-common.c ret = imx_media_inherit_controls(imxmd, vfd, vfd 314 drivers/staging/media/imx/imx-media-dev-common.c &vfd->entity); vfd 341 drivers/staging/media/imx/imx-media-dev-common.c v4l2_event_queue(pad_vdev->vdev->vfd, arg); vfd 785 drivers/staging/media/imx/imx-media-utils.c struct video_device *vfd; vfd 811 drivers/staging/media/imx/imx-media-utils.c vfd = media_entity_to_video_device(pad->entity); vfd 812 drivers/staging/media/imx/imx-media-utils.c if (buftype == vfd->queue->type) vfd 836 drivers/staging/media/imx/imx-media-utils.c struct video_device *vfd; vfd 844 drivers/staging/media/imx/imx-media-utils.c vfd = media_entity_to_video_device(start); vfd 845 drivers/staging/media/imx/imx-media-utils.c if (buftype == vfd->queue->type) vfd 846 drivers/staging/media/imx/imx-media-utils.c return &vfd->entity; vfd 88 drivers/staging/media/imx/imx-media.h struct video_device *vfd; vfd 314 drivers/staging/media/sunxi/cedrus/cedrus.c struct video_device *vfd; vfd 321 drivers/staging/media/sunxi/cedrus/cedrus.c dev->vfd = cedrus_video_device; vfd 342 drivers/staging/media/sunxi/cedrus/cedrus.c vfd = &dev->vfd; vfd 343 drivers/staging/media/sunxi/cedrus/cedrus.c vfd->lock = &dev->dev_mutex; vfd 344 drivers/staging/media/sunxi/cedrus/cedrus.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 346 drivers/staging/media/sunxi/cedrus/cedrus.c snprintf(vfd->name, sizeof(vfd->name), "%s", cedrus_video_device.name); vfd 347 drivers/staging/media/sunxi/cedrus/cedrus.c video_set_drvdata(vfd, dev); vfd 367 drivers/staging/media/sunxi/cedrus/cedrus.c ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); vfd 374 drivers/staging/media/sunxi/cedrus/cedrus.c "Device registered as /dev/video%d\n", vfd->num); vfd 376 drivers/staging/media/sunxi/cedrus/cedrus.c ret = v4l2_m2m_register_media_controller(dev->m2m_dev, vfd, vfd 397 drivers/staging/media/sunxi/cedrus/cedrus.c video_unregister_device(&dev->vfd); vfd 417 drivers/staging/media/sunxi/cedrus/cedrus.c video_unregister_device(&dev->vfd); vfd 134 drivers/staging/media/sunxi/cedrus/cedrus.h struct video_device vfd; vfd 1760 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c struct video_device *vfd) vfd 1764 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c *vfd = vdev_template; vfd 1766 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c vfd->v4l2_dev = &dev->v4l2_dev; vfd 1768 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c vfd->lock = &dev->mutex; vfd 1770 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c vfd->queue = &dev->capture.vb_vidq; vfd 1773 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c video_set_drvdata(vfd, dev); vfd 1775 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c ret = video_register_device(vfd, vfd 1781 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_info(vfd->v4l2_dev, vfd 1783 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c video_device_node_name(vfd),