dec_vdev 1136 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev = video_device_alloc(); dec_vdev 1137 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (!jpeg->dec_vdev) { dec_vdev 1141 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c snprintf(jpeg->dec_vdev->name, sizeof(jpeg->dec_vdev->name), dec_vdev 1143 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->fops = &mtk_jpeg_fops; dec_vdev 1144 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->ioctl_ops = &mtk_jpeg_ioctl_ops; dec_vdev 1145 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->minor = -1; dec_vdev 1146 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->release = video_device_release; dec_vdev 1147 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->lock = &jpeg->lock; dec_vdev 1148 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->v4l2_dev = &jpeg->v4l2_dev; dec_vdev 1149 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->vfl_dir = VFL_DIR_M2M; dec_vdev 1150 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->device_caps = V4L2_CAP_STREAMING | dec_vdev 1153 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c ret = video_register_device(jpeg->dec_vdev, VFL_TYPE_GRABBER, 3); dec_vdev 1159 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c video_set_drvdata(jpeg->dec_vdev, jpeg); dec_vdev 1162 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->num, VIDEO_MAJOR, jpeg->dec_vdev->minor); dec_vdev 1171 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c video_device_release(jpeg->dec_vdev); dec_vdev 1193 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c video_unregister_device(jpeg->dec_vdev); dec_vdev 1194 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c video_device_release(jpeg->dec_vdev); dec_vdev 60 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.h struct video_device *dec_vdev;