Home
last modified time | relevance | path

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

/linux/drivers/media/v4l2-core/
H A Dv4l2-dev.c110 static inline unsigned long *devnode_bits(enum vfl_devnode_type vfl_type) in devnode_bits() argument
115 int idx = (vfl_type > VFL_TYPE_RADIO) ? VFL_TYPE_MAX - 1 : vfl_type; in devnode_bits()
121 static inline unsigned long *devnode_bits(enum vfl_devnode_type vfl_type) in devnode_bits() argument
123 return devnode_nums[vfl_type]; in devnode_bits()
130 set_bit(vdev->num, devnode_bits(vdev->vfl_type)); in devnode_set()
136 clear_bit(vdev->num, devnode_bits(vdev->vfl_type)); in devnode_clear()
142 return find_next_zero_bit(devnode_bits(vdev->vfl_type), to, from); in devnode_find()
548 bool is_vid = vdev->vfl_type == VFL_TYPE_VIDEO && in determine_valid_ioctls()
550 bool is_vbi = vdev->vfl_type == VFL_TYPE_VBI; in determine_valid_ioctls()
551 bool is_radio = vdev->vfl_type == VFL_TYPE_RADIO; in determine_valid_ioctls()
[all …]
H A Dv4l2-ioctl.c932 bool is_vid = vfd->vfl_type == VFL_TYPE_VIDEO && in check_fmt()
934 bool is_vbi = vfd->vfl_type == VFL_TYPE_VBI; in check_fmt()
935 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in check_fmt()
936 bool is_tch = vfd->vfl_type == VFL_TYPE_TOUCH; in check_fmt()
937 bool is_meta = vfd->vfl_type == VFL_TYPE_VIDEO && in check_fmt()
1688 if (vfd->vfl_type == VFL_TYPE_TOUCH) in v4l_g_fmt()
1751 if (vfd->vfl_type == VFL_TYPE_TOUCH) in v4l_s_fmt()
1859 if (vfd->vfl_type == VFL_TYPE_TOUCH) in v4l_try_fmt()
1965 p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ? in v4l_g_tuner()
1983 p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ? in v4l_s_tuner()
[all …]
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-core.c282 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_hw_freq_seek()
291 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_enum_freq_bands()
293 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_enum_freq_bands()
302 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_g_tuner()
304 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_g_tuner()
313 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_tuner()
315 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_s_tuner()
325 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_g_frequency()
329 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_g_frequency()
339 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_frequency()
[all …]
/linux/drivers/media/pci/ivtv/
H A Divtv-streams.c94 int vfl_type; member
287 int vfl_type = ivtv_stream_info[type].vfl_type; in ivtv_reg_dev() local
310 if (video_register_device_no_warn(&s->vdev, vfl_type, num)) { in ivtv_reg_dev()
317 switch (vfl_type) { in ivtv_reg_dev()
/linux/drivers/media/pci/cx18/
H A Dcx18-streams.c53 int vfl_type; member
411 int vfl_type = cx18_stream_info[type].vfl_type; in cx18_reg_dev() local
439 ret = video_register_device_no_warn(&s->video_dev, vfl_type, num); in cx18_reg_dev()
449 switch (vfl_type) { in cx18_reg_dev()
/linux/include/media/
H A Dv4l2-dev.h288 enum vfl_devnode_type vfl_type; member
/linux/drivers/media/usb/dvb-usb/
H A 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()
/linux/drivers/media/common/saa7146/
H A Dsaa7146_fops.c189 if (vdev->vfl_type != VFL_TYPE_VBI || !dev->ext_vv_data->vbi_fops.write) in fops_write()
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-video.c938 if (vdev->vfl_type == VFL_TYPE_RADIO) { in video_open()
960 if (vdev->vfl_type == VFL_TYPE_RADIO) in video_release()
972 if (vdev->vfl_type == VFL_TYPE_RADIO) in video_release()
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-video.c1530 if (vdev->vfl_type == VFL_TYPE_RADIO) { in cx231xx_v4l2_open()
1537 if (vdev->vfl_type == VFL_TYPE_VBI) { in cx231xx_v4l2_open()
1606 if (!dev->board.no_alt_vanc && vdev->vfl_type == VFL_TYPE_VBI) { in cx231xx_close()
/linux/drivers/staging/most/video/
H A Dvideo.c75 switch (vdev->vfl_type) { in comp_vdev_open()
/linux/Documentation/driver-api/media/
H A Dv4l2-dev.rst57 :c:type:`v4l2_ioctl_ops` struct. The :c:type:`video_device`->vfl_type and
244 - :c:type:`video_device`->vfl_type: the device type passed to
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_histo.c527 histo->video.vfl_type = VFL_TYPE_VIDEO; in vsp1_histogram_init()
H A Dvsp1_video.c1221 video->video.vfl_type = VFL_TYPE_VIDEO; in vsp1_video_create()
/linux/drivers/media/usb/em28xx/
H A Dem28xx-video.c1121 if (owner && owner->vdev->vfl_type == VFL_TYPE_RADIO) in em28xx_start_analog_streaming()
2135 switch (vdev->vfl_type) { in em28xx_v4l2_open()
2167 if (vdev->vfl_type != VFL_TYPE_RADIO) in em28xx_v4l2_open()
2177 if (vdev->vfl_type == VFL_TYPE_RADIO) { in em28xx_v4l2_open()
/linux/Documentation/translations/zh_CN/video4linux/
H A Dv4l2-framework.txt695 - vfl_type: 传递给 video_register_device 的设备类型。
/linux/drivers/media/platform/xilinx/
H A Dxilinx-dma.c669 dma->video.vfl_type = VFL_TYPE_VIDEO; in xvip_dma_init()
/linux/drivers/media/usb/au0828/
H A Dau0828-video.c1042 if (vdev->vfl_type == VFL_TYPE_VIDEO && dev->vid_timeout_running) { in au0828_v4l2_close()
1046 } else if (vdev->vfl_type == VFL_TYPE_VBI && in au0828_v4l2_close()
/linux/drivers/staging/media/omap4iss/
H A Diss_video.c1235 video->video.vfl_type = VFL_TYPE_VIDEO; in omap4iss_video_init()
/linux/drivers/media/platform/ti/omap3isp/
H A Dispvideo.c1450 video->video.vfl_type = VFL_TYPE_VIDEO; in omap3isp_video_init()
/linux/drivers/staging/media/tegra-video/
H A Dvi.c1159 chan->video.vfl_type = VFL_TYPE_VIDEO; in tegra_channel_init()
/linux/drivers/media/platform/nuvoton/
H A Dnpcm-video.c1627 vdev->vfl_type = VFL_TYPE_VIDEO; in npcm_video_setup_video()
/linux/drivers/media/platform/aspeed/
H A Daspeed-video.c2054 vdev->vfl_type = VFL_TYPE_VIDEO; in aspeed_video_setup_video()