Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-dev.c109 static inline unsigned long *devnode_bits(enum vfl_devnode_type vfl_type) in devnode_bits() argument
114 int idx = (vfl_type > VFL_TYPE_RADIO) ? VFL_TYPE_MAX - 1 : vfl_type; in devnode_bits()
120 static inline unsigned long *devnode_bits(enum vfl_devnode_type vfl_type) in devnode_bits() argument
122 return devnode_nums[vfl_type]; in devnode_bits()
129 set_bit(vdev->num, devnode_bits(vdev->vfl_type)); in devnode_set()
135 clear_bit(vdev->num, devnode_bits(vdev->vfl_type)); in devnode_clear()
141 return find_next_zero_bit(devnode_bits(vdev->vfl_type), to, from); in devnode_find()
545 bool is_vid = vdev->vfl_type == VFL_TYPE_VIDEO && in determine_valid_ioctls()
547 bool is_vbi = vdev->vfl_type == VFL_TYPE_VBI; in determine_valid_ioctls()
548 bool is_radio = vdev->vfl_type == VFL_TYPE_RADIO; in determine_valid_ioctls()
[all …]
Dv4l2-ioctl.c967 bool is_vid = vfd->vfl_type == VFL_TYPE_VIDEO && in check_fmt()
969 bool is_vbi = vfd->vfl_type == VFL_TYPE_VBI; in check_fmt()
970 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in check_fmt()
971 bool is_tch = vfd->vfl_type == VFL_TYPE_TOUCH; in check_fmt()
972 bool is_meta = vfd->vfl_type == VFL_TYPE_VIDEO && in check_fmt()
1625 if (vfd->vfl_type == VFL_TYPE_TOUCH) in v4l_g_fmt()
1688 if (vfd->vfl_type == VFL_TYPE_TOUCH) in v4l_s_fmt()
1790 if (vfd->vfl_type == VFL_TYPE_TOUCH) in v4l_try_fmt()
1890 p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ? in v4l_g_tuner()
1908 p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ? in v4l_s_tuner()
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-core.c249 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_hw_freq_seek()
258 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_enum_freq_bands()
260 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_enum_freq_bands()
269 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_g_tuner()
271 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_g_tuner()
280 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_tuner()
282 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_s_tuner()
292 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_g_frequency()
296 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_g_frequency()
306 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_frequency()
[all …]
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
Dsaa7146_fops.c228 if (vdev->vfl_type == VFL_TYPE_VBI) { in fops_open()
269 if (vdev->vfl_type == VFL_TYPE_VBI) { in fops_release()
296 switch (vdev->vfl_type) { in fops_mmap()
332 if (vdev->vfl_type == VFL_TYPE_VBI) { in __fops_poll()
378 switch (vdev->vfl_type) { in fops_read()
409 switch (vdev->vfl_type) { in fops_write()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-streams.c94 int vfl_type; member
287 int vfl_type = ivtv_stream_info[type].vfl_type; in ivtv_reg_dev() local
313 if (video_register_device_no_warn(&s->vdev, vfl_type, num)) { in ivtv_reg_dev()
320 switch (vfl_type) { in ivtv_reg_dev()
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
Dcx18-streams.c44 int vfl_type; member
398 int vfl_type = cx18_stream_info[type].vfl_type; in cx18_reg_dev() local
426 ret = video_register_device_no_warn(&s->video_dev, vfl_type, num); in cx18_reg_dev()
436 switch (vfl_type) { in cx18_reg_dev()
/kernel/linux/linux-5.10/include/media/
Dv4l2-dev.h289 enum vfl_devnode_type vfl_type; member
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Dcxusb-analog.c1226 if (vdev->vfl_type == VFL_TYPE_VIDEO) in cxusb_medion_g_tuner()
1262 if (vdev->vfl_type == VFL_TYPE_VIDEO) in cxusb_medion_g_tuner()
1295 if (vdev->vfl_type == VFL_TYPE_VIDEO) in cxusb_medion_s_tuner()
1338 if (vdev->vfl_type == VFL_TYPE_VIDEO) in cxusb_medion_s_frequency()
1567 if (vdev->vfl_type == VFL_TYPE_VIDEO) in cxusb_videoradio_release()
/kernel/linux/linux-5.10/drivers/staging/most/video/
Dvideo.c75 switch (vdev->vfl_type) { in comp_vdev_open()
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-video.c1529 if (vdev->vfl_type == VFL_TYPE_RADIO) { in cx231xx_v4l2_open()
1536 if (vdev->vfl_type == VFL_TYPE_VBI) { in cx231xx_v4l2_open()
1605 if (!dev->board.no_alt_vanc && vdev->vfl_type == VFL_TYPE_VBI) { in cx231xx_close()
/kernel/linux/linux-5.10/Documentation/driver-api/media/
Dv4l2-dev.rst57 :c:type:`v4l2_ioctl_ops` struct. The :c:type:`video_device`->vfl_type and
252 - :c:type:`video_device`->vfl_type: the device type passed to
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/
Dem28xx-video.c1131 if (owner && owner->vdev->vfl_type == VFL_TYPE_RADIO) in em28xx_start_analog_streaming()
2143 switch (vdev->vfl_type) { in em28xx_v4l2_open()
2175 if (vdev->vfl_type != VFL_TYPE_RADIO) in em28xx_v4l2_open()
2185 if (vdev->vfl_type == VFL_TYPE_RADIO) { in em28xx_v4l2_open()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c653 vdev->vfl_type = VFL_TYPE_VIDEO; in sun6i_video_init()
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_histo.c554 histo->video.vfl_type = VFL_TYPE_VIDEO; in vsp1_histogram_init()
Dvsp1_video.c1296 video->video.vfl_type = VFL_TYPE_VIDEO; in vsp1_video_create()
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/
Dxilinx-dma.c688 dma->video.vfl_type = VFL_TYPE_VIDEO; in xvip_dma_init()
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/video4linux/
Dv4l2-framework.txt695 - vfl_type: 传递给 video_register_device 的设备类型。
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-video.c1136 if (vdev->vfl_type == VFL_TYPE_RADIO) { in video_open()
1168 if (vdev->vfl_type == VFL_TYPE_RADIO) in video_release()
1180 if (vdev->vfl_type == VFL_TYPE_RADIO) in video_release()
/kernel/linux/linux-5.10/drivers/media/usb/au0828/
Dau0828-video.c1045 if (vdev->vfl_type == VFL_TYPE_VIDEO && dev->vid_timeout_running) { in au0828_v4l2_close()
1049 } else if (vdev->vfl_type == VFL_TYPE_VBI && in au0828_v4l2_close()
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/
Diss_video.c1245 video->video.vfl_type = VFL_TYPE_VIDEO; in omap4iss_video_init()
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Dispvideo.c1455 video->video.vfl_type = VFL_TYPE_VIDEO; in omap3isp_video_init()
/kernel/linux/linux-5.10/drivers/media/platform/
Daspeed-video.c1591 vdev->vfl_type = VFL_TYPE_VIDEO; in aspeed_video_setup_video()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/
Dvi.c1023 chan->video.vfl_type = VFL_TYPE_VIDEO; in tegra_channel_init()
/kernel/linux/linux-5.10/drivers/media/usb/tm6000/
Dtm6000-video.c1302 switch (vdev->vfl_type) { in __tm6000_open()
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbttv-driver.c2967 if (vdev->vfl_type == VFL_TYPE_VIDEO) { in bttv_open()
2969 } else if (vdev->vfl_type == VFL_TYPE_VBI) { in bttv_open()

12