/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-dev.c | 104 /* Note: these utility functions all assume that vfl_type is in the range 108 /* Return the bitmap corresponding to vfl_type. */ 109 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() 119 /* Return the bitmap corresponding to vfl_type. */ 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() [all...] |
H A D | v4l2-ioctl.c | 967 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 in v4l_s_tuner() [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-dev.c | 105 /* Note: these utility functions all assume that vfl_type is in the range 109 /* Return the bitmap corresponding to vfl_type. */ 110 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() 120 /* Return the bitmap corresponding to vfl_type. */ 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() [all...] |
H A D | v4l2-ioctl.c | 923 bool is_vid = vfd->vfl_type == VFL_TYPE_VIDEO && in check_fmt() 925 bool is_vbi = vfd->vfl_type == VFL_TYPE_VBI; in check_fmt() 926 bool is_sdr = vfd->vfl_type == VFL_TYPE_SDR; in check_fmt() 927 bool is_tch = vfd->vfl_type == VFL_TYPE_TOUCH; in check_fmt() 928 bool is_meta = vfd->vfl_type == VFL_TYPE_VIDEO && in check_fmt() 1640 if (vfd->vfl_type == VFL_TYPE_TOUCH) in v4l_g_fmt() 1703 if (vfd->vfl_type == VFL_TYPE_TOUCH) in v4l_s_fmt() 1811 if (vfd->vfl_type == VFL_TYPE_TOUCH) in v4l_try_fmt() 1917 p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ? in v4l_g_tuner() 1935 p->type = (vfd->vfl_type in v4l_s_tuner() [all...] |
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-core.c | 249 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 in vidioc_s_frequency() [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
H A D | vivid-core.c | 258 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_hw_freq_seek() 267 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_enum_freq_bands() 269 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_enum_freq_bands() 278 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_g_tuner() 280 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_g_tuner() 289 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_s_tuner() 291 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_s_tuner() 301 if (vdev->vfl_type == VFL_TYPE_RADIO) in vidioc_g_frequency() 305 if (vdev->vfl_type == VFL_TYPE_SDR) in vidioc_g_frequency() 315 if (vdev->vfl_type in vidioc_s_frequency() [all...] |
/kernel/linux/linux-5.10/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 228 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/cx18/ |
H A D | cx18-streams.c | 44 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/drivers/media/pci/ivtv/ |
H A D | ivtv-streams.c | 94 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()
|
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-streams.c | 94 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()
|
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-streams.c | 53 int vfl_type; member 410 int vfl_type = cx18_stream_info[type].vfl_type; in cx18_reg_dev() local 438 ret = video_register_device_no_warn(&s->video_dev, vfl_type, num); in cx18_reg_dev() 448 switch (vfl_type) { in cx18_reg_dev()
|
/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-dev.h | 241 * @vfl_type: V4L device type, as defined by &enum vfl_devnode_type 289 enum vfl_devnode_type vfl_type; member
|
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-dev.h | 241 * @vfl_type: V4L device type, as defined by &enum vfl_devnode_type 288 enum vfl_devnode_type vfl_type; member
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
H A D | cxusb-analog.c | 1226 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-6.6/drivers/media/usb/dvb-usb/ |
H A D | cxusb-analog.c | 1226 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/ |
H A D | video.c | 75 switch (vdev->vfl_type) { in comp_vdev_open()
|
/kernel/linux/linux-6.6/drivers/staging/most/video/ |
H A D | video.c | 75 switch (vdev->vfl_type) { in comp_vdev_open()
|
/kernel/linux/linux-6.6/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 189 if (vdev->vfl_type != VFL_TYPE_VBI || !dev->ext_vv_data->vbi_fops.write) in fops_write()
|
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/ |
H A D | em28xx-video.c | 1131 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-6.6/drivers/media/usb/em28xx/ |
H A D | em28xx-video.c | 1121 if (owner && owner->vdev->vfl_type == VFL_TYPE_RADIO) in em28xx_start_analog_streaming() 2133 switch (vdev->vfl_type) { in em28xx_v4l2_open() 2165 if (vdev->vfl_type != VFL_TYPE_RADIO) in em28xx_v4l2_open() 2175 if (vdev->vfl_type == VFL_TYPE_RADIO) { in em28xx_v4l2_open()
|
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
H A D | cx231xx-video.c | 1529 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-6.6/drivers/media/usb/cx231xx/ |
H A D | cx231xx-video.c | 1529 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-6.6/drivers/media/pci/saa7134/ |
H A D | saa7134-video.c | 938 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()
|
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_video.c | 653 vdev->vfl_type = VFL_TYPE_VIDEO; in sun6i_video_init()
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_histo.c | 554 histo->video.vfl_type = VFL_TYPE_VIDEO; in vsp1_histogram_init()
|