video_dev 2445 drivers/media/pci/bt8xx/bttv-driver.c strscpy(cap->card, btv->video_dev.name, sizeof(cap->card)); video_dev 3888 drivers/media/pci/bt8xx/bttv-driver.c video_unregister_device(&btv->video_dev); video_dev 3900 drivers/media/pci/bt8xx/bttv-driver.c vdev_init(btv, &btv->video_dev, &bttv_video_template, "video"); video_dev 3901 drivers/media/pci/bt8xx/bttv-driver.c btv->video_dev.device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_TUNER | video_dev 3904 drivers/media/pci/bt8xx/bttv-driver.c btv->video_dev.device_caps |= V4L2_CAP_TUNER; video_dev 3906 drivers/media/pci/bt8xx/bttv-driver.c btv->video_dev.device_caps |= V4L2_CAP_VIDEO_OVERLAY; video_dev 3908 drivers/media/pci/bt8xx/bttv-driver.c if (video_register_device(&btv->video_dev, VFL_TYPE_GRABBER, video_dev 3912 drivers/media/pci/bt8xx/bttv-driver.c btv->c.nr, video_device_node_name(&btv->video_dev)); video_dev 3913 drivers/media/pci/bt8xx/bttv-driver.c if (device_create_file(&btv->video_dev.dev, video_dev 395 drivers/media/pci/bt8xx/bttvp.h struct video_device video_dev; video_dev 204 drivers/media/pci/cx18/cx18-alsa-main.c if (s->video_dev.v4l2_dev == NULL) { video_dev 1246 drivers/media/pci/cx18/cx18-driver.c if (cx->streams[i].video_dev.v4l2_dev) video_dev 362 drivers/media/pci/cx18/cx18-driver.h struct video_device video_dev; /* v4l2_dev is NULL when stream not created */ video_dev 793 drivers/media/pci/cx18/cx18-fileops.c v4l2_fh_init(&item->fh, &s->video_dev); video_dev 832 drivers/media/pci/cx18/cx18-fileops.c struct video_device *video_dev = video_devdata(filp); video_dev 833 drivers/media/pci/cx18/cx18-fileops.c struct cx18_stream *s = video_get_drvdata(video_dev); video_dev 839 drivers/media/pci/cx18/cx18-fileops.c video_device_node_name(video_dev)); video_dev 518 drivers/media/pci/cx18/cx18-ioctl.c cx->streams[CX18_ENC_STREAM_TYPE_MPG].video_dev.tvnorms = std; video_dev 519 drivers/media/pci/cx18/cx18-ioctl.c cx->streams[CX18_ENC_STREAM_TYPE_YUV].video_dev.tvnorms = std; video_dev 520 drivers/media/pci/cx18/cx18-ioctl.c cx->streams[CX18_ENC_STREAM_TYPE_VBI].video_dev.tvnorms = std; video_dev 1030 drivers/media/pci/cx18/cx18-ioctl.c if (s->video_dev.v4l2_dev == NULL || s->buffers == 0) video_dev 310 drivers/media/pci/cx18/cx18-streams.c s->video_dev.v4l2_dev = NULL; video_dev 354 drivers/media/pci/cx18/cx18-streams.c snprintf(s->video_dev.name, sizeof(s->video_dev.name), "%s %s", video_dev 357 drivers/media/pci/cx18/cx18-streams.c s->video_dev.num = num; video_dev 358 drivers/media/pci/cx18/cx18-streams.c s->video_dev.v4l2_dev = &cx->v4l2_dev; video_dev 359 drivers/media/pci/cx18/cx18-streams.c s->video_dev.fops = &cx18_v4l2_enc_fops; video_dev 360 drivers/media/pci/cx18/cx18-streams.c s->video_dev.release = video_device_release_empty; video_dev 362 drivers/media/pci/cx18/cx18-streams.c s->video_dev.tvnorms = cx->tuner_std; video_dev 364 drivers/media/pci/cx18/cx18-streams.c s->video_dev.tvnorms = V4L2_STD_ALL; video_dev 365 drivers/media/pci/cx18/cx18-streams.c s->video_dev.lock = &cx->serialize_lock; video_dev 366 drivers/media/pci/cx18/cx18-streams.c cx18_set_funcs(&s->video_dev); video_dev 410 drivers/media/pci/cx18/cx18-streams.c if (s->video_dev.v4l2_dev == NULL) video_dev 413 drivers/media/pci/cx18/cx18-streams.c num = s->video_dev.num; video_dev 414 drivers/media/pci/cx18/cx18-streams.c s->video_dev.device_caps = s->v4l2_dev_caps; /* device capabilities */ video_dev 419 drivers/media/pci/cx18/cx18-streams.c if (s_mpg->video_dev.v4l2_dev) video_dev 420 drivers/media/pci/cx18/cx18-streams.c num = s_mpg->video_dev.num video_dev 423 drivers/media/pci/cx18/cx18-streams.c video_set_drvdata(&s->video_dev, s); video_dev 426 drivers/media/pci/cx18/cx18-streams.c ret = video_register_device_no_warn(&s->video_dev, vfl_type, num); video_dev 430 drivers/media/pci/cx18/cx18-streams.c s->video_dev.v4l2_dev = NULL; video_dev 434 drivers/media/pci/cx18/cx18-streams.c name = video_device_node_name(&s->video_dev); video_dev 523 drivers/media/pci/cx18/cx18-streams.c vdev = &cx->streams[type].video_dev; video_dev 1018 drivers/media/pci/cx18/cx18-streams.c if (s->video_dev.v4l2_dev && (s->handle != CX18_INVALID_TASK_HANDLE)) video_dev 22 drivers/media/pci/cx18/cx18-streams.h return s->video_dev.v4l2_dev || video_dev 1170 drivers/media/pci/cx23885/cx23885-video.c if (dev->video_dev) { video_dev 1171 drivers/media/pci/cx23885/cx23885-video.c if (video_is_registered(dev->video_dev)) video_dev 1172 drivers/media/pci/cx23885/cx23885-video.c video_unregister_device(dev->video_dev); video_dev 1174 drivers/media/pci/cx23885/cx23885-video.c video_device_release(dev->video_dev); video_dev 1175 drivers/media/pci/cx23885/cx23885-video.c dev->video_dev = NULL; video_dev 1300 drivers/media/pci/cx23885/cx23885-video.c dev->video_dev = cx23885_vdev_init(dev, dev->pci, video_dev 1302 drivers/media/pci/cx23885/cx23885-video.c dev->video_dev->queue = &dev->vb2_vidq; video_dev 1303 drivers/media/pci/cx23885/cx23885-video.c dev->video_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | video_dev 1306 drivers/media/pci/cx23885/cx23885-video.c dev->video_dev->device_caps |= V4L2_CAP_TUNER; video_dev 1307 drivers/media/pci/cx23885/cx23885-video.c err = video_register_device(dev->video_dev, VFL_TYPE_GRABBER, video_dev 1315 drivers/media/pci/cx23885/cx23885-video.c dev->name, video_device_node_name(dev->video_dev)); video_dev 419 drivers/media/pci/cx23885/cx23885.h struct video_device *video_dev; video_dev 1255 drivers/media/pci/cx88/cx88-video.c video_unregister_device(&dev->video_dev); video_dev 1445 drivers/media/pci/cx88/cx88-video.c cx88_vdev_init(core, dev->pci, &dev->video_dev, video_dev 1447 drivers/media/pci/cx88/cx88-video.c video_set_drvdata(&dev->video_dev, dev); video_dev 1448 drivers/media/pci/cx88/cx88-video.c dev->video_dev.ctrl_handler = &core->video_hdl; video_dev 1449 drivers/media/pci/cx88/cx88-video.c dev->video_dev.queue = &dev->vb2_vidq; video_dev 1450 drivers/media/pci/cx88/cx88-video.c dev->video_dev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | video_dev 1453 drivers/media/pci/cx88/cx88-video.c dev->video_dev.device_caps |= V4L2_CAP_TUNER; video_dev 1454 drivers/media/pci/cx88/cx88-video.c err = video_register_device(&dev->video_dev, VFL_TYPE_GRABBER, video_dev 1461 drivers/media/pci/cx88/cx88-video.c video_device_node_name(&dev->video_dev)); video_dev 473 drivers/media/pci/cx88/cx88.h struct video_device video_dev; video_dev 861 drivers/media/pci/saa7134/saa7134-core.c ret = media_entity_pads_init(&dev->video_dev->entity, 1, video_dev 966 drivers/media/pci/saa7134/saa7134-core.c if (dev->video_dev) { video_dev 967 drivers/media/pci/saa7134/saa7134-core.c if (video_is_registered(dev->video_dev)) video_dev 968 drivers/media/pci/saa7134/saa7134-core.c video_unregister_device(dev->video_dev); video_dev 970 drivers/media/pci/saa7134/saa7134-core.c video_device_release(dev->video_dev); video_dev 971 drivers/media/pci/saa7134/saa7134-core.c dev->video_dev = NULL; video_dev 1205 drivers/media/pci/saa7134/saa7134-core.c dev->video_dev = vdev_init(dev,&saa7134_video_template,"video"); video_dev 1206 drivers/media/pci/saa7134/saa7134-core.c dev->video_dev->ctrl_handler = &dev->ctrl_handler; video_dev 1207 drivers/media/pci/saa7134/saa7134-core.c dev->video_dev->lock = &dev->lock; video_dev 1208 drivers/media/pci/saa7134/saa7134-core.c dev->video_dev->queue = &dev->video_vbq; video_dev 1209 drivers/media/pci/saa7134/saa7134-core.c dev->video_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | video_dev 1212 drivers/media/pci/saa7134/saa7134-core.c dev->video_dev->device_caps |= V4L2_CAP_TUNER; video_dev 1215 drivers/media/pci/saa7134/saa7134-core.c dev->video_dev->device_caps |= V4L2_CAP_VIDEO_OVERLAY; video_dev 1217 drivers/media/pci/saa7134/saa7134-core.c err = video_register_device(dev->video_dev,VFL_TYPE_GRABBER, video_dev 1225 drivers/media/pci/saa7134/saa7134-core.c dev->name, video_device_node_name(dev->video_dev)); video_dev 558 drivers/media/pci/saa7134/saa7134.h struct video_device *video_dev; video_dev 58 drivers/media/pci/saa7146/hexium_gemini.c struct video_device video_dev; video_dev 292 drivers/media/pci/saa7146/hexium_gemini.c ret = saa7146_register_device(&hexium->video_dev, dev, "hexium gemini", VFL_TYPE_GRABBER); video_dev 313 drivers/media/pci/saa7146/hexium_gemini.c saa7146_unregister_device(&hexium->video_dev, dev); video_dev 55 drivers/media/pci/saa7146/hexium_orion.c struct video_device video_dev; video_dev 365 drivers/media/pci/saa7146/hexium_orion.c if (0 != saa7146_register_device(&hexium->video_dev, dev, "hexium orion", VFL_TYPE_GRABBER)) { video_dev 386 drivers/media/pci/saa7146/hexium_orion.c saa7146_unregister_device(&hexium->video_dev, dev); video_dev 143 drivers/media/pci/saa7146/mxb.c struct video_device video_dev; video_dev 710 drivers/media/pci/saa7146/mxb.c if (saa7146_register_device(&mxb->video_dev, dev, "mxb", VFL_TYPE_GRABBER)) { video_dev 739 drivers/media/pci/saa7146/mxb.c saa7146_unregister_device(&mxb->video_dev,dev); video_dev 114 drivers/media/pci/sta2x11/sta2x11_vip.c struct video_device video_dev; video_dev 1066 drivers/media/pci/sta2x11/sta2x11_vip.c vip->video_dev = video_dev_template; video_dev 1067 drivers/media/pci/sta2x11/sta2x11_vip.c vip->video_dev.v4l2_dev = &vip->v4l2_dev; video_dev 1068 drivers/media/pci/sta2x11/sta2x11_vip.c vip->video_dev.queue = &vip->vb_vidq; video_dev 1069 drivers/media/pci/sta2x11/sta2x11_vip.c vip->video_dev.lock = &vip->v4l_lock; video_dev 1070 drivers/media/pci/sta2x11/sta2x11_vip.c video_set_drvdata(&vip->video_dev, vip); video_dev 1072 drivers/media/pci/sta2x11/sta2x11_vip.c ret = video_register_device(&vip->video_dev, VFL_TYPE_GRABBER, -1); video_dev 1102 drivers/media/pci/sta2x11/sta2x11_vip.c video_set_drvdata(&vip->video_dev, NULL); video_dev 1104 drivers/media/pci/sta2x11/sta2x11_vip.c video_unregister_device(&vip->video_dev); video_dev 1148 drivers/media/pci/sta2x11/sta2x11_vip.c video_set_drvdata(&vip->video_dev, NULL); video_dev 1149 drivers/media/pci/sta2x11/sta2x11_vip.c video_unregister_device(&vip->video_dev); video_dev 240 drivers/media/pci/ttpci/av7110.h struct dvb_device *video_dev; video_dev 1635 drivers/media/pci/ttpci/av7110_av.c dvb_register_device(&av7110->dvb_adapter, &av7110->video_dev, video_dev 1647 drivers/media/pci/ttpci/av7110_av.c dvb_unregister_device(av7110->video_dev); video_dev 2307 drivers/media/platform/am437x/am437x-vpfe.c vpfe->video_dev.tvnorms |= sdinfo->inputs[0].std; video_dev 2373 drivers/media/platform/am437x/am437x-vpfe.c vdev = &vpfe->video_dev; video_dev 2385 drivers/media/platform/am437x/am437x-vpfe.c err = video_register_device(&vpfe->video_dev, VFL_TYPE_GRABBER, -1); video_dev 2619 drivers/media/platform/am437x/am437x-vpfe.c video_unregister_device(&vpfe->video_dev); video_dev 220 drivers/media/platform/am437x/am437x-vpfe.h struct video_device video_dev; video_dev 1908 drivers/media/platform/atmel/atmel-isc-base.c if (video_is_registered(&isc->video_dev)) { video_dev 1925 drivers/media/platform/atmel/atmel-isc-base.c video_unregister_device(&isc->video_dev); video_dev 2017 drivers/media/platform/atmel/atmel-isc-base.c struct video_device *vdev = &isc->video_dev; video_dev 198 drivers/media/platform/atmel/atmel-isc.h struct video_device video_dev; video_dev 250 drivers/media/platform/atmel/atmel-sama5d2-isc.c if (video_is_registered(&isc->video_dev)) video_dev 1297 drivers/media/platform/davinci/vpbe_display.c vbd = &vpbe_display_layer->video_dev; video_dev 1338 drivers/media/platform/davinci/vpbe_display.c &vpbe_display_layer->video_dev); video_dev 1340 drivers/media/platform/davinci/vpbe_display.c vpbe_display_layer->video_dev.queue = &vpbe_display_layer->buffer_queue; video_dev 1341 drivers/media/platform/davinci/vpbe_display.c err = video_register_device(&vpbe_display_layer->video_dev, video_dev 1350 drivers/media/platform/davinci/vpbe_display.c video_set_drvdata(&vpbe_display_layer->video_dev, video_dev 1461 drivers/media/platform/davinci/vpbe_display.c video_unregister_device(&disp_dev->dev[k]->video_dev); video_dev 1489 drivers/media/platform/davinci/vpbe_display.c video_unregister_device(&vpbe_display_layer->video_dev); video_dev 1746 drivers/media/platform/davinci/vpfe_capture.c vfd = &vpfe_dev->video_dev; video_dev 1779 drivers/media/platform/davinci/vpfe_capture.c "video_dev=%p\n", &vpfe_dev->video_dev); video_dev 1781 drivers/media/platform/davinci/vpfe_capture.c ret = video_register_device(&vpfe_dev->video_dev, video_dev 1794 drivers/media/platform/davinci/vpfe_capture.c video_set_drvdata(&vpfe_dev->video_dev, vpfe_dev); video_dev 1846 drivers/media/platform/davinci/vpfe_capture.c video_unregister_device(&vpfe_dev->video_dev); video_dev 1871 drivers/media/platform/davinci/vpfe_capture.c video_unregister_device(&vpfe_dev->video_dev); video_dev 749 drivers/media/platform/davinci/vpif_capture.c ch->video_dev.tvnorms = chan_cfg->inputs[index].input.std; video_dev 1457 drivers/media/platform/davinci/vpif_capture.c vdev = &ch->video_dev; video_dev 1467 drivers/media/platform/davinci/vpif_capture.c video_set_drvdata(&ch->video_dev, ch); video_dev 1483 drivers/media/platform/davinci/vpif_capture.c video_unregister_device(&ch->video_dev); video_dev 1742 drivers/media/platform/davinci/vpif_capture.c video_unregister_device(&ch->video_dev); video_dev 80 drivers/media/platform/davinci/vpif_capture.h struct video_device video_dev; video_dev 834 drivers/media/platform/davinci/vpif_display.c ch->video_dev.tvnorms = chan_cfg->outputs[index].output.std; video_dev 1203 drivers/media/platform/davinci/vpif_display.c ch, &ch->video_dev); video_dev 1206 drivers/media/platform/davinci/vpif_display.c vdev = &ch->video_dev; video_dev 1216 drivers/media/platform/davinci/vpif_display.c video_set_drvdata(&ch->video_dev, ch); video_dev 1229 drivers/media/platform/davinci/vpif_display.c video_unregister_device(&ch->video_dev); video_dev 1375 drivers/media/platform/davinci/vpif_display.c video_unregister_device(&ch->video_dev); video_dev 101 drivers/media/platform/davinci/vpif_display.h struct video_device video_dev; /* Identifies video device for video_dev 25 drivers/media/radio/radio-timb.c struct video_device video_dev; video_dev 108 drivers/media/radio/radio-timb.c strscpy(tr->video_dev.name, "Timberdale Radio", video_dev 109 drivers/media/radio/radio-timb.c sizeof(tr->video_dev.name)); video_dev 110 drivers/media/radio/radio-timb.c tr->video_dev.fops = &timbradio_fops; video_dev 111 drivers/media/radio/radio-timb.c tr->video_dev.ioctl_ops = &timbradio_ioctl_ops; video_dev 112 drivers/media/radio/radio-timb.c tr->video_dev.release = video_device_release_empty; video_dev 113 drivers/media/radio/radio-timb.c tr->video_dev.minor = -1; video_dev 114 drivers/media/radio/radio-timb.c tr->video_dev.lock = &tr->lock; video_dev 115 drivers/media/radio/radio-timb.c tr->video_dev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; video_dev 122 drivers/media/radio/radio-timb.c tr->video_dev.v4l2_dev = &tr->v4l2_dev; video_dev 135 drivers/media/radio/radio-timb.c err = video_register_device(&tr->video_dev, VFL_TYPE_RADIO, -1); video_dev 141 drivers/media/radio/radio-timb.c video_set_drvdata(&tr->video_dev, tr); video_dev 158 drivers/media/radio/radio-timb.c video_unregister_device(&tr->video_dev); video_dev 391 drivers/media/usb/hdpvr/hdpvr-core.c video_device_node_name(&dev->video_dev)); video_dev 416 drivers/media/usb/hdpvr/hdpvr-core.c video_device_node_name(&dev->video_dev)); video_dev 432 drivers/media/usb/hdpvr/hdpvr-core.c video_unregister_device(&dev->video_dev); video_dev 1235 drivers/media/usb/hdpvr/hdpvr-video.c dev->video_dev = hdpvr_video_template; video_dev 1236 drivers/media/usb/hdpvr/hdpvr-video.c strscpy(dev->video_dev.name, "Hauppauge HD PVR", video_dev 1237 drivers/media/usb/hdpvr/hdpvr-video.c sizeof(dev->video_dev.name)); video_dev 1238 drivers/media/usb/hdpvr/hdpvr-video.c dev->video_dev.v4l2_dev = &dev->v4l2_dev; video_dev 1239 drivers/media/usb/hdpvr/hdpvr-video.c video_set_drvdata(&dev->video_dev, dev); video_dev 1241 drivers/media/usb/hdpvr/hdpvr-video.c res = video_register_device(&dev->video_dev, VFL_TYPE_GRABBER, devnum); video_dev 65 drivers/media/usb/hdpvr/hdpvr.h struct video_device video_dev; video_dev 116 drivers/staging/media/allegro-dvt/allegro-core.c struct video_device video_dev; video_dev 2695 drivers/staging/media/allegro-dvt/allegro-core.c struct video_device *video_dev = &dev->video_dev; video_dev 2697 drivers/staging/media/allegro-dvt/allegro-core.c strscpy(video_dev->name, "allegro", sizeof(video_dev->name)); video_dev 2698 drivers/staging/media/allegro-dvt/allegro-core.c video_dev->fops = &allegro_fops; video_dev 2699 drivers/staging/media/allegro-dvt/allegro-core.c video_dev->ioctl_ops = &allegro_ioctl_ops; video_dev 2700 drivers/staging/media/allegro-dvt/allegro-core.c video_dev->release = video_device_release_empty; video_dev 2701 drivers/staging/media/allegro-dvt/allegro-core.c video_dev->lock = &dev->lock; video_dev 2702 drivers/staging/media/allegro-dvt/allegro-core.c video_dev->v4l2_dev = &dev->v4l2_dev; video_dev 2703 drivers/staging/media/allegro-dvt/allegro-core.c video_dev->vfl_dir = VFL_DIR_M2M; video_dev 2704 drivers/staging/media/allegro-dvt/allegro-core.c video_dev->device_caps = V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING; video_dev 2705 drivers/staging/media/allegro-dvt/allegro-core.c video_set_drvdata(video_dev, dev); video_dev 2707 drivers/staging/media/allegro-dvt/allegro-core.c return video_register_device(video_dev, VFL_TYPE_GRABBER, 0); video_dev 2866 drivers/staging/media/allegro-dvt/allegro-core.c dev->video_dev.num); video_dev 2984 drivers/staging/media/allegro-dvt/allegro-core.c video_unregister_device(&dev->video_dev); video_dev 82 include/media/davinci/vpbe_display.h struct video_device video_dev; video_dev 92 include/media/davinci/vpfe_capture.h struct video_device video_dev; video_dev 43 tools/testing/selftests/media_tests/video_device_test.c char video_dev[256]; video_dev 59 tools/testing/selftests/media_tests/video_device_test.c strncpy(video_dev, optarg, sizeof(video_dev) - 1); video_dev 60 tools/testing/selftests/media_tests/video_device_test.c video_dev[sizeof(video_dev)-1] = '\0'; video_dev 73 tools/testing/selftests/media_tests/video_device_test.c fd = open(video_dev, O_RDWR);