Lines Matching refs:vfd
1078 struct video_device *vfd; in s5p_mfc_probe() local
1169 vfd = video_device_alloc(); in s5p_mfc_probe()
1170 if (!vfd) { in s5p_mfc_probe()
1175 vfd->fops = &s5p_mfc_fops; in s5p_mfc_probe()
1176 vfd->ioctl_ops = get_dec_v4l2_ioctl_ops(); in s5p_mfc_probe()
1177 vfd->release = video_device_release; in s5p_mfc_probe()
1178 vfd->lock = &dev->mfc_mutex; in s5p_mfc_probe()
1179 vfd->v4l2_dev = &dev->v4l2_dev; in s5p_mfc_probe()
1180 vfd->vfl_dir = VFL_DIR_M2M; in s5p_mfc_probe()
1181 snprintf(vfd->name, sizeof(vfd->name), "%s", S5P_MFC_DEC_NAME); in s5p_mfc_probe()
1182 dev->vfd_dec = vfd; in s5p_mfc_probe()
1183 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); in s5p_mfc_probe()
1186 video_device_release(vfd); in s5p_mfc_probe()
1190 "decoder registered as /dev/video%d\n", vfd->num); in s5p_mfc_probe()
1191 video_set_drvdata(vfd, dev); in s5p_mfc_probe()
1194 vfd = video_device_alloc(); in s5p_mfc_probe()
1195 if (!vfd) { in s5p_mfc_probe()
1200 vfd->fops = &s5p_mfc_fops; in s5p_mfc_probe()
1201 vfd->ioctl_ops = get_enc_v4l2_ioctl_ops(); in s5p_mfc_probe()
1202 vfd->release = video_device_release; in s5p_mfc_probe()
1203 vfd->lock = &dev->mfc_mutex; in s5p_mfc_probe()
1204 vfd->v4l2_dev = &dev->v4l2_dev; in s5p_mfc_probe()
1205 vfd->vfl_dir = VFL_DIR_M2M; in s5p_mfc_probe()
1206 snprintf(vfd->name, sizeof(vfd->name), "%s", S5P_MFC_ENC_NAME); in s5p_mfc_probe()
1207 dev->vfd_enc = vfd; in s5p_mfc_probe()
1208 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0); in s5p_mfc_probe()
1211 video_device_release(vfd); in s5p_mfc_probe()
1215 "encoder registered as /dev/video%d\n", vfd->num); in s5p_mfc_probe()
1216 video_set_drvdata(vfd, dev); in s5p_mfc_probe()