/Linux-v5.4/include/media/ |
D | v4l2-dev.h | 62 struct video_device; 256 struct video_device struct 298 void (*release)(struct video_device *vdev); argument 312 container_of(__entity, struct video_device, entity) 320 #define to_video_device(cd) container_of(cd, struct video_device, dev) 351 int __must_check __video_register_device(struct video_device *vdev, 373 static inline int __must_check video_register_device(struct video_device *vdev, in video_register_device() 401 video_register_device_no_warn(struct video_device *vdev, in video_register_device_no_warn() 414 void video_unregister_device(struct video_device *vdev); 421 struct video_device * __must_check video_device_alloc(void); [all …]
|
D | v4l2-mc.h | 57 int v4l_enable_media_source(struct video_device *vdev); 71 void v4l_disable_media_source(struct video_device *vdev); 133 static inline int v4l_enable_media_source(struct video_device *vdev) in v4l_enable_media_source() 138 static inline void v4l_disable_media_source(struct video_device *vdev) in v4l_disable_media_source()
|
D | v4l2-fh.h | 21 struct video_device; 44 struct video_device *vdev; 72 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev);
|
D | v4l2-event.h | 22 struct video_device; 106 void v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev);
|
/Linux-v5.4/Documentation/translations/zh_CN/video4linux/ |
D | v4l2-framework.txt | 42 长期以来,这个框架仅限于通过 video_device 结构体创建 V4L 设备节点, 85 实例的数据;一个 v4l2_subdev 结构体代表子设备实例;video_device 525 video_device结构体 528 在 /dev 目录下的实际设备节点根据 video_device 结构体(v4l2-dev.h) 533 struct video_device *vdev = video_device_alloc(); 542 struct video_device *vdev = &my_vdev->vdev; 546 release()回调必须被设置,且在最后一个 video_device 用户退出之后 581 video_device 配置后,就知道使用哪个父 PCI 设备了。 591 void v4l2_disable_ioctl(struct video_device *vdev, unsigned int cmd); 600 嵌入在 video_device 结构体中的 media_entity(entity 域)结构体: [all …]
|
/Linux-v5.4/Documentation/media/kapi/ |
D | v4l2-dev.rst | 7 :c:type:`video_device` struct (``v4l2-dev.h``). This struct can either be 14 struct video_device *vdev = video_device_alloc(); 26 struct video_device *vdev = &my_vdev->vdev; 40 You should also set these fields of :c:type:`video_device`: 42 - :c:type:`video_device`->v4l2_dev: must be set to the :c:type:`v4l2_device` 45 - :c:type:`video_device`->name: set to something descriptive and unique. 47 - :c:type:`video_device`->vfl_dir: set this to ``VFL_DIR_RX`` for capture 51 - :c:type:`video_device`->fops: set to the :c:type:`v4l2_file_operations` 54 - :c:type:`video_device`->ioctl_ops: if you use the :c:type:`v4l2_ioctl_ops` 57 :c:type:`v4l2_ioctl_ops` struct. The :c:type:`video_device`->vfl_type and [all …]
|
D | v4l2-fh.rst | 16 by testing the ``V4L2_FL_USES_V4L2_FH`` bit in :c:type:`video_device`->flags. 46 struct video_device *vfd; 79 (:c:type:`fh <v4l2_fh>`, :c:type:`vdev <video_device>`) 89 - Add a :c:type:`v4l2_fh` to :c:type:`video_device` file handle list. 95 - Unassociate the file handle from :c:type:`video_device`. The file handle 111 the struct :c:type:`video_device` associated with the file struct. 116 - This deletes it from the struct :c:type:`video_device` associated with the
|
/Linux-v5.4/drivers/usb/gadget/function/ |
D | uvc_v4l2.c | 66 struct video_device *vdev = video_devdata(file); in uvc_v4l2_querycap() 80 struct video_device *vdev = video_devdata(file); in uvc_v4l2_get_format() 99 struct video_device *vdev = video_devdata(file); in uvc_v4l2_set_format() 140 struct video_device *vdev = video_devdata(file); in uvc_v4l2_reqbufs() 153 struct video_device *vdev = video_devdata(file); in uvc_v4l2_querybuf() 163 struct video_device *vdev = video_devdata(file); in uvc_v4l2_qbuf() 178 struct video_device *vdev = video_devdata(file); in uvc_v4l2_dqbuf() 188 struct video_device *vdev = video_devdata(file); in uvc_v4l2_streamon() 214 struct video_device *vdev = video_devdata(file); in uvc_v4l2_streamoff() 245 struct video_device *vdev = video_devdata(file); in uvc_v4l2_ioctl_default() [all …]
|
/Linux-v5.4/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 48 struct video_device *vdev = to_video_device(cd); in index_show() 57 struct video_device *vdev = to_video_device(cd); in dev_debug_show() 65 struct video_device *vdev = to_video_device(cd); in dev_debug_store() 81 struct video_device *vdev = to_video_device(cd); in name_show() 93 ATTRIBUTE_GROUPS(video_device); 98 static struct video_device *video_devices[VIDEO_NUM_DEVICES]; 127 static inline void devnode_set(struct video_device *vdev) in devnode_set() 133 static inline void devnode_clear(struct video_device *vdev) in devnode_clear() 139 static inline int devnode_find(struct video_device *vdev, int from, int to) in devnode_find() 144 struct video_device *video_device_alloc(void) in video_device_alloc() [all …]
|
D | v4l2-ioctl.c | 935 struct video_device *vfd = video_devdata(file); in check_fmt() 1051 struct video_device *vfd = video_devdata(file); in v4l_querycap() 1081 struct video_device *vfd = video_devdata(file); in v4l_s_input() 1099 struct video_device *vfd; in v4l_g_priority() 1110 struct video_device *vfd; in v4l_s_priority() 1124 struct video_device *vfd = video_devdata(file); in v4l_enuminput() 1142 struct video_device *vfd = video_devdata(file); in v4l_enumoutput() 1404 struct video_device *vdev = video_devdata(file); in v4l_enum_fmt() 1566 struct video_device *vfd = video_devdata(file); in v4l_s_fmt() 1671 struct video_device *vfd = video_devdata(file); in v4l_try_fmt() [all …]
|
D | v4l2-fh.c | 21 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev) in v4l2_fh_init() 57 struct video_device *vdev = video_devdata(filp); in v4l2_fh_open()
|
/Linux-v5.4/drivers/acpi/ |
D | acpi_video.c | 1457 struct acpi_video_device *video_device; in acpi_video_get_edid() local 1468 video_device = video->attached_array[i].bind_info; in acpi_video_get_edid() 1471 if (!video_device) in acpi_video_get_edid() 1474 if (!video_device->cap._DDC) in acpi_video_get_edid() 1480 if (!video_device->flags.crt) in acpi_video_get_edid() 1484 if (!video_device->flags.tvout) in acpi_video_get_edid() 1488 if (!video_device->flags.dvi) in acpi_video_get_edid() 1492 if (!video_device->flags.lcd) in acpi_video_get_edid() 1496 } else if (video_device->device_id != device_id) { in acpi_video_get_edid() 1500 status = acpi_video_device_EDID(video_device, &buffer, length); in acpi_video_get_edid() [all …]
|
/Linux-v5.4/drivers/media/common/videobuf2/ |
D | videobuf2-v4l2.c | 874 struct video_device *vfd = video_devdata(file); in vb2_poll() 900 static inline bool vb2_queue_is_busy(struct video_device *vdev, struct file *file) in vb2_queue_is_busy() 910 struct video_device *vdev = video_devdata(file); in vb2_ioctl_reqbufs() 930 struct video_device *vdev = video_devdata(file); in vb2_ioctl_create_bufs() 957 struct video_device *vdev = video_devdata(file); in vb2_ioctl_prepare_buf() 967 struct video_device *vdev = video_devdata(file); in vb2_ioctl_querybuf() 976 struct video_device *vdev = video_devdata(file); in vb2_ioctl_qbuf() 986 struct video_device *vdev = video_devdata(file); in vb2_ioctl_dqbuf() 996 struct video_device *vdev = video_devdata(file); in vb2_ioctl_streamon() 1006 struct video_device *vdev = video_devdata(file); in vb2_ioctl_streamoff() [all …]
|
/Linux-v5.4/drivers/media/platform/vivid/ |
D | vivid-core.h | 142 struct video_device vid_cap_dev; 144 struct video_device vid_out_dev; 146 struct video_device vbi_cap_dev; 148 struct video_device vbi_out_dev; 150 struct video_device radio_rx_dev; 152 struct video_device radio_tx_dev; 154 struct video_device sdr_cap_dev;
|
D | vivid-core.c | 214 struct video_device *vdev = video_devdata(file); in vidioc_s_hw_freq_seek() 223 struct video_device *vdev = video_devdata(file); in vidioc_enum_freq_bands() 234 struct video_device *vdev = video_devdata(file); in vidioc_g_tuner() 245 struct video_device *vdev = video_devdata(file); in vidioc_s_tuner() 257 struct video_device *vdev = video_devdata(file); in vidioc_g_frequency() 271 struct video_device *vdev = video_devdata(file); in vidioc_s_frequency() 284 struct video_device *vdev = video_devdata(file); in vidioc_overlay() 293 struct video_device *vdev = video_devdata(file); in vidioc_g_fbuf() 302 struct video_device *vdev = video_devdata(file); in vidioc_s_fbuf() 311 struct video_device *vdev = video_devdata(file); in vidioc_s_std() [all …]
|
/Linux-v5.4/drivers/media/platform/vsp1/ |
D | vsp1_video.h | 36 struct video_device video; 49 static inline struct vsp1_video *to_vsp1_video(struct video_device *vdev) in to_vsp1_video()
|
D | vsp1_histo.h | 36 struct video_device video; 54 static inline struct vsp1_histogram *vdev_to_histo(struct video_device *vdev) in vdev_to_histo()
|
/Linux-v5.4/drivers/media/common/saa7146/ |
D | saa7146_fops.c | 198 struct video_device *vdev = video_devdata(file); in fops_open() 263 struct video_device *vdev = video_devdata(file); in fops_release() 293 struct video_device *vdev = video_devdata(file); in fops_mmap() 326 struct video_device *vdev = video_devdata(file); in __fops_poll() 365 struct video_device *vdev = video_devdata(file); in fops_poll() 376 struct video_device *vdev = video_devdata(file); in fops_read() 407 struct video_device *vdev = video_devdata(file); in fops_write() 591 int saa7146_register_device(struct video_device *vfd, struct saa7146_dev *dev, in saa7146_register_device() 634 int saa7146_unregister_device(struct video_device *vfd, struct saa7146_dev *dev) in saa7146_unregister_device()
|
/Linux-v5.4/drivers/media/pci/saa7134/ |
D | saa7134.h | 558 struct video_device *video_dev; 559 struct video_device *radio_dev; 560 struct video_device *vbi_dev; 621 struct video_device *empress_dev; 736 struct video_device *vdev = video_devdata(file); in is_empress() 803 extern struct video_device saa7134_video_template; 804 extern struct video_device saa7134_radio_template; 868 extern struct video_device saa7134_vbi_template;
|
/Linux-v5.4/include/media/drv-intf/ |
D | exynos-fimc.h | 137 struct video_device vdev; 147 struct video_device *vdev) in vdev_to_exynos_video_entity()
|
/Linux-v5.4/drivers/media/pci/cx88/ |
D | cx88.h | 473 struct video_device video_dev; 474 struct video_device vbi_dev; 475 struct video_device radio_dev; 555 struct video_device mpeg_dev; 644 struct video_device *vfd, 645 const struct video_device *template_,
|
/Linux-v5.4/drivers/media/platform/sti/bdisp/ |
D | bdisp.h | 137 struct video_device *vdev; 187 struct video_device vdev;
|
/Linux-v5.4/drivers/media/radio/si470x/ |
D | radio-si470x.h | 137 struct video_device videodev; 215 extern const struct video_device si470x_viddev_template;
|
/Linux-v5.4/drivers/media/usb/usbvision/ |
D | usbvision-video.c | 147 struct video_device *vdev = to_video_device(cd); in cd_to_usbvision() 161 struct video_device *vdev = to_video_device(cd); in show_model() 171 struct video_device *vdev = to_video_device(cd); in show_hue() 183 struct video_device *vdev = to_video_device(cd); in show_contrast() 195 struct video_device *vdev = to_video_device(cd); in show_brightness() 207 struct video_device *vdev = to_video_device(cd); in show_saturation() 219 struct video_device *vdev = to_video_device(cd); in show_streaming() 229 struct video_device *vdev = to_video_device(cd); in show_compression() 239 struct video_device *vdev = to_video_device(cd); in show_device_bridge() 245 static void usbvision_create_sysfs(struct video_device *vdev) in usbvision_create_sysfs() [all …]
|
/Linux-v5.4/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.h | 126 struct video_device *vfd_encoder; 127 struct video_device *vfd_decoder;
|