Lines Matching refs:vfd
1268 struct video_device *vfd; in s5p_mfc_probe() local
1339 vfd = video_device_alloc(); in s5p_mfc_probe()
1340 if (!vfd) { in s5p_mfc_probe()
1345 vfd->fops = &s5p_mfc_fops; in s5p_mfc_probe()
1346 vfd->ioctl_ops = get_dec_v4l2_ioctl_ops(); in s5p_mfc_probe()
1347 vfd->release = video_device_release; in s5p_mfc_probe()
1348 vfd->lock = &dev->mfc_mutex; in s5p_mfc_probe()
1349 vfd->v4l2_dev = &dev->v4l2_dev; in s5p_mfc_probe()
1350 vfd->vfl_dir = VFL_DIR_M2M; in s5p_mfc_probe()
1351 snprintf(vfd->name, sizeof(vfd->name), "%s", S5P_MFC_DEC_NAME); in s5p_mfc_probe()
1352 dev->vfd_dec = vfd; in s5p_mfc_probe()
1353 video_set_drvdata(vfd, dev); in s5p_mfc_probe()
1356 vfd = video_device_alloc(); in s5p_mfc_probe()
1357 if (!vfd) { in s5p_mfc_probe()
1362 vfd->fops = &s5p_mfc_fops; in s5p_mfc_probe()
1363 vfd->ioctl_ops = get_enc_v4l2_ioctl_ops(); in s5p_mfc_probe()
1364 vfd->release = video_device_release; in s5p_mfc_probe()
1365 vfd->lock = &dev->mfc_mutex; in s5p_mfc_probe()
1366 vfd->v4l2_dev = &dev->v4l2_dev; in s5p_mfc_probe()
1367 vfd->vfl_dir = VFL_DIR_M2M; in s5p_mfc_probe()
1368 snprintf(vfd->name, sizeof(vfd->name), "%s", S5P_MFC_ENC_NAME); in s5p_mfc_probe()
1369 dev->vfd_enc = vfd; in s5p_mfc_probe()
1370 video_set_drvdata(vfd, dev); in s5p_mfc_probe()