Home
last modified time | relevance | path

Searched refs:video_dev (Results 1 – 25 of 37) sorted by relevance

12

/linux/tools/testing/selftests/media_tests/
H A Dvideo_device_test.c120 char video_dev[256]; in main() local
133 strncpy(video_dev, optarg, sizeof(video_dev) - 1); in main()
134 video_dev[sizeof(video_dev)-1] = '\0'; in main()
143 fd = open(video_dev, O_RDWR); in main()
/linux/drivers/media/pci/zoran/
H A Dzoran_card.c868 static int zoran_init_video_device(struct zoran *zr, struct video_device *video_dev, int dir) in zoran_init_video_device() argument
873 *video_dev = zoran_template; in zoran_init_video_device()
874 video_dev->v4l2_dev = &zr->v4l2_dev; in zoran_init_video_device()
875 video_dev->lock = &zr->lock; in zoran_init_video_device()
876 video_dev->device_caps = V4L2_CAP_STREAMING | dir; in zoran_init_video_device()
878 strscpy(video_dev->name, ZR_DEVNAME(zr), sizeof(video_dev->name)); in zoran_init_video_device()
879 video_dev->vfl_dir = VFL_DIR_RX; in zoran_init_video_device()
882 err = video_register_device(video_dev, VFL_TYPE_VIDEO, video_nr[zr->id]); in zoran_init_video_device()
885 video_set_drvdata(video_dev, zr); in zoran_init_video_device()
891 video_unregister_device(zr->video_dev); in zoran_exit_video_devices()
[all …]
H A Dzoran.h202 struct video_device *video_dev; member
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-core.c849 ret = media_entity_pads_init(&dev->video_dev->entity, 1, in saa7134_create_entities()
954 if (dev->video_dev) { in saa7134_unregister_video()
955 if (video_is_registered(dev->video_dev)) in saa7134_unregister_video()
956 vb2_video_unregister_device(dev->video_dev); in saa7134_unregister_video()
958 video_device_release(dev->video_dev); in saa7134_unregister_video()
959 dev->video_dev = NULL; in saa7134_unregister_video()
1178 dev->video_dev = vdev_init(dev,&saa7134_video_template,"video"); in saa7134_initdev()
1179 dev->video_dev->ctrl_handler = &dev->ctrl_handler; in saa7134_initdev()
1180 dev->video_dev->lock = &dev->lock; in saa7134_initdev()
1181 dev->video_dev->queue = &dev->video_vbq; in saa7134_initdev()
[all …]
/linux/drivers/media/pci/saa7146/
H A Dhexium_orion.c56 struct video_device video_dev; member
372 if (0 != saa7146_register_device(&hexium->video_dev, dev, "hexium orion", VFL_TYPE_VIDEO)) { in hexium_attach()
394 saa7146_unregister_device(&hexium->video_dev, dev); in hexium_detach()
H A Dhexium_gemini.c59 struct video_device video_dev; member
298 ret = saa7146_register_device(&hexium->video_dev, dev, "hexium gemini", VFL_TYPE_VIDEO); in hexium_attach()
319 saa7146_unregister_device(&hexium->video_dev, dev); in hexium_detach()
H A Dmxb.c144 struct video_device video_dev; member
516 mxb->video_dev.tvnorms = mxb_inputs[input].std; in vidioc_s_input()
721 if (saa7146_register_device(&mxb->video_dev, dev, "mxb", VFL_TYPE_VIDEO)) { in mxb_attach()
750 saa7146_unregister_device(&mxb->video_dev,dev); in mxb_detach()
/linux/drivers/media/pci/cx18/
H A Dcx18-fileops.c685 struct video_device *vdev = &s->video_dev; in cx18_v4l2_close()
740 v4l2_fh_init(&item->fh, &s->video_dev); in cx18_serialized_open()
779 struct video_device *video_dev = video_devdata(filp); in cx18_v4l2_open() local
780 struct cx18_stream *s = video_get_drvdata(video_dev); in cx18_v4l2_open()
786 video_device_node_name(video_dev)); in cx18_v4l2_open()
H A Dcx18-streams.h22 return s->video_dev.v4l2_dev || in cx18_stream_enabled()
H A Dcx18-ioctl.c548 cx->streams[CX18_ENC_STREAM_TYPE_MPG].video_dev.tvnorms = std; in cx18_s_input()
549 cx->streams[CX18_ENC_STREAM_TYPE_YUV].video_dev.tvnorms = std; in cx18_s_input()
550 cx->streams[CX18_ENC_STREAM_TYPE_VBI].video_dev.tvnorms = std; in cx18_s_input()
962 if (s->video_dev.v4l2_dev == NULL || s->buffers == 0) in cx18_log_status()
H A Dcx18-alsa-main.c197 if (s->video_dev.v4l2_dev == NULL) { in cx18_alsa_load()
/linux/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_params.h29 struct video_device video_dev; member
H A Dsun6i_isp_capture.h42 struct video_device video_dev; member
/linux/drivers/media/usb/hdpvr/
H A Dhdpvr-core.c391 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()
H A Dhdpvr-video.c1237 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()
H A Dhdpvr.h65 struct video_device video_dev; member
/linux/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_capture.h54 struct video_device video_dev; member
/linux/drivers/media/platform/ti/davinci/
H A Dvpif_capture.h80 struct video_device video_dev; member
H A Dvpif_display.h93 struct video_device video_dev; /* Identifies video device for member
/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc-scaler.c254 &isc->video_dev.entity, ISC_PAD_SINK, in isc_scaler_link()
261 isc->video_dev.entity.name); in isc_scaler_link()
H A Dmicrochip-isc-base.c331 return media_pipeline_start(isc->video_dev.entity.pads, &isc->mpipe); in isc_prepare_streaming()
404 media_pipeline_stop(isc->video_dev.entity.pads); in isc_unprepare_streaming()
1681 if (video_is_registered(&isc->video_dev)) { in isc_async_bound()
1708 video_unregister_device(&isc->video_dev); in isc_async_unbind()
1756 struct video_device *vdev = &isc->video_dev; in isc_async_complete()
1919 isc->video_dev.entity.function = MEDIA_ENT_F_IO_V4L; in isc_mc_init()
1920 isc->video_dev.entity.flags = MEDIA_ENT_FL_DEFAULT; in isc_mc_init()
1921 isc->video_dev.entity.ops = &isc_entity_operations; in isc_mc_init()
1925 ret = media_entity_pads_init(&isc->video_dev.entity, ISC_PADS_NUM, in isc_mc_init()
1952 media_entity_cleanup(&isc->video_dev.entity); in isc_mc_cleanup()
H A Dmicrochip-isc.h291 struct video_device video_dev; member
/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-core.c146 struct video_device video_dev; member
3595 struct video_device *video_dev = &dev->video_dev; in allegro_register_device() local
3597 strscpy(video_dev->name, "allegro", sizeof(video_dev->name)); in allegro_register_device()
3598 video_dev->fops = &allegro_fops; in allegro_register_device()
3599 video_dev->ioctl_ops = &allegro_ioctl_ops; in allegro_register_device()
3600 video_dev->release = video_device_release_empty; in allegro_register_device()
3601 video_dev->lock = &dev->lock; in allegro_register_device()
3602 video_dev->v4l2_dev = &dev->v4l2_dev; in allegro_register_device()
3603 video_dev->vfl_dir = VFL_DIR_M2M; in allegro_register_device()
3604 video_dev->device_caps = V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING; in allegro_register_device()
[all …]
/linux/drivers/media/platform/ti/am437x/
H A Dam437x-vpfe.h228 struct video_device video_dev; member
/linux/drivers/staging/media/deprecated/atmel/
H A Datmel-isc.h273 struct video_device video_dev; member

12