Searched refs:video_dev (Results 1 - 25 of 51) sorted by last modified time

123

/linux-master/drivers/media/pci/sta2x11/
H A Dsta2x11_vip.c88 * @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/cx23885/
H A Dcx23885-video.c1225 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/pci/bt8xx/
H A Dbttvp.h352 struct video_device video_dev; member in struct:bttv
H A Dbttv-driver.c2123 strscpy(cap->card, btv->video_dev.name, sizeof(cap->card));
3128 video_unregister_device(&btv->video_dev);
3137 vdev_init(btv, &btv->video_dev, &bttv_video_template, "video");
3138 btv->video_dev.device_caps = V4L2_CAP_VIDEO_CAPTURE |
3141 btv->video_dev.device_caps |= V4L2_CAP_TUNER;
3143 if (video_register_device(&btv->video_dev, VFL_TYPE_VIDEO,
3147 btv->c.nr, video_device_node_name(&btv->video_dev));
3148 if (device_create_file(&btv->video_dev.dev,
/linux-master/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_params.c392 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 = &params->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 = &params->video_dev; local
[all...]
H A Dsun6i_isp_capture.c320 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...]
/linux-master/drivers/staging/media/deprecated/atmel/
H A Datmel-isc-base.c1735 if (video_is_registered(&isc->video_dev)) {
1753 video_unregister_device(&isc->video_dev);
1846 struct video_device *vdev = &isc->video_dev;
H A Datmel-sama7g5-isc.c522 if (video_is_registered(&isc->video_dev))
H A Datmel-sama5d2-isc.c532 if (video_is_registered(&isc->video_dev))
H A Datmel-isc.h197 * @video_dev: registered video device
273 struct video_device video_dev; member in struct:isc_device
/linux-master/drivers/media/platform/ti/davinci/
H A Dvpif_display.c833 ch->video_dev.tvnorms = chan_cfg->outputs[index].output.std;
1184 vpif_dbg(1, debug, "channel=%p,channel->video_dev=%p\n",
1185 ch, &ch->video_dev);
1188 vdev = &ch->video_dev;
1198 video_set_drvdata(&ch->video_dev, ch);
1210 video_unregister_device(&ch->video_dev);
1322 video_unregister_device(&ch->video_dev);
H A Dvpif_capture.c739 ch->video_dev.tvnorms = chan_cfg->inputs[index].input.std;
1445 vdev = &ch->video_dev;
1455 video_set_drvdata(&ch->video_dev, ch);
1470 video_unregister_device(&ch->video_dev);
1733 video_unregister_device(&ch->video_dev);
/linux-master/drivers/media/platform/ti/am437x/
H A Dam437x-vpfe.c2170 vpfe->video_dev.tvnorms |= sdinfo->inputs[0].std;
2248 vdev = &vpfe->video_dev;
2260 err = video_register_device(&vpfe->video_dev, VFL_TYPE_VIDEO, -1);
2490 video_unregister_device(&vpfe->video_dev);
H A Dam437x-vpfe.h228 struct video_device video_dev; member in struct:vpfe_device
/linux-master/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_capture.c609 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...]
/linux-master/drivers/media/platform/microchip/
H A Dmicrochip-isc-base.c331 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...]
H A Dmicrochip-isc-scaler.c254 &isc->video_dev.entity, ISC_PAD_SINK,
261 isc->video_dev.entity.name);
H A Dmicrochip-sama5d2-isc.c552 if (video_is_registered(&isc->video_dev))
H A Dmicrochip-sama7g5-isc.c542 if (video_is_registered(&isc->video_dev))
H A Dmicrochip-isc.h209 * @video_dev: registered video device
291 struct video_device video_dev; member in struct:isc_device
/linux-master/drivers/media/pci/zoran/
H A Dzoran_driver.c824 vb2_queue_error(zr->video_dev->queue);
831 vb2_queue_error(zr->video_dev->queue);
979 zr->video_dev->queue = vq;
985 vb2_queue_release(zr->video_dev->queue);
H A Dzoran.h202 struct video_device *video_dev; member in struct:zoran
/linux-master/drivers/media/pci/cx88/
H A Dcx88-video.c1254 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));
/linux-master/drivers/media/pci/cx18/
H A Dcx18-streams.c298 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 Dcx18-driver.h369 struct video_device video_dev; /* v4l2_dev is NULL when stream not created */ member in struct:cx18_stream

Completed in 700 milliseconds

123