Searched refs:video_dev (Results 1 - 25 of 40) sorted by relevance

12

/drivers/media/radio/
H A Dradio-timb.c35 struct video_device video_dev; member in struct:timbradio
169 strlcpy(tr->video_dev.name, "Timberdale Radio",
170 sizeof(tr->video_dev.name));
171 tr->video_dev.fops = &timbradio_fops;
172 tr->video_dev.ioctl_ops = &timbradio_ioctl_ops;
173 tr->video_dev.release = video_device_release_empty;
174 tr->video_dev.minor = -1;
175 tr->video_dev.lock = &tr->lock;
182 tr->video_dev.v4l2_dev = &tr->v4l2_dev;
184 err = video_register_device(&tr->video_dev, VFL_TYPE_RADI
[all...]
/drivers/media/video/cx18/
H A Dcx18-streams.c251 struct video_device *video_dev = s->video_dev; local
253 /* we need to keep video_dev, so restore it afterwards */
255 s->video_dev = video_dev;
315 * For analog capture related streams, if video_dev == NULL then the
320 s->video_dev = NULL;
364 s->video_dev = video_device_alloc();
365 if (s->video_dev == NULL) {
371 snprintf(s->video_dev
[all...]
H A Dcx18-streams.h36 return s->video_dev ||
H A Dcx18-alsa-main.c218 if (s->video_dev == NULL) {
H A Dcx18-fileops.c800 v4l2_fh_init(&item->fh, s->video_dev);
839 struct video_device *video_dev = video_devdata(filp); local
840 struct cx18_stream *s = video_get_drvdata(video_dev);
846 video_device_node_name(video_dev));
/drivers/media/video/davinci/
H A Dvpif_capture.h106 struct video_device *video_dev; member in struct:channel_obj
H A Dvpif_display.h118 struct video_device *video_dev; /* Identifies video device for member in struct:channel_obj
H A Dvpif_display.c1731 video_device_release(ch->video_dev);
1745 /* Set video_dev to the video device */
1746 ch->video_dev = vfd;
1783 ch->video_dev->lock = &common->lock;
1786 vpif_dbg(1, debug, "channel=%x,channel->video_dev=%x\n",
1787 (int)ch, (int)&ch->video_dev);
1789 err = video_register_device(ch->video_dev,
1794 video_set_drvdata(ch->video_dev, ch);
1832 video_unregister_device(ch->video_dev);
1833 video_device_release(ch->video_dev);
[all...]
H A Dvpfe_capture.c1930 /* Set video_dev to the video device */
1931 vpfe_dev->video_dev = vfd;
1953 "video_dev=%x\n", (int)&vpfe_dev->video_dev);
1955 ret = video_register_device(vpfe_dev->video_dev,
1968 video_set_drvdata(vpfe_dev->video_dev, vpfe_dev);
2019 video_unregister_device(vpfe_dev->video_dev);
2023 if (!video_is_registered(vpfe_dev->video_dev))
2024 video_device_release(vpfe_dev->video_dev);
2048 video_unregister_device(vpfe_dev->video_dev);
[all...]
H A Dvpif_capture.c1548 ch->video_dev->tvnorms = chan_cfg->inputs[index].input.std;
2208 video_device_release(ch->video_dev);
2221 /* Set video_dev to the video device */
2222 ch->video_dev = vfd;
2231 ch->video_dev->lock = &common->lock;
2234 err = video_register_device(ch->video_dev,
2239 video_set_drvdata(ch->video_dev, ch);
2288 video_unregister_device(ch->video_dev);
2327 video_unregister_device(ch->video_dev);
H A Dvpbe_display.c1098 layer->video_dev.current_norm = 0;
1614 vbd = &vpbe_display_layer->video_dev;
1657 "layer=%x,layer->video_dev=%x\n",
1659 (int)&vpbe_display_layer->video_dev);
1661 err = video_register_device(&vpbe_display_layer->video_dev,
1670 video_set_drvdata(&vpbe_display_layer->video_dev,
1765 &vpbe_display_layer->video_dev);
1799 video_unregister_device(&vpbe_display_layer->video_dev);
/drivers/media/video/hdpvr/
H A Dhdpvr-core.c73 if (dev->video_dev)
74 video_device_release(dev->video_dev);
416 video_device_node_name(dev->video_dev));
439 video_device_node_name(dev->video_dev));
455 video_unregister_device(dev->video_dev);
H A Dhdpvr-video.c526 if (!video_is_registered(dev->video_dev)) {
620 i->std = dev->video_dev->tvnorms;
1270 dev->video_dev = video_device_alloc();
1271 if (!dev->video_dev) {
1276 *(dev->video_dev) = hdpvr_video_template;
1277 strcpy(dev->video_dev->name, "Hauppauge HD PVR");
1278 dev->video_dev->parent = parent;
1279 video_set_drvdata(dev->video_dev, dev);
1281 if (video_register_device(dev->video_dev, VFL_TYPE_GRABBER, devnum)) {
H A Dhdpvr.h67 struct video_device *video_dev; member in struct:hdpvr_device
/drivers/media/video/
H A Dsaa7146.h61 struct video_device video_dev; member in struct:saa7146
H A Dhexium_orion.c66 struct video_device *video_dev; member in struct:hexium
377 if (0 != saa7146_register_device(&hexium->video_dev, dev, "hexium orion", VFL_TYPE_GRABBER)) {
398 saa7146_unregister_device(&hexium->video_dev, dev);
H A Dtimblogiw.c48 struct video_device video_dev; member in struct:timblogiw
819 lw->video_dev = timblogiw_template;
826 lw->video_dev.v4l2_dev = &lw->v4l2_dev;
829 video_set_drvdata(&lw->video_dev, lw);
831 err = video_register_device(&lw->video_dev, VFL_TYPE_GRABBER, 0);
855 video_unregister_device(&lw->video_dev);
H A Dhexium_gemini.c74 struct video_device *video_dev; member in struct:hexium
408 ret = saa7146_register_device(&hexium->video_dev, dev, "hexium gemini", VFL_TYPE_GRABBER);
426 saa7146_unregister_device(&hexium->video_dev, dev);
/drivers/staging/media/go7007/
H A Dgo7007-v4l2.c1798 go->video_dev = video_device_alloc();
1799 if (go->video_dev == NULL)
1801 *go->video_dev = go7007_template;
1802 go->video_dev->parent = go->dev;
1803 rv = video_register_device(go->video_dev, VFL_TYPE_GRABBER, -1);
1805 video_device_release(go->video_dev);
1806 go->video_dev = NULL;
1811 video_device_release(go->video_dev);
1812 go->video_dev = NULL;
1815 video_set_drvdata(go->video_dev, g
[all...]
H A Dgo7007-priv.h171 struct video_device *video_dev; member in struct:go7007
/drivers/media/video/zoran/
H A Dzoran_card.c1039 zr->video_dev = video_device_alloc();
1040 if (!zr->stat_com || !zr->video_dev) {
1055 memcpy(zr->video_dev, &zoran_template, sizeof(zoran_template));
1056 zr->video_dev->parent = &zr->pci_dev->dev;
1057 strcpy(zr->video_dev->name, ZR_DEVNAME(zr));
1058 err = video_register_device(zr->video_dev, VFL_TYPE_GRABBER, video_nr[zr->id]);
1061 video_set_drvdata(zr->video_dev, zr);
1078 kfree(zr->video_dev);
1116 video_unregister_device(zr->video_dev);
H A Dzoran.h269 struct video_device *video_dev; member in struct:zoran
/drivers/media/video/saa7134/
H A Dsaa7134-core.c814 if (dev->video_dev) {
815 if (video_is_registered(dev->video_dev))
816 video_unregister_device(dev->video_dev);
818 video_device_release(dev->video_dev);
819 dev->video_dev = NULL;
1050 dev->video_dev = vdev_init(dev,&saa7134_video_template,"video");
1051 err = video_register_device(dev->video_dev,VFL_TYPE_GRABBER,
1059 dev->name, video_device_node_name(dev->video_dev));
/drivers/media/video/cx23885/
H A Dcx23885-video.c1791 if (dev->video_dev) {
1792 if (video_is_registered(dev->video_dev))
1793 video_unregister_device(dev->video_dev);
1795 video_device_release(dev->video_dev);
1796 dev->video_dev = NULL;
1877 dev->video_dev = cx23885_vdev_init(dev, dev->pci,
1879 err = video_register_device(dev->video_dev, VFL_TYPE_GRABBER,
1887 dev->name, video_device_node_name(dev->video_dev));
/drivers/media/dvb/ttpci/
H A Dav7110.h247 struct dvb_device *video_dev; member in struct:av7110

Completed in 260 milliseconds

12