/drivers/media/radio/ |
D | radio-timb.c | 25 struct video_device video_dev; member 108 strscpy(tr->video_dev.name, "Timberdale Radio", in timbradio_probe() 109 sizeof(tr->video_dev.name)); in timbradio_probe() 110 tr->video_dev.fops = &timbradio_fops; in timbradio_probe() 111 tr->video_dev.ioctl_ops = &timbradio_ioctl_ops; in timbradio_probe() 112 tr->video_dev.release = video_device_release_empty; in timbradio_probe() 113 tr->video_dev.minor = -1; in timbradio_probe() 114 tr->video_dev.lock = &tr->lock; in timbradio_probe() 115 tr->video_dev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in timbradio_probe() 122 tr->video_dev.v4l2_dev = &tr->v4l2_dev; in timbradio_probe() [all …]
|
/drivers/media/pci/cx18/ |
D | cx18-streams.c | 310 s->video_dev.v4l2_dev = NULL; in cx18_prep_dev() 354 snprintf(s->video_dev.name, sizeof(s->video_dev.name), "%s %s", in cx18_prep_dev() 357 s->video_dev.num = num; in cx18_prep_dev() 358 s->video_dev.v4l2_dev = &cx->v4l2_dev; in cx18_prep_dev() 359 s->video_dev.fops = &cx18_v4l2_enc_fops; in cx18_prep_dev() 360 s->video_dev.release = video_device_release_empty; in cx18_prep_dev() 362 s->video_dev.tvnorms = cx->tuner_std; in cx18_prep_dev() 364 s->video_dev.tvnorms = V4L2_STD_ALL; in cx18_prep_dev() 365 s->video_dev.lock = &cx->serialize_lock; in cx18_prep_dev() 366 cx18_set_funcs(&s->video_dev); in cx18_prep_dev() [all …]
|
D | cx18-streams.h | 22 return s->video_dev.v4l2_dev || in cx18_stream_enabled()
|
D | cx18-fileops.c | 793 v4l2_fh_init(&item->fh, &s->video_dev); in cx18_serialized_open() 832 struct video_device *video_dev = video_devdata(filp); in cx18_v4l2_open() local 833 struct cx18_stream *s = video_get_drvdata(video_dev); in cx18_v4l2_open() 839 video_device_node_name(video_dev)); in cx18_v4l2_open()
|
D | cx18-ioctl.c | 528 cx->streams[CX18_ENC_STREAM_TYPE_MPG].video_dev.tvnorms = std; in cx18_s_input() 529 cx->streams[CX18_ENC_STREAM_TYPE_YUV].video_dev.tvnorms = std; in cx18_s_input() 530 cx->streams[CX18_ENC_STREAM_TYPE_VBI].video_dev.tvnorms = std; in cx18_s_input() 1040 if (s->video_dev.v4l2_dev == NULL || s->buffers == 0) in cx18_log_status()
|
/drivers/staging/media/zoran/ |
D | zoran_card.c | 805 static int zoran_init_video_device(struct zoran *zr, struct video_device *video_dev, int dir) in zoran_init_video_device() argument 810 *video_dev = zoran_template; in zoran_init_video_device() 811 video_dev->v4l2_dev = &zr->v4l2_dev; in zoran_init_video_device() 812 video_dev->lock = &zr->lock; in zoran_init_video_device() 813 video_dev->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_READWRITE | dir; in zoran_init_video_device() 815 strscpy(video_dev->name, ZR_DEVNAME(zr), sizeof(video_dev->name)); in zoran_init_video_device() 821 video_dev->vfl_dir = VFL_DIR_M2M; in zoran_init_video_device() 824 err = video_register_device(video_dev, VFL_TYPE_VIDEO, video_nr[zr->id]); in zoran_init_video_device() 827 video_set_drvdata(video_dev, zr); in zoran_init_video_device() 833 video_unregister_device(zr->video_dev); in zoran_exit_video_devices() [all …]
|
D | zoran_driver.c | 884 vb2_queue_error(zr->video_dev->queue); in zr_set_buf() 891 vb2_queue_error(zr->video_dev->queue); in zr_set_buf() 1038 zr->video_dev->queue = vq; in zoran_queue_init() 1044 vb2_queue_release(zr->video_dev->queue); in zoran_queue_exit()
|
/drivers/media/pci/saa7134/ |
D | saa7134-core.c | 859 ret = media_entity_pads_init(&dev->video_dev->entity, 1, in saa7134_create_entities() 964 if (dev->video_dev) { in saa7134_unregister_video() 965 if (video_is_registered(dev->video_dev)) in saa7134_unregister_video() 966 vb2_video_unregister_device(dev->video_dev); in saa7134_unregister_video() 968 video_device_release(dev->video_dev); in saa7134_unregister_video() 969 dev->video_dev = NULL; in saa7134_unregister_video() 1203 dev->video_dev = vdev_init(dev,&saa7134_video_template,"video"); in saa7134_initdev() 1204 dev->video_dev->ctrl_handler = &dev->ctrl_handler; in saa7134_initdev() 1205 dev->video_dev->lock = &dev->lock; in saa7134_initdev() 1206 dev->video_dev->queue = &dev->video_vbq; in saa7134_initdev() [all …]
|
/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 114 struct video_device video_dev; member 1066 vip->video_dev = video_dev_template; in sta2x11_vip_init_one() 1067 vip->video_dev.v4l2_dev = &vip->v4l2_dev; in sta2x11_vip_init_one() 1068 vip->video_dev.queue = &vip->vb_vidq; in sta2x11_vip_init_one() 1069 vip->video_dev.lock = &vip->v4l_lock; in sta2x11_vip_init_one() 1070 video_set_drvdata(&vip->video_dev, vip); in sta2x11_vip_init_one() 1072 ret = video_register_device(&vip->video_dev, VFL_TYPE_VIDEO, -1); in sta2x11_vip_init_one() 1102 video_set_drvdata(&vip->video_dev, NULL); in sta2x11_vip_init_one() 1104 vb2_video_unregister_device(&vip->video_dev); in sta2x11_vip_init_one() 1147 video_set_drvdata(&vip->video_dev, NULL); in sta2x11_vip_remove_one() [all …]
|
/drivers/media/pci/cx23885/ |
D | cx23885-video.c | 1224 if (dev->video_dev) { in cx23885_video_unregister() 1225 if (video_is_registered(dev->video_dev)) in cx23885_video_unregister() 1226 video_unregister_device(dev->video_dev); in cx23885_video_unregister() 1228 video_device_release(dev->video_dev); in cx23885_video_unregister() 1229 dev->video_dev = NULL; in cx23885_video_unregister() 1354 dev->video_dev = cx23885_vdev_init(dev, dev->pci, in cx23885_video_register() 1356 dev->video_dev->queue = &dev->vb2_vidq; in cx23885_video_register() 1357 dev->video_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx23885_video_register() 1364 dev->video_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register() 1368 dev->video_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register() [all …]
|
/drivers/media/pci/saa7146/ |
D | hexium_orion.c | 55 struct video_device video_dev; member 371 if (0 != saa7146_register_device(&hexium->video_dev, dev, "hexium orion", VFL_TYPE_VIDEO)) { in hexium_attach() 392 saa7146_unregister_device(&hexium->video_dev, dev); in hexium_detach()
|
D | hexium_gemini.c | 58 struct video_device video_dev; member 297 ret = saa7146_register_device(&hexium->video_dev, dev, "hexium gemini", VFL_TYPE_VIDEO); in hexium_attach() 318 saa7146_unregister_device(&hexium->video_dev, dev); in hexium_detach()
|
D | mxb.c | 143 struct video_device video_dev; member 717 if (saa7146_register_device(&mxb->video_dev, dev, "mxb", VFL_TYPE_VIDEO)) { in mxb_attach() 746 saa7146_unregister_device(&mxb->video_dev,dev); in mxb_detach()
|
/drivers/media/usb/hdpvr/ |
D | hdpvr-core.c | 391 video_device_node_name(&dev->video_dev)); in hdpvr_probe() 416 video_device_node_name(&dev->video_dev)); in hdpvr_disconnect() 432 video_unregister_device(&dev->video_dev); in hdpvr_disconnect()
|
D | hdpvr-video.c | 1237 dev->video_dev = hdpvr_video_template; in hdpvr_register_videodev() 1238 strscpy(dev->video_dev.name, "Hauppauge HD PVR", in hdpvr_register_videodev() 1239 sizeof(dev->video_dev.name)); in hdpvr_register_videodev() 1240 dev->video_dev.v4l2_dev = &dev->v4l2_dev; in hdpvr_register_videodev() 1241 video_set_drvdata(&dev->video_dev, dev); in hdpvr_register_videodev() 1243 res = video_register_device(&dev->video_dev, VFL_TYPE_VIDEO, devnum); in hdpvr_register_videodev()
|
D | hdpvr.h | 65 struct video_device video_dev; member
|
/drivers/staging/media/allegro-dvt/ |
D | allegro-core.c | 123 struct video_device video_dev; member 2903 struct video_device *video_dev = &dev->video_dev; in allegro_register_device() local 2905 strscpy(video_dev->name, "allegro", sizeof(video_dev->name)); in allegro_register_device() 2906 video_dev->fops = &allegro_fops; in allegro_register_device() 2907 video_dev->ioctl_ops = &allegro_ioctl_ops; in allegro_register_device() 2908 video_dev->release = video_device_release_empty; in allegro_register_device() 2909 video_dev->lock = &dev->lock; in allegro_register_device() 2910 video_dev->v4l2_dev = &dev->v4l2_dev; in allegro_register_device() 2911 video_dev->vfl_dir = VFL_DIR_M2M; in allegro_register_device() 2912 video_dev->device_caps = V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING; in allegro_register_device() [all …]
|
/drivers/media/pci/cx88/ |
D | cx88-video.c | 1254 video_unregister_device(&dev->video_dev); in cx8800_unregister_video() 1444 cx88_vdev_init(core, dev->pci, &dev->video_dev, in cx8800_initdev() 1446 video_set_drvdata(&dev->video_dev, dev); in cx8800_initdev() 1447 dev->video_dev.ctrl_handler = &core->video_hdl; in cx8800_initdev() 1448 dev->video_dev.queue = &dev->vb2_vidq; in cx8800_initdev() 1449 dev->video_dev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx8800_initdev() 1452 dev->video_dev.device_caps |= V4L2_CAP_TUNER; in cx8800_initdev() 1453 err = video_register_device(&dev->video_dev, VFL_TYPE_VIDEO, in cx8800_initdev() 1460 video_device_node_name(&dev->video_dev)); in cx8800_initdev()
|
/drivers/media/platform/davinci/ |
D | vpbe_display.c | 1296 vbd = &vpbe_display_layer->video_dev; in init_vpbe_layer() 1337 &vpbe_display_layer->video_dev); in register_device() 1339 vpbe_display_layer->video_dev.queue = &vpbe_display_layer->buffer_queue; in register_device() 1340 err = video_register_device(&vpbe_display_layer->video_dev, in register_device() 1349 video_set_drvdata(&vpbe_display_layer->video_dev, in register_device() 1460 video_unregister_device(&disp_dev->dev[k]->video_dev); in vpbe_display_probe() 1488 video_unregister_device(&vpbe_display_layer->video_dev); in vpbe_display_remove()
|
D | vpif_capture.h | 80 struct video_device video_dev; member
|
D | vpif_display.h | 101 struct video_device video_dev; /* Identifies video device for member
|
D | vpif_display.c | 834 ch->video_dev.tvnorms = chan_cfg->outputs[index].output.std; in vpif_set_output() 1203 ch, &ch->video_dev); in vpif_probe_complete() 1206 vdev = &ch->video_dev; in vpif_probe_complete() 1216 video_set_drvdata(&ch->video_dev, ch); in vpif_probe_complete() 1228 video_unregister_device(&ch->video_dev); in vpif_probe_complete() 1374 video_unregister_device(&ch->video_dev); in vpif_remove()
|
D | vpfe_capture.c | 1747 vfd = &vpfe_dev->video_dev; in vpfe_probe() 1780 "video_dev=%p\n", &vpfe_dev->video_dev); in vpfe_probe() 1782 ret = video_register_device(&vpfe_dev->video_dev, in vpfe_probe() 1795 video_set_drvdata(&vpfe_dev->video_dev, vpfe_dev); in vpfe_probe() 1847 video_unregister_device(&vpfe_dev->video_dev); in vpfe_probe() 1872 video_unregister_device(&vpfe_dev->video_dev); in vpfe_remove()
|
/drivers/media/platform/am437x/ |
D | am437x-vpfe.h | 228 struct video_device video_dev; member
|
/drivers/media/platform/atmel/ |
D | atmel-isc.h | 198 struct video_device video_dev; member
|