Lines Matching refs:video
436 strscpy(cap->card, histo->video.name, sizeof(cap->card)); in histo_v4l2_querycap()
506 if (video_is_registered(&histo->video)) in vsp1_histogram_cleanup()
507 video_unregister_device(&histo->video); in vsp1_histogram_cleanup()
509 media_entity_cleanup(&histo->video.entity); in vsp1_histogram_cleanup()
533 histo->video.vfl_dir = VFL_DIR_RX; in vsp1_histogram_init()
550 ret = media_entity_pads_init(&histo->video.entity, 1, &histo->pad); in vsp1_histogram_init()
555 histo->video.v4l2_dev = &vsp1->v4l2_dev; in vsp1_histogram_init()
556 histo->video.fops = &histo_v4l2_fops; in vsp1_histogram_init()
557 snprintf(histo->video.name, sizeof(histo->video.name), in vsp1_histogram_init()
559 histo->video.vfl_type = VFL_TYPE_VIDEO; in vsp1_histogram_init()
560 histo->video.release = video_device_release_empty; in vsp1_histogram_init()
561 histo->video.ioctl_ops = &histo_v4l2_ioctl_ops; in vsp1_histogram_init()
562 histo->video.device_caps = V4L2_CAP_META_CAPTURE | V4L2_CAP_STREAMING; in vsp1_histogram_init()
564 video_set_drvdata(&histo->video, histo); in vsp1_histogram_init()
583 histo->video.queue = &histo->queue; in vsp1_histogram_init()
584 ret = video_register_device(&histo->video, VFL_TYPE_VIDEO, -1); in vsp1_histogram_init()