Lines Matching defs:vfd
355 v4l2_err(&fimc->m2m.vfd, "queue (%d) busy\n", f->type);
436 v4l2_err(&fimc->m2m.vfd,
511 v4l2_err(&fimc->m2m.vfd, "Out of scaler range\n");
625 v4l2_fh_init(&ctx->fh, &fimc->m2m.vfd);
717 struct video_device *vfd = &fimc->m2m.vfd;
722 memset(vfd, 0, sizeof(*vfd));
723 vfd->fops = &fimc_m2m_fops;
724 vfd->ioctl_ops = &fimc_m2m_ioctl_ops;
725 vfd->v4l2_dev = v4l2_dev;
726 vfd->minor = -1;
727 vfd->release = video_device_release_empty;
728 vfd->lock = &fimc->lock;
729 vfd->vfl_dir = VFL_DIR_M2M;
730 vfd->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_M2M_MPLANE;
731 set_bit(V4L2_FL_QUIRK_INVERTED_CROP, &vfd->flags);
733 snprintf(vfd->name, sizeof(vfd->name), "fimc.%d.m2m", fimc->id);
734 video_set_drvdata(vfd, fimc);
742 ret = media_entity_pads_init(&vfd->entity, 0, NULL);
746 ret = video_register_device(vfd, VFL_TYPE_VIDEO, -1);
751 vfd->name, video_device_node_name(vfd));
755 media_entity_cleanup(&vfd->entity);
769 if (video_is_registered(&fimc->m2m.vfd)) {
770 video_unregister_device(&fimc->m2m.vfd);
771 media_entity_cleanup(&fimc->m2m.vfd.entity);