/linux-master/tools/testing/selftests/media_tests/ |
H A D | video_device_test.c | 120 char video_dev[256]; local 133 strncpy(video_dev, optarg, sizeof(video_dev) - 1); 134 video_dev[sizeof(video_dev)-1] = '\0'; 143 fd = open(video_dev, O_RDWR);
|
/linux-master/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_capture.c | 320 struct video_device *video_dev = &isp_dev->capture.video_dev; local 326 ret = video_device_pipeline_alloc_start(video_dev); 341 video_device_pipeline_stop(video_dev); 353 struct video_device *video_dev = &isp_dev->capture.video_dev; local 360 video_device_pipeline_stop(video_dev); 428 struct video_device *video_dev = &isp_dev->capture.video_dev; local 431 strscpy(capability->card, video_dev 539 struct video_device *video_dev = &isp_dev->capture.video_dev; local 570 struct video_device *video_dev = &isp_dev->capture.video_dev; local 596 struct video_device *video_dev = local 630 struct video_device *video_dev = &capture->video_dev; local 737 struct video_device *video_dev = &capture->video_dev; local [all...] |
H A D | sun6i_isp_params.c | 392 struct video_device *video_dev = &isp_dev->params.video_dev; local 395 strscpy(capability->card, video_dev->name, sizeof(capability->card)); 463 struct video_device *video_dev = ¶ms->video_dev; local 479 ret = media_entity_pads_init(&video_dev->entity, 1, pad); 512 strscpy(video_dev->name, SUN6I_ISP_PARAMS_NAME, 513 sizeof(video_dev->name)); 514 video_dev->device_caps = V4L2_CAP_META_OUTPUT | V4L2_CAP_STREAMING; 515 video_dev 563 struct video_device *video_dev = ¶ms->video_dev; local [all...] |
H A D | sun6i_isp_params.h | 29 struct video_device video_dev; member in struct:sun6i_isp_params
|
H A D | sun6i_isp_capture.h | 42 struct video_device video_dev; member in struct:sun6i_isp_capture
|
/linux-master/drivers/media/radio/ |
H A D | radio-timb.c | 25 struct video_device video_dev; member in struct:timbradio 108 strscpy(tr->video_dev.name, "Timberdale Radio", 109 sizeof(tr->video_dev.name)); 110 tr->video_dev.fops = &timbradio_fops; 111 tr->video_dev.ioctl_ops = &timbradio_ioctl_ops; 112 tr->video_dev.release = video_device_release_empty; 113 tr->video_dev.minor = -1; 114 tr->video_dev.lock = &tr->lock; 115 tr->video_dev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; 122 tr->video_dev [all...] |
/linux-master/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi_capture.c | 609 struct video_device *video_dev = &csi_dev->capture.video_dev; local 615 ret = video_device_pipeline_alloc_start(video_dev); 630 video_device_pipeline_stop(video_dev); 642 struct video_device *video_dev = &csi_dev->capture.video_dev; local 649 video_device_pipeline_stop(video_dev); 720 struct video_device *video_dev = &csi_dev->capture.video_dev; local 723 strscpy(capability->card, video_dev 889 struct video_device *video_dev = local 976 struct video_device *video_dev = &capture->video_dev; local 1091 struct video_device *video_dev = &capture->video_dev; local [all...] |
H A D | sun6i_csi_capture.h | 54 struct video_device video_dev; member in struct:sun6i_csi_capture
|
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-streams.h | 22 return s->video_dev.v4l2_dev ||
|
H A D | cx18-streams.c | 298 s->video_dev.queue = &s->vidq; 313 * For analog capture related streams, if video_dev.v4l2_dev == NULL then the 318 s->video_dev.v4l2_dev = NULL; 364 snprintf(s->video_dev.name, sizeof(s->video_dev.name), "%s %s", 367 s->video_dev.num = num; 368 s->video_dev.v4l2_dev = &cx->v4l2_dev; 370 s->video_dev.fops = &cx18_v4l2_enc_yuv_fops; 372 s->video_dev.fops = &cx18_v4l2_enc_fops; 373 s->video_dev [all...] |
H A D | cx18-alsa-main.c | 197 if (s->video_dev.v4l2_dev == NULL) {
|
/linux-master/drivers/media/platform/ti/davinci/ |
H A D | vpif_display.h | 93 struct video_device video_dev; /* Identifies video device for member in struct:channel_obj
|
H A D | vpif_capture.h | 80 struct video_device video_dev; member in struct:channel_obj
|
/linux-master/drivers/media/pci/zoran/ |
H A D | zoran_card.c | 868 static int zoran_init_video_device(struct zoran *zr, struct video_device *video_dev, int dir) argument 873 *video_dev = zoran_template; 874 video_dev->v4l2_dev = &zr->v4l2_dev; 875 video_dev->lock = &zr->lock; 876 video_dev->device_caps = V4L2_CAP_STREAMING | dir; 878 strscpy(video_dev->name, ZR_DEVNAME(zr), sizeof(video_dev->name)); 879 video_dev->vfl_dir = VFL_DIR_RX; 882 err = video_register_device(video_dev, VFL_TYPE_VIDEO, video_nr[zr->id]); 885 video_set_drvdata(video_dev, z [all...] |
/linux-master/drivers/media/pci/sta2x11/ |
H A D | sta2x11_vip.c | 88 * @video_dev: properties of our device 115 struct video_device video_dev; member in struct:sta2x11_vip 1065 vip->video_dev = video_dev_template; 1066 vip->video_dev.v4l2_dev = &vip->v4l2_dev; 1067 vip->video_dev.queue = &vip->vb_vidq; 1068 vip->video_dev.lock = &vip->v4l_lock; 1069 video_set_drvdata(&vip->video_dev, vip); 1071 ret = video_register_device(&vip->video_dev, VFL_TYPE_VIDEO, -1); 1101 video_set_drvdata(&vip->video_dev, NULL); 1103 vb2_video_unregister_device(&vip->video_dev); [all...] |
/linux-master/drivers/media/pci/saa7134/ |
H A D | saa7134-core.c | 849 ret = media_entity_pads_init(&dev->video_dev->entity, 1, 954 if (dev->video_dev) { 955 if (video_is_registered(dev->video_dev)) 956 vb2_video_unregister_device(dev->video_dev); 958 video_device_release(dev->video_dev); 959 dev->video_dev = NULL; 1178 dev->video_dev = vdev_init(dev,&saa7134_video_template,"video"); 1179 dev->video_dev->ctrl_handler = &dev->ctrl_handler; 1180 dev->video_dev->lock = &dev->lock; 1181 dev->video_dev [all...] |
/linux-master/drivers/media/pci/cx23885/ |
H A D | cx23885-video.c | 1225 if (dev->video_dev) { 1226 if (video_is_registered(dev->video_dev)) 1227 video_unregister_device(dev->video_dev); 1229 video_device_release(dev->video_dev); 1230 dev->video_dev = NULL; 1355 dev->video_dev = cx23885_vdev_init(dev, dev->pci, 1357 if (!dev->video_dev) { 1361 dev->video_dev->queue = &dev->vb2_vidq; 1362 dev->video_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | 1369 dev->video_dev [all...] |
/linux-master/drivers/media/platform/microchip/ |
H A D | microchip-isc-scaler.c | 254 &isc->video_dev.entity, ISC_PAD_SINK, 261 isc->video_dev.entity.name);
|
H A D | microchip-isc-base.c | 331 return media_pipeline_start(isc->video_dev.entity.pads, &isc->mpipe); 404 media_pipeline_stop(isc->video_dev.entity.pads); 1680 if (video_is_registered(&isc->video_dev)) { 1707 video_unregister_device(&isc->video_dev); 1755 struct video_device *vdev = &isc->video_dev; 1932 isc->video_dev.entity.function = MEDIA_ENT_F_IO_V4L; 1933 isc->video_dev.entity.flags = MEDIA_ENT_FL_DEFAULT; 1934 isc->video_dev.entity.ops = &isc_entity_operations; 1938 ret = media_entity_pads_init(&isc->video_dev.entity, ISC_PADS_NUM, 1965 media_entity_cleanup(&isc->video_dev [all...] |
/linux-master/drivers/media/usb/hdpvr/ |
H A D | hdpvr-core.c | 391 video_device_node_name(&dev->video_dev)); 416 video_device_node_name(&dev->video_dev)); 432 video_unregister_device(&dev->video_dev);
|
H A D | hdpvr.h | 65 struct video_device video_dev; member in struct:hdpvr_device
|
/linux-master/drivers/media/pci/saa7146/ |
H A D | hexium_orion.c | 56 struct video_device video_dev; member in struct:hexium 372 if (0 != saa7146_register_device(&hexium->video_dev, dev, "hexium orion", VFL_TYPE_VIDEO)) { 394 saa7146_unregister_device(&hexium->video_dev, dev);
|
H A D | hexium_gemini.c | 59 struct video_device video_dev; member in struct:hexium 298 ret = saa7146_register_device(&hexium->video_dev, dev, "hexium gemini", VFL_TYPE_VIDEO); 319 saa7146_unregister_device(&hexium->video_dev, dev);
|
/linux-master/drivers/media/platform/ti/am437x/ |
H A D | am437x-vpfe.h | 228 struct video_device video_dev; member in struct:vpfe_device
|
/linux-master/drivers/media/pci/cx88/ |
H A D | cx88-video.c | 1254 video_unregister_device(&dev->video_dev); 1445 cx88_vdev_init(core, dev->pci, &dev->video_dev, 1447 video_set_drvdata(&dev->video_dev, dev); 1448 dev->video_dev.ctrl_handler = &core->video_hdl; 1449 dev->video_dev.queue = &dev->vb2_vidq; 1450 dev->video_dev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | 1453 dev->video_dev.device_caps |= V4L2_CAP_TUNER; 1454 err = video_register_device(&dev->video_dev, VFL_TYPE_VIDEO, 1461 video_device_node_name(&dev->video_dev));
|