Lines Matching refs:vfd
1071 struct video_device *vfd; in s5p_mfc_probe() local
1162 vfd = video_device_alloc(); in s5p_mfc_probe()
1163 if (!vfd) { in s5p_mfc_probe()
1168 vfd->fops = &s5p_mfc_fops; in s5p_mfc_probe()
1169 vfd->ioctl_ops = get_dec_v4l2_ioctl_ops(); in s5p_mfc_probe()
1170 vfd->release = video_device_release; in s5p_mfc_probe()
1171 vfd->lock = &dev->mfc_mutex; in s5p_mfc_probe()
1172 vfd->v4l2_dev = &dev->v4l2_dev; in s5p_mfc_probe()
1173 vfd->vfl_dir = VFL_DIR_M2M; in s5p_mfc_probe()
1174 snprintf(vfd->name, sizeof(vfd->name), "%s", S5P_MFC_DEC_NAME); in s5p_mfc_probe()
1175 dev->vfd_dec = vfd; in s5p_mfc_probe()
1176 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); in s5p_mfc_probe()
1179 video_device_release(vfd); in s5p_mfc_probe()
1183 "decoder registered as /dev/video%d\n", vfd->num); in s5p_mfc_probe()
1184 video_set_drvdata(vfd, dev); in s5p_mfc_probe()
1187 vfd = video_device_alloc(); in s5p_mfc_probe()
1188 if (!vfd) { in s5p_mfc_probe()
1193 vfd->fops = &s5p_mfc_fops; in s5p_mfc_probe()
1194 vfd->ioctl_ops = get_enc_v4l2_ioctl_ops(); in s5p_mfc_probe()
1195 vfd->release = video_device_release; in s5p_mfc_probe()
1196 vfd->lock = &dev->mfc_mutex; in s5p_mfc_probe()
1197 vfd->v4l2_dev = &dev->v4l2_dev; in s5p_mfc_probe()
1198 vfd->vfl_dir = VFL_DIR_M2M; in s5p_mfc_probe()
1199 snprintf(vfd->name, sizeof(vfd->name), "%s", S5P_MFC_ENC_NAME); in s5p_mfc_probe()
1200 dev->vfd_enc = vfd; in s5p_mfc_probe()
1201 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); in s5p_mfc_probe()
1204 video_device_release(vfd); in s5p_mfc_probe()
1208 "encoder registered as /dev/video%d\n", vfd->num); in s5p_mfc_probe()
1209 video_set_drvdata(vfd, dev); in s5p_mfc_probe()