Lines Matching refs:vfd
117 if (dev->vfd->debug >= (level)) \
216 struct video_device *vfd; member
1039 if (dev->vfd->minor == minor) in vivi_open()
1164 if (-1 != dev->vfd->minor) { in vivi_release()
1166 VIVI_MODULE_NAME, dev->vfd->num); in vivi_release()
1167 video_unregister_device(dev->vfd); in vivi_release()
1170 VIVI_MODULE_NAME, dev->vfd->num); in vivi_release()
1171 video_device_release(dev->vfd); in vivi_release()
1259 struct video_device *vfd; in vivi_init() local
1277 vfd = video_device_alloc(); in vivi_init()
1278 if (!vfd) { in vivi_init()
1283 *vfd = vivi_template; in vivi_init()
1285 ret = video_register_device(vfd, VFL_TYPE_GRABBER, video_nr); in vivi_init()
1287 video_device_release(vfd); in vivi_init()
1300 snprintf(vfd->name, sizeof(vfd->name), "%s (%i)", in vivi_init()
1301 vivi_template.name, vfd->minor); in vivi_init()
1306 dev->vfd = vfd; in vivi_init()
1308 VIVI_MODULE_NAME, vfd->num); in vivi_init()