/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 105 static inline unsigned long *devnode_bits(int vfl_type) in devnode_bits() argument 110 int idx = (vfl_type > VFL_TYPE_RADIO) ? VFL_TYPE_MAX - 1 : vfl_type; in devnode_bits() 116 static inline unsigned long *devnode_bits(int vfl_type) in devnode_bits() argument 118 return devnode_nums[vfl_type]; in devnode_bits() 125 set_bit(vdev->num, devnode_bits(vdev->vfl_type)); in devnode_set() 131 clear_bit(vdev->num, devnode_bits(vdev->vfl_type)); in devnode_clear() 137 return find_next_zero_bit(devnode_bits(vdev->vfl_type), to, from); in devnode_find() 198 vdev->vfl_type != VFL_TYPE_SUBDEV) in v4l2_device_release() 523 bool is_vid = vdev->vfl_type == VFL_TYPE_GRABBER; in determine_valid_ioctls() 524 bool is_vbi = vdev->vfl_type == VFL_TYPE_VBI; in determine_valid_ioctls() [all …]
|
D | v4l2-ioctl.c | 923 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in check_fmt() 924 bool is_vbi = vfd->vfl_type == VFL_TYPE_VBI; in check_fmt() 925 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in check_fmt() 1296 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in v4l_enum_fmt() 1297 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in v4l_enum_fmt() 1349 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in v4l_g_fmt() 1350 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in v4l_g_fmt() 1445 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in v4l_s_fmt() 1446 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in v4l_s_fmt() 1529 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in v4l_try_fmt() [all …]
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-core.c | 210 if (vdev->vfl_type == VFL_TYPE_GRABBER && vdev->vfl_dir == VFL_DIR_RX) in vidioc_querycap() 212 if (vdev->vfl_type == VFL_TYPE_GRABBER && vdev->vfl_dir == VFL_DIR_TX) in vidioc_querycap() 214 else if (vdev->vfl_type == VFL_TYPE_VBI && vdev->vfl_dir == VFL_DIR_RX) in vidioc_querycap() 216 else if (vdev->vfl_type == VFL_TYPE_VBI && vdev->vfl_dir == VFL_DIR_TX) in vidioc_querycap() 218 else if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_querycap() 220 else if (vdev->vfl_type == VFL_TYPE_RADIO && vdev->vfl_dir == VFL_DIR_RX) in vidioc_querycap() 222 else if (vdev->vfl_type == VFL_TYPE_RADIO && vdev->vfl_dir == VFL_DIR_TX) in vidioc_querycap() 235 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_hw_freq_seek() 244 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_enum_freq_bands() 246 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_enum_freq_bands() [all …]
|
/linux-4.4.14/drivers/media/common/saa7146/ |
D | saa7146_fops.c | 229 if (vdev->vfl_type == VFL_TYPE_VBI) { in fops_open() 270 if (vdev->vfl_type == VFL_TYPE_VBI) { in fops_release() 297 switch (vdev->vfl_type) { in fops_mmap() 333 if (vdev->vfl_type == VFL_TYPE_VBI) { in __fops_poll() 379 switch (vdev->vfl_type) { in fops_read() 410 switch (vdev->vfl_type) { in fops_write()
|
D | saa7146_video.c | 461 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-streams.c | 85 int vfl_type; member 280 int vfl_type = ivtv_stream_info[type].vfl_type; in ivtv_reg_dev() local 298 if (video_register_device_no_warn(&s->vdev, vfl_type, num)) { in ivtv_reg_dev() 305 switch (vfl_type) { in ivtv_reg_dev()
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-streams.c | 58 int vfl_type; member 414 int vfl_type = cx18_stream_info[type].vfl_type; in cx18_reg_dev() local 441 ret = video_register_device_no_warn(&s->video_dev, vfl_type, num); in cx18_reg_dev() 451 switch (vfl_type) { in cx18_reg_dev()
|
/linux-4.4.14/include/media/ |
D | v4l2-dev.h | 112 int vfl_type; /* device type */ member
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 970 if (owner && owner->vdev->vfl_type == VFL_TYPE_RADIO) in em28xx_start_analog_streaming() 1723 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap() 1726 else if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_querycap() 1890 switch (vdev->vfl_type) { in em28xx_v4l2_open() 1921 if (vdev->vfl_type != VFL_TYPE_RADIO) in em28xx_v4l2_open() 1931 if (vdev->vfl_type == VFL_TYPE_RADIO) { in em28xx_v4l2_open()
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 1105 if (vdev->vfl_type == VFL_TYPE_RADIO) { in video_open() 1137 if (vdev->vfl_type == VFL_TYPE_RADIO) in video_release() 1149 if (vdev->vfl_type == VFL_TYPE_RADIO) in video_release() 1463 switch (vdev->vfl_type) { in saa7134_querycap() 1476 if (vdev->vfl_type == VFL_TYPE_RADIO) { in saa7134_querycap()
|
/linux-4.4.14/drivers/staging/most/aim-v4l2/ |
D | video.c | 84 switch (vdev->vfl_type) { in aim_vdev_open()
|
/linux-4.4.14/drivers/media/usb/au0828/ |
D | au0828-video.c | 998 if (vdev->vfl_type == VFL_TYPE_GRABBER && dev->vid_timeout_running) { in au0828_v4l2_close() 1002 } else if (vdev->vfl_type == VFL_TYPE_VBI && in au0828_v4l2_close() 1122 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap()
|
/linux-4.4.14/drivers/media/usb/cx231xx/ |
D | cx231xx-video.c | 1516 if (vdev->vfl_type == VFL_TYPE_RADIO) in cx231xx_querycap() 1520 if (vdev->vfl_type == VFL_TYPE_VBI) in cx231xx_querycap() 1705 switch (vdev->vfl_type) { in cx231xx_v4l2_open()
|
/linux-4.4.14/Documentation/zh_CN/video4linux/ |
D | v4l2-framework.txt | 695 - vfl_type: 传递给 video_register_device 的设备类型。
|
/linux-4.4.14/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 694 dma->video.vfl_type = VFL_TYPE_GRABBER; in xvip_dma_init()
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
D | tm6000-video.c | 883 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap() 1329 switch (vdev->vfl_type) { in __tm6000_open()
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 2514 if (vdev->vfl_type == VFL_TYPE_GRABBER) in bttv_querycap() 2521 else if (vdev->vfl_type == VFL_TYPE_VBI) in bttv_querycap() 3018 if (vdev->vfl_type == VFL_TYPE_GRABBER) { in bttv_open() 3020 } else if (vdev->vfl_type == VFL_TYPE_VBI) { in bttv_open()
|
/linux-4.4.14/drivers/staging/media/omap4iss/ |
D | iss_video.c | 1124 video->video.vfl_type = VFL_TYPE_GRABBER; in omap4iss_video_init()
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 153 switch (fh->pdi->devbase.vfl_type) { in pvr2_querycap()
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | cx23885-video.c | 629 if (vdev->vfl_type == VFL_TYPE_VBI) in vidioc_querycap()
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
D | vsp1_video.c | 1249 video->video.vfl_type = VFL_TYPE_GRABBER; in vsp1_video_init()
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | ispvideo.c | 1392 video->video.vfl_type = VFL_TYPE_GRABBER; in omap3isp_video_init()
|
/linux-4.4.14/drivers/media/usb/usbvision/ |
D | usbvision-video.c | 498 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-video.c | 807 switch (vdev->vfl_type) { in cx88_querycap()
|
/linux-4.4.14/Documentation/video4linux/ |
D | v4l2-framework.txt | 642 future!), then set this to your v4l2_ioctl_ops struct. The vfl_type and 810 - vfl_type: the device type passed to video_register_device.
|