Home
last modified time | relevance | path

Searched refs:vfl_type (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-dev.c113 static inline unsigned long *devnode_bits(enum vfl_devnode_type vfl_type) in devnode_bits() argument
118 int idx = (vfl_type > VFL_TYPE_RADIO) ? VFL_TYPE_MAX - 1 : vfl_type; in devnode_bits()
124 static inline unsigned long *devnode_bits(enum vfl_devnode_type vfl_type) in devnode_bits() argument
126 return devnode_nums[vfl_type]; in devnode_bits()
133 set_bit(vdev->num, devnode_bits(vdev->vfl_type)); in devnode_set()
139 clear_bit(vdev->num, devnode_bits(vdev->vfl_type)); in devnode_clear()
145 return find_next_zero_bit(devnode_bits(vdev->vfl_type), to, from); in devnode_find()
528 bool is_vid = vdev->vfl_type == VFL_TYPE_GRABBER; in determine_valid_ioctls()
529 bool is_vbi = vdev->vfl_type == VFL_TYPE_VBI; in determine_valid_ioctls()
530 bool is_radio = vdev->vfl_type == VFL_TYPE_RADIO; in determine_valid_ioctls()
[all …]
Dv4l2-ioctl.c937 bool is_vid = vfd->vfl_type == VFL_TYPE_GRABBER; in check_fmt()
938 bool is_vbi = vfd->vfl_type == VFL_TYPE_VBI; in check_fmt()
939 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in check_fmt()
940 bool is_tch = vfd->vfl_type == VFL_TYPE_TOUCH; in check_fmt()
1530 if (vfd->vfl_type == VFL_TYPE_TOUCH) in v4l_s_fmt()
1706 p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ? in v4l_g_tuner()
1724 p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ? in v4l_s_tuner()
1736 if (vfd->vfl_type == VFL_TYPE_RADIO) in v4l_g_modulator()
1751 if (vfd->vfl_type == VFL_TYPE_RADIO) in v4l_s_modulator()
1763 if (vfd->vfl_type == VFL_TYPE_SDR) in v4l_g_frequency()
[all …]
/Linux-v4.19/drivers/media/common/saa7146/
Dsaa7146_fops.c229 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()
Dsaa7146_video.c464 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap()
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-core.c216 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_hw_freq_seek()
225 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_enum_freq_bands()
227 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_enum_freq_bands()
236 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_g_tuner()
238 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_g_tuner()
247 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_tuner()
249 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_s_tuner()
259 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_g_frequency()
263 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_g_frequency()
273 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_frequency()
[all …]
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-streams.c85 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-v4.19/drivers/media/pci/cx18/
Dcx18-streams.c53 int vfl_type; member
407 int vfl_type = cx18_stream_info[type].vfl_type; in cx18_reg_dev() local
434 ret = video_register_device_no_warn(&s->video_dev, vfl_type, num); in cx18_reg_dev()
444 switch (vfl_type) { in cx18_reg_dev()
/Linux-v4.19/include/media/
Dv4l2-dev.h273 enum vfl_devnode_type vfl_type; member
/Linux-v4.19/drivers/media/usb/em28xx/
Dem28xx-video.c1136 if (owner && owner->vdev->vfl_type == VFL_TYPE_RADIO) in em28xx_start_analog_streaming()
1927 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap()
1930 else if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_querycap()
2095 switch (vdev->vfl_type) { in em28xx_v4l2_open()
2127 if (vdev->vfl_type != VFL_TYPE_RADIO) in em28xx_v4l2_open()
2137 if (vdev->vfl_type == VFL_TYPE_RADIO) { in em28xx_v4l2_open()
/Linux-v4.19/drivers/media/pci/saa7134/
Dsaa7134-video.c1160 if (vdev->vfl_type == VFL_TYPE_RADIO) { in video_open()
1192 if (vdev->vfl_type == VFL_TYPE_RADIO) in video_release()
1204 if (vdev->vfl_type == VFL_TYPE_RADIO) in video_release()
1524 switch (vdev->vfl_type) { in saa7134_querycap()
1539 if (vdev->vfl_type == VFL_TYPE_RADIO) { in saa7134_querycap()
/Linux-v4.19/drivers/staging/most/video/
Dvideo.c76 switch (vdev->vfl_type) { in comp_vdev_open()
/Linux-v4.19/drivers/media/usb/au0828/
Dau0828-video.c1048 if (vdev->vfl_type == VFL_TYPE_GRABBER && dev->vid_timeout_running) { in au0828_v4l2_close()
1052 } else if (vdev->vfl_type == VFL_TYPE_VBI && in au0828_v4l2_close()
1203 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap()
/Linux-v4.19/Documentation/media/kapi/
Dv4l2-dev.rst55 :c:type:`v4l2_ioctl_ops` struct. The :c:type:`video_device`->vfl_type and
250 - :c:type:`video_device`->vfl_type: the device type passed to
/Linux-v4.19/drivers/media/platform/vsp1/
Dvsp1_histo.c556 histo->video.vfl_type = VFL_TYPE_GRABBER; in vsp1_histogram_init()
Dvsp1_video.c1311 video->video.vfl_type = VFL_TYPE_GRABBER; in vsp1_video_create()
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-video.c1560 if (vdev->vfl_type == VFL_TYPE_RADIO) in cx231xx_querycap()
1564 if (vdev->vfl_type == VFL_TYPE_VBI) in cx231xx_querycap()
1749 switch (vdev->vfl_type) { in cx231xx_v4l2_open()
/Linux-v4.19/drivers/media/platform/xilinx/
Dxilinx-dma.c700 dma->video.vfl_type = VFL_TYPE_GRABBER; in xvip_dma_init()
/Linux-v4.19/Documentation/translations/zh_CN/video4linux/
Dv4l2-framework.txt695 - vfl_type: 传递给 video_register_device 的设备类型。
/Linux-v4.19/drivers/media/usb/tm6000/
Dtm6000-video.c863 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap()
1309 switch (vdev->vfl_type) { in __tm6000_open()
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-driver.c2500 if (vdev->vfl_type == VFL_TYPE_GRABBER) in bttv_querycap()
2507 else if (vdev->vfl_type == VFL_TYPE_VBI) in bttv_querycap()
3023 if (vdev->vfl_type == VFL_TYPE_GRABBER) { in bttv_open()
3025 } else if (vdev->vfl_type == VFL_TYPE_VBI) { in bttv_open()
/Linux-v4.19/drivers/staging/media/omap4iss/
Diss_video.c1256 video->video.vfl_type = VFL_TYPE_GRABBER; in omap4iss_video_init()
/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c131 switch (fh->pdi->devbase.vfl_type) { in pvr2_querycap()
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispvideo.c1463 video->video.vfl_type = VFL_TYPE_GRABBER; in omap3isp_video_init()
/Linux-v4.19/drivers/media/pci/cx23885/
Dcx23885-video.c649 if (vdev->vfl_type == VFL_TYPE_VBI) in vidioc_querycap()
/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-video.c476 if (vdev->vfl_type == VFL_TYPE_GRABBER) in vidioc_querycap()

12