/linux-4.1.27/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 | 920 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in check_fmt() 921 bool is_vbi = vfd->vfl_type == VFL_TYPE_VBI; in check_fmt() 922 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in check_fmt() 1111 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in v4l_enum_fmt() 1112 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in v4l_enum_fmt() 1150 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in v4l_g_fmt() 1151 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in v4l_g_fmt() 1242 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in v4l_s_fmt() 1243 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in v4l_s_fmt() 1321 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in v4l_try_fmt() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/include/media/ |
D | v4l2-dev.h | 112 int vfl_type; /* device type */ member
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 968 if (vq->owner && vq->owner->vdev->vfl_type == VFL_TYPE_RADIO) in em28xx_start_analog_streaming() 1717 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap() 1720 else if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_querycap() 1884 switch (vdev->vfl_type) { in em28xx_v4l2_open() 1915 if (vdev->vfl_type != VFL_TYPE_RADIO) in em28xx_v4l2_open() 1925 if (vdev->vfl_type == VFL_TYPE_RADIO) { in em28xx_v4l2_open()
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 1097 if (vdev->vfl_type == VFL_TYPE_RADIO) { in video_open() 1129 if (vdev->vfl_type == VFL_TYPE_RADIO) in video_release() 1141 if (vdev->vfl_type == VFL_TYPE_RADIO) in video_release() 1455 switch (vdev->vfl_type) { in saa7134_querycap() 1468 if (vdev->vfl_type == VFL_TYPE_RADIO) { in saa7134_querycap()
|
/linux-4.1.27/drivers/media/usb/au0828/ |
D | au0828-video.c | 992 if (vdev->vfl_type == VFL_TYPE_GRABBER && dev->vid_timeout_running) { in au0828_v4l2_close() 996 } else if (vdev->vfl_type == VFL_TYPE_VBI && in au0828_v4l2_close() 1116 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap()
|
/linux-4.1.27/drivers/media/usb/cx231xx/ |
D | cx231xx-video.c | 1513 if (vdev->vfl_type == VFL_TYPE_RADIO) in cx231xx_querycap() 1517 if (vdev->vfl_type == VFL_TYPE_VBI) in cx231xx_querycap() 1702 switch (vdev->vfl_type) { in cx231xx_v4l2_open()
|
/linux-4.1.27/Documentation/zh_CN/video4linux/ |
D | v4l2-framework.txt | 695 - vfl_type: 传递给 video_register_device 的设备类型。
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 691 dma->video.vfl_type = VFL_TYPE_GRABBER; in xvip_dma_init()
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
D | tm6000-video.c | 884 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap() 1330 switch (vdev->vfl_type) { in __tm6000_open()
|
/linux-4.1.27/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() 3017 if (vdev->vfl_type == VFL_TYPE_GRABBER) { in bttv_open() 3019 } else if (vdev->vfl_type == VFL_TYPE_VBI) { in bttv_open()
|
/linux-4.1.27/drivers/staging/media/omap4iss/ |
D | iss_video.c | 1198 video->video.vfl_type = VFL_TYPE_GRABBER; in omap4iss_video_init()
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_video.c | 1167 video->video.vfl_type = VFL_TYPE_GRABBER; in vsp1_video_init()
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 153 switch (fh->pdi->devbase.vfl_type) { in pvr2_querycap()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885-video.c | 624 if (vdev->vfl_type == VFL_TYPE_VBI) in vidioc_querycap()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | ispvideo.c | 1392 video->video.vfl_type = VFL_TYPE_GRABBER; in omap3isp_video_init()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-video.c | 807 switch (vdev->vfl_type) { in cx88_querycap()
|
/linux-4.1.27/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.
|