Home
last modified time | relevance | path

Searched refs:video_device (Results 1 – 25 of 255) sorted by relevance

1234567891011

/Linux-v4.19/include/media/
Dv4l2-dev.h62 struct video_device;
247 struct video_device struct
289 void (*release)(struct video_device *vdev); argument
303 container_of(__entity, struct video_device, entity)
311 #define to_video_device(cd) container_of(cd, struct video_device, dev)
342 int __must_check __video_register_device(struct video_device *vdev,
364 static inline int __must_check video_register_device(struct video_device *vdev, in video_register_device()
392 video_register_device_no_warn(struct video_device *vdev, in video_register_device_no_warn()
405 void video_unregister_device(struct video_device *vdev);
412 struct video_device * __must_check video_device_alloc(void);
[all …]
Dv4l2-mc.h144 int v4l_enable_media_source(struct video_device *vdev);
158 void v4l_disable_media_source(struct video_device *vdev);
220 static inline int v4l_enable_media_source(struct video_device *vdev) in v4l_enable_media_source()
225 static inline void v4l_disable_media_source(struct video_device *vdev) in v4l_disable_media_source()
Dv4l2-fh.h29 struct video_device;
52 struct video_device *vdev;
80 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev);
Dv4l2-event.h30 struct video_device;
112 void v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev);
/Linux-v4.19/Documentation/translations/zh_CN/video4linux/
Dv4l2-framework.txt42 长期以来,这个框架仅限于通过 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-v4.19/Documentation/media/kapi/
Dv4l2-dev.rst5 :c:type:`video_device` struct (``v4l2-dev.h``). This struct can either be
12 struct video_device *vdev = video_device_alloc();
24 struct video_device *vdev = &my_vdev->vdev;
38 You should also set these fields of :c:type:`video_device`:
40 - :c:type:`video_device`->v4l2_dev: must be set to the :c:type:`v4l2_device`
43 - :c:type:`video_device`->name: set to something descriptive and unique.
45 - :c:type:`video_device`->vfl_dir: set this to ``VFL_DIR_RX`` for capture
49 - :c:type:`video_device`->fops: set to the :c:type:`v4l2_file_operations`
52 - :c:type:`video_device`->ioctl_ops: if you use the :c:type:`v4l2_ioctl_ops`
55 :c:type:`v4l2_ioctl_ops` struct. The :c:type:`video_device`->vfl_type and
[all …]
Dv4l2-fh.rst14 by testing the ``V4L2_FL_USES_V4L2_FH`` bit in :c:type:`video_device`->flags.
44 struct video_device *vfd;
77 (:c:type:`fh <v4l2_fh>`, :c:type:`vdev <video_device>`)
87 - Add a :c:type:`v4l2_fh` to :c:type:`video_device` file handle list.
93 - Unassociate the file handle from :c:type:`video_device`. The file handle
109 the struct :c:type:`video_device` associated with the file struct.
114 - This deletes it from the struct :c:type:`video_device` associated with the
/Linux-v4.19/drivers/usb/gadget/function/
Duvc_v4l2.c66 struct video_device *vdev = video_devdata(file); in uvc_v4l2_querycap()
84 struct video_device *vdev = video_devdata(file); in uvc_v4l2_get_format()
103 struct video_device *vdev = video_devdata(file); in uvc_v4l2_set_format()
144 struct video_device *vdev = video_devdata(file); in uvc_v4l2_reqbufs()
157 struct video_device *vdev = video_devdata(file); in uvc_v4l2_querybuf()
167 struct video_device *vdev = video_devdata(file); in uvc_v4l2_qbuf()
182 struct video_device *vdev = video_devdata(file); in uvc_v4l2_dqbuf()
192 struct video_device *vdev = video_devdata(file); in uvc_v4l2_streamon()
218 struct video_device *vdev = video_devdata(file); in uvc_v4l2_streamoff()
249 struct video_device *vdev = video_devdata(file); in uvc_v4l2_ioctl_default()
[all …]
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-dev.c52 struct video_device *vdev = to_video_device(cd); in index_show()
61 struct video_device *vdev = to_video_device(cd); in dev_debug_show()
69 struct video_device *vdev = to_video_device(cd); in dev_debug_store()
85 struct video_device *vdev = to_video_device(cd); in name_show()
97 ATTRIBUTE_GROUPS(video_device);
102 static struct video_device *video_devices[VIDEO_NUM_DEVICES];
131 static inline void devnode_set(struct video_device *vdev) in devnode_set()
137 static inline void devnode_clear(struct video_device *vdev) in devnode_clear()
143 static inline int devnode_find(struct video_device *vdev, int from, int to) in devnode_find()
148 struct video_device *video_device_alloc(void) in video_device_alloc()
[all …]
Dv4l2-ioctl.c935 struct video_device *vfd = video_devdata(file); in check_fmt()
1041 struct video_device *vfd = video_devdata(file); in v4l_querycap()
1066 struct video_device *vfd = video_devdata(file); in v4l_s_input()
1084 struct video_device *vfd; in v4l_g_priority()
1095 struct video_device *vfd; in v4l_s_priority()
1109 struct video_device *vfd = video_devdata(file); in v4l_enuminput()
1127 struct video_device *vfd = video_devdata(file); in v4l_enumoutput()
1511 struct video_device *vfd = video_devdata(file); in v4l_s_fmt()
1702 struct video_device *vfd = video_devdata(file); in v4l_g_tuner()
1717 struct video_device *vfd = video_devdata(file); in v4l_s_tuner()
[all …]
/Linux-v4.19/drivers/media/common/videobuf2/
Dvideobuf2-v4l2.c678 struct video_device *vfd = video_devdata(file); in vb2_poll()
704 static inline bool vb2_queue_is_busy(struct video_device *vdev, struct file *file) in vb2_queue_is_busy()
714 struct video_device *vdev = video_devdata(file); in vb2_ioctl_reqbufs()
733 struct video_device *vdev = video_devdata(file); in vb2_ioctl_create_bufs()
759 struct video_device *vdev = video_devdata(file); in vb2_ioctl_prepare_buf()
769 struct video_device *vdev = video_devdata(file); in vb2_ioctl_querybuf()
778 struct video_device *vdev = video_devdata(file); in vb2_ioctl_qbuf()
788 struct video_device *vdev = video_devdata(file); in vb2_ioctl_dqbuf()
798 struct video_device *vdev = video_devdata(file); in vb2_ioctl_streamon()
808 struct video_device *vdev = video_devdata(file); in vb2_ioctl_streamoff()
[all …]
/Linux-v4.19/drivers/acpi/
Dacpi_video.c1441 struct acpi_video_device *video_device; in acpi_video_get_edid() local
1452 video_device = video->attached_array[i].bind_info; in acpi_video_get_edid()
1455 if (!video_device) in acpi_video_get_edid()
1458 if (!video_device->cap._DDC) in acpi_video_get_edid()
1464 if (!video_device->flags.crt) in acpi_video_get_edid()
1468 if (!video_device->flags.tvout) in acpi_video_get_edid()
1472 if (!video_device->flags.dvi) in acpi_video_get_edid()
1476 if (!video_device->flags.lcd) in acpi_video_get_edid()
1480 } else if (video_device->device_id != device_id) { in acpi_video_get_edid()
1484 status = acpi_video_device_EDID(video_device, &buffer, length); in acpi_video_get_edid()
[all …]
/Linux-v4.19/drivers/staging/media/zoran/
Dzoran_card.h40 extern const struct video_device zoran_template;
46 extern void zoran_vdev_release(struct video_device *vdev);
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-core.h146 struct video_device vid_cap_dev;
148 struct video_device vid_out_dev;
150 struct video_device vbi_cap_dev;
152 struct video_device vbi_out_dev;
154 struct video_device radio_rx_dev;
156 struct video_device radio_tx_dev;
158 struct video_device sdr_cap_dev;
Dvivid-core.c214 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-v4.19/drivers/media/platform/vsp1/
Dvsp1_video.h36 struct video_device video;
49 static inline struct vsp1_video *to_vsp1_video(struct video_device *vdev) in to_vsp1_video()
Dvsp1_histo.h36 struct video_device video;
54 static inline struct vsp1_histogram *vdev_to_histo(struct video_device *vdev) in vdev_to_histo()
/Linux-v4.19/drivers/media/common/saa7146/
Dsaa7146_fops.c197 struct video_device *vdev = video_devdata(file); in fops_open()
262 struct video_device *vdev = video_devdata(file); in fops_release()
292 struct video_device *vdev = video_devdata(file); in fops_mmap()
325 struct video_device *vdev = video_devdata(file); in __fops_poll()
364 struct video_device *vdev = video_devdata(file); in fops_poll()
375 struct video_device *vdev = video_devdata(file); in fops_read()
406 struct video_device *vdev = video_devdata(file); in fops_write()
590 int saa7146_register_device(struct video_device *vfd, struct saa7146_dev *dev, in saa7146_register_device()
624 int saa7146_unregister_device(struct video_device *vfd, struct saa7146_dev *dev) in saa7146_unregister_device()
/Linux-v4.19/include/media/drv-intf/
Dexynos-fimc.h142 struct video_device vdev;
152 struct video_device *vdev) in vdev_to_exynos_video_entity()
/Linux-v4.19/drivers/media/pci/saa7134/
Dsaa7134.h564 struct video_device *video_dev;
565 struct video_device *radio_dev;
566 struct video_device *vbi_dev;
627 struct video_device *empress_dev;
742 struct video_device *vdev = video_devdata(file); in is_empress()
809 extern struct video_device saa7134_video_template;
810 extern struct video_device saa7134_radio_template;
874 extern struct video_device saa7134_vbi_template;
/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-video.c160 struct video_device *vdev = to_video_device(cd); in cd_to_usbvision()
174 struct video_device *vdev = to_video_device(cd); in show_model()
184 struct video_device *vdev = to_video_device(cd); in show_hue()
196 struct video_device *vdev = to_video_device(cd); in show_contrast()
208 struct video_device *vdev = to_video_device(cd); in show_brightness()
220 struct video_device *vdev = to_video_device(cd); in show_saturation()
232 struct video_device *vdev = to_video_device(cd); in show_streaming()
242 struct video_device *vdev = to_video_device(cd); in show_compression()
252 struct video_device *vdev = to_video_device(cd); in show_device_bridge()
258 static void usbvision_create_sysfs(struct video_device *vdev) in usbvision_create_sysfs()
[all …]
/Linux-v4.19/drivers/media/radio/si470x/
Dradio-si470x.h146 struct video_device videodev;
223 extern const struct video_device si470x_viddev_template;
/Linux-v4.19/drivers/media/pci/cx88/
Dcx88.h483 struct video_device video_dev;
484 struct video_device vbi_dev;
485 struct video_device radio_dev;
565 struct video_device mpeg_dev;
654 struct video_device *vfd,
655 const struct video_device *template_,
/Linux-v4.19/drivers/media/platform/sti/bdisp/
Dbdisp.h137 struct video_device *vdev;
187 struct video_device vdev;
/Linux-v4.19/drivers/media/platform/s5p-jpeg/
Djpeg-core.h129 struct video_device *vfd_encoder;
130 struct video_device *vfd_decoder;

1234567891011