Lines Matching refs:vfd
523 struct video_device *vfd; in saa7146_register_device() local
528 vfd = video_device_alloc(); in saa7146_register_device()
529 if (vfd == NULL) in saa7146_register_device()
532 memcpy(vfd, &device_template, sizeof(struct video_device)); in saa7146_register_device()
533 strlcpy(vfd->name, name, sizeof(vfd->name)); in saa7146_register_device()
534 vfd->release = video_device_release; in saa7146_register_device()
535 video_set_drvdata(vfd, dev); in saa7146_register_device()
538 if (video_register_device(vfd, type, -1) < 0) { in saa7146_register_device()
540 video_device_release(vfd); in saa7146_register_device()
545 vv->video_minor = vfd->minor; in saa7146_register_device()
547 dev->name, vfd->num)); in saa7146_register_device()
549 vv->vbi_minor = vfd->minor; in saa7146_register_device()
551 dev->name, vfd->num)); in saa7146_register_device()
554 *vid = vfd; in saa7146_register_device()