/drivers/char/ |
D | briq_panel.c | 36 static unsigned char vfd[40]; variable 47 outb(vfd[i], BRIQ_PANEL_VFD_IOPORT + 1); in update_vfd() 52 outb(vfd[i], BRIQ_PANEL_VFD_IOPORT + 1); in update_vfd() 130 vfd[i] = vfd[i+20]; in scroll_vfd() 131 vfd[i+20] = ' '; in scroll_vfd() 159 vfd[i] = ' '; in briq_panel_write() 174 vfd[vfd_cursor++] = c; in briq_panel_write() 235 vfd[i]=' '; in briq_panel_init() 237 vfd[0] = 'L'; in briq_panel_init() 238 vfd[1] = 'o'; in briq_panel_init() [all …]
|
/drivers/media/video/ |
D | v4l2-ioctl.c | 31 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) { \ 32 printk(KERN_DEBUG "%s: ", vfd->name); \ 40 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) \ 41 printk(KERN_DEBUG "%s: " fmt, vfd->name, ## arg);\ 489 static void dbgbuf(unsigned int cmd, struct video_device *vfd, in dbgbuf() argument 513 static inline void dbgrect(struct video_device *vfd, char *s, in dbgrect() argument 520 static inline void v4l_print_pix_fmt(struct video_device *vfd, in v4l_print_pix_fmt() argument 535 struct video_device *vfd, struct v4l2_ext_controls *c, int show_vals) in v4l_print_ext_ctrls() argument 539 if (!(vfd->debug & V4L2_DEBUG_IOCTL_ARG)) in v4l_print_ext_ctrls() 629 struct video_device *vfd = video_devdata(file); in __video_do_ioctl() local [all …]
|
D | vivi.c | 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() [all …]
|
D | omap24xxcam.c | 993 strlcpy(cap->card, cam->vfd->name, sizeof(cap->card)); in vidioc_querycap() 1464 if (!cam || !cam->vfd || (cam->vfd->minor != minor)) in omap24xxcam_open() 1641 struct video_device *vfd; in omap24xxcam_device_register() local 1657 vfd = cam->vfd = video_device_alloc(); in omap24xxcam_device_register() 1658 if (!vfd) { in omap24xxcam_device_register() 1663 vfd->release = video_device_release; in omap24xxcam_device_register() 1665 vfd->parent = cam->dev; in omap24xxcam_device_register() 1667 strlcpy(vfd->name, CAM_NAME, sizeof(vfd->name)); in omap24xxcam_device_register() 1668 vfd->vfl_type = VID_TYPE_CAPTURE | VID_TYPE_CHROMAKEY; in omap24xxcam_device_register() 1669 vfd->fops = &omap24xxcam_fops; in omap24xxcam_device_register() [all …]
|
D | arv.c | 733 void ar_release(struct video_device *vfd) in ar_release() argument 735 struct ar_device *ar = video_get_drvdata(vfd); in ar_release() 737 video_device_release(vfd); in ar_release()
|
D | omap24xxcam.h | 501 struct video_device *vfd; member
|
/drivers/media/common/ |
D | saa7146_fops.c | 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() [all …]
|
/drivers/media/video/cx88/ |
D | cx88-core.c | 1007 struct video_device *vfd; in cx88_vdev_init() local 1009 vfd = video_device_alloc(); in cx88_vdev_init() 1010 if (NULL == vfd) in cx88_vdev_init() 1012 *vfd = *template; in cx88_vdev_init() 1013 vfd->minor = -1; in cx88_vdev_init() 1014 vfd->parent = &pci->dev; in cx88_vdev_init() 1015 vfd->release = video_device_release; in cx88_vdev_init() 1016 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", in cx88_vdev_init() 1018 return vfd; in cx88_vdev_init()
|
/drivers/media/video/saa7134/ |
D | saa7134-core.c | 774 struct video_device *vfd; in vdev_init() local 776 vfd = video_device_alloc(); in vdev_init() 777 if (NULL == vfd) in vdev_init() 779 *vfd = *template; in vdev_init() 780 vfd->minor = -1; in vdev_init() 781 vfd->parent = &dev->pci->dev; in vdev_init() 782 vfd->release = video_device_release; in vdev_init() 783 vfd->debug = video_debug; in vdev_init() 784 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", in vdev_init() 786 return vfd; in vdev_init()
|
/drivers/media/video/cx23885/ |
D | cx23885-417.c | 1763 struct video_device *vfd; in cx23885_video_dev_alloc() local 1768 vfd = video_device_alloc(); in cx23885_video_dev_alloc() 1769 if (NULL == vfd) in cx23885_video_dev_alloc() 1771 *vfd = *template; in cx23885_video_dev_alloc() 1772 vfd->minor = -1; in cx23885_video_dev_alloc() 1773 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", dev->name, in cx23885_video_dev_alloc() 1775 vfd->parent = &pci->dev; in cx23885_video_dev_alloc() 1776 vfd->release = video_device_release; in cx23885_video_dev_alloc() 1777 return vfd; in cx23885_video_dev_alloc()
|
D | cx23885-video.c | 320 struct video_device *vfd; in cx23885_vdev_init() local 323 vfd = video_device_alloc(); in cx23885_vdev_init() 324 if (NULL == vfd) in cx23885_vdev_init() 326 *vfd = *template; in cx23885_vdev_init() 327 vfd->minor = -1; in cx23885_vdev_init() 328 vfd->parent = &pci->dev; in cx23885_vdev_init() 329 vfd->release = video_device_release; in cx23885_vdev_init() 330 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", in cx23885_vdev_init() 332 return vfd; in cx23885_vdev_init()
|
/drivers/media/video/usbvision/ |
D | usbvision-video.c | 930 struct v4l2_fmtdesc *vfd) in vidioc_enum_fmt_vid_cap() argument 932 if(vfd->index>=USBVISION_SUPPORTED_PALETTES-1) { in vidioc_enum_fmt_vid_cap() 935 vfd->flags = 0; in vidioc_enum_fmt_vid_cap() 936 vfd->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in vidioc_enum_fmt_vid_cap() 937 strcpy(vfd->description,usbvision_v4l2_format[vfd->index].desc); in vidioc_enum_fmt_vid_cap() 938 vfd->pixelformat = usbvision_v4l2_format[vfd->index].format; in vidioc_enum_fmt_vid_cap() 939 memset(vfd->reserved, 0, sizeof(vfd->reserved)); in vidioc_enum_fmt_vid_cap()
|
/drivers/media/video/em28xx/ |
D | em28xx-video.c | 1940 struct video_device *vfd; in em28xx_vdev_init() local 1942 vfd = video_device_alloc(); in em28xx_vdev_init() 1943 if (NULL == vfd) in em28xx_vdev_init() 1945 *vfd = *template; in em28xx_vdev_init() 1946 vfd->minor = -1; in em28xx_vdev_init() 1947 vfd->parent = &dev->udev->dev; in em28xx_vdev_init() 1948 vfd->release = video_device_release; in em28xx_vdev_init() 1949 vfd->debug = video_debug; in em28xx_vdev_init() 1951 snprintf(vfd->name, sizeof(vfd->name), "%s %s", in em28xx_vdev_init() 1954 return vfd; in em28xx_vdev_init()
|
/drivers/media/video/cx18/ |
D | cx18-ioctl.c | 778 struct video_device *vfd = video_devdata(filp); in cx18_v4l2_ioctl() local 786 vfd->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG; in cx18_v4l2_ioctl() 788 vfd->debug = 0; in cx18_v4l2_ioctl()
|
/drivers/media/video/bt8xx/ |
D | bttv-driver.c | 169 struct video_device *vfd = container_of(cd, struct video_device, dev); in show_card() local 170 struct bttv *btv = dev_get_drvdata(vfd->parent); in show_card() 4191 struct video_device *vfd; in vdev_init() local 4193 vfd = video_device_alloc(); in vdev_init() 4194 if (NULL == vfd) in vdev_init() 4196 *vfd = *template; in vdev_init() 4197 vfd->minor = -1; in vdev_init() 4198 vfd->parent = &btv->c.pci->dev; in vdev_init() 4199 vfd->release = video_device_release; in vdev_init() 4200 vfd->debug = bttv_debug; in vdev_init() [all …]
|
/drivers/staging/go7007/ |
D | go7007-v4l2.c | 1775 static void go7007_vfl_release(struct video_device *vfd) in go7007_vfl_release() argument 1777 struct go7007 *go = video_get_drvdata(vfd); in go7007_vfl_release() 1779 video_device_release(vfd); in go7007_vfl_release()
|
/drivers/media/video/ivtv/ |
D | ivtv-ioctl.c | 1772 struct video_device *vfd = video_devdata(filp); in ivtv_serialized_ioctl() local 1830 vfd->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG; in ivtv_serialized_ioctl() 1832 vfd->debug = 0; in ivtv_serialized_ioctl()
|
/drivers/media/video/gspca/ |
D | gspca.c | 870 static void gspca_release(struct video_device *vfd) in gspca_release() argument 872 struct gspca_dev *gspca_dev = container_of(vfd, struct gspca_dev, vdev); in gspca_release()
|