Lines Matching refs:vdev_dec
1913 struct video_device *vdev_dec; in wave5_vpu_dec_register_device() local
1923 vdev_dec = devm_kzalloc(dev->v4l2_dev.dev, sizeof(*vdev_dec), GFP_KERNEL); in wave5_vpu_dec_register_device()
1924 if (!vdev_dec) in wave5_vpu_dec_register_device()
1934 dev->video_dev_dec = vdev_dec; in wave5_vpu_dec_register_device()
1936 strscpy(vdev_dec->name, VPU_DEC_DEV_NAME, sizeof(vdev_dec->name)); in wave5_vpu_dec_register_device()
1937 vdev_dec->fops = &wave5_vpu_dec_fops; in wave5_vpu_dec_register_device()
1938 vdev_dec->ioctl_ops = &wave5_vpu_dec_ioctl_ops; in wave5_vpu_dec_register_device()
1939 vdev_dec->release = video_device_release_empty; in wave5_vpu_dec_register_device()
1940 vdev_dec->v4l2_dev = &dev->v4l2_dev; in wave5_vpu_dec_register_device()
1941 vdev_dec->vfl_dir = VFL_DIR_M2M; in wave5_vpu_dec_register_device()
1942 vdev_dec->device_caps = V4L2_CAP_VIDEO_M2M_MPLANE | V4L2_CAP_STREAMING; in wave5_vpu_dec_register_device()
1943 vdev_dec->lock = &dev->dev_lock; in wave5_vpu_dec_register_device()
1945 ret = video_register_device(vdev_dec, VFL_TYPE_VIDEO, -1); in wave5_vpu_dec_register_device()
1949 video_set_drvdata(vdev_dec, dev); in wave5_vpu_dec_register_device()