| /OK3568_Linux_fs/kernel/include/media/ |
| H A D | v4l2-dev.h | 63 struct video_device; 266 struct video_device struct 308 void (*release)(struct video_device *vdev); argument 325 container_of(__entity, struct video_device, entity) 333 #define to_video_device(cd) container_of(cd, struct video_device, dev) 364 int __must_check __video_register_device(struct video_device *vdev, 386 static inline int __must_check video_register_device(struct video_device *vdev, in video_register_device() 414 video_register_device_no_warn(struct video_device *vdev, in video_register_device_no_warn() 427 void video_unregister_device(struct video_device *vdev); 434 struct video_device * __must_check video_device_alloc(void); [all …]
|
| H A D | v4l2-mc.h | 58 int v4l_enable_media_source(struct video_device *vdev); 72 void v4l_disable_media_source(struct video_device *vdev); 188 static inline int v4l_enable_media_source(struct video_device *vdev) in v4l_enable_media_source() 193 static inline void v4l_disable_media_source(struct video_device *vdev) in v4l_disable_media_source()
|
| H A D | v4l2-fh.h | 21 struct video_device; 44 struct video_device *vdev; 70 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev);
|
| H A D | v4l2-event.h | 22 struct video_device; 106 void v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev);
|
| /OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/video4linux/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/media/ |
| H A 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 …]
|
| H A 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 video_device associated with the file struct. 116 - This deletes it from the struct video_device associated with the
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | uvc_v4l2.c | 70 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() 185 struct video_device *vdev = video_devdata(file); in uvc_v4l2_dqbuf() 195 struct video_device *vdev = video_devdata(file); in uvc_v4l2_streamon() 233 struct video_device *vdev = video_devdata(file); in uvc_v4l2_streamoff() 303 struct video_device *vdev = video_devdata(file); in uvc_v4l2_ioctl_default() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/v4l2-core/ |
| H A 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 …]
|
| H A D | v4l2-ioctl.c | 976 struct video_device *vfd = video_devdata(file); in check_fmt() 1095 struct video_device *vfd = video_devdata(file); in v4l_querycap() 1125 struct video_device *vfd = video_devdata(file); in v4l_g_input() 1138 struct video_device *vfd = video_devdata(file); in v4l_g_output() 1151 struct video_device *vfd = video_devdata(file); in v4l_s_input() 1167 struct video_device *vfd = video_devdata(file); in v4l_s_output() 1178 struct video_device *vfd; in v4l_g_priority() 1189 struct video_device *vfd; in v4l_s_priority() 1203 struct video_device *vfd = video_devdata(file); in v4l_enuminput() 1229 struct video_device *vfd = video_devdata(file); in v4l_enumoutput() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/ |
| H A D | atomisp_cmd.h | 58 struct atomisp_video_pipe *atomisp_to_video_pipe(struct video_device *dev); 59 struct atomisp_acc_pipe *atomisp_to_acc_pipe(struct video_device *dev); 214 int atomisp_set_parameters(struct video_device *vdev, 333 int atomisp_get_fmt(struct video_device *vdev, struct v4l2_format *f); 336 int atomisp_try_fmt(struct video_device *vdev, struct v4l2_format *f, 339 int atomisp_set_fmt(struct video_device *vdev, struct v4l2_format *f); 340 int atomisp_set_fmt_file(struct video_device *vdev, struct v4l2_format *f); 426 int atomisp_get_invalid_frame_num(struct video_device *vdev,
|
| H A D | atomisp_ioctl.c | 547 struct video_device *vdev = video_devdata(file); in atomisp_querycap() 563 struct video_device *vdev = video_devdata(file); in atomisp_enum_input() 645 struct video_device *vdev = video_devdata(file); in atomisp_g_input() 667 struct video_device *vdev = video_devdata(file); in atomisp_s_input() 773 struct video_device *vdev = video_devdata(file); in atomisp_enum_fmt_cap() 841 struct video_device *vdev = video_devdata(file); in atomisp_g_fmt_cap() 855 struct video_device *vdev = video_devdata(file); in atomisp_g_fmt_file() 936 struct video_device *vdev = video_devdata(file); in atomisp_try_fmt_cap() 953 struct video_device *vdev = video_devdata(file); in atomisp_s_fmt_cap() 971 struct video_device *vdev = video_devdata(file); in atomisp_s_fmt_file() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | acpi_video.c | 1486 struct acpi_video_device *video_device; in acpi_video_get_edid() local 1497 video_device = video->attached_array[i].bind_info; in acpi_video_get_edid() 1500 if (!video_device) in acpi_video_get_edid() 1503 if (!video_device->cap._DDC) in acpi_video_get_edid() 1509 if (!video_device->flags.crt) in acpi_video_get_edid() 1513 if (!video_device->flags.tvout) in acpi_video_get_edid() 1517 if (!video_device->flags.dvi) in acpi_video_get_edid() 1521 if (!video_device->flags.lcd) in acpi_video_get_edid() 1525 } else if (video_device->device_id != device_id) { in acpi_video_get_edid() 1529 status = acpi_video_device_EDID(video_device, &buffer, length); in acpi_video_get_edid() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/ |
| H A D | vivid-core.h | 145 struct video_device vid_cap_dev; 147 struct video_device vid_out_dev; 149 struct video_device vbi_cap_dev; 151 struct video_device vbi_out_dev; 153 struct video_device radio_rx_dev; 155 struct video_device radio_tx_dev; 157 struct video_device sdr_cap_dev; 159 struct video_device meta_cap_dev; 161 struct video_device meta_out_dev; 163 struct video_device touch_cap_dev;
|
| H A D | vivid-core.c | 247 struct video_device *vdev = video_devdata(file); in vidioc_s_hw_freq_seek() 256 struct video_device *vdev = video_devdata(file); in vidioc_enum_freq_bands() 267 struct video_device *vdev = video_devdata(file); in vidioc_g_tuner() 278 struct video_device *vdev = video_devdata(file); in vidioc_s_tuner() 290 struct video_device *vdev = video_devdata(file); in vidioc_g_frequency() 304 struct video_device *vdev = video_devdata(file); in vidioc_s_frequency() 317 struct video_device *vdev = video_devdata(file); in vidioc_overlay() 326 struct video_device *vdev = video_devdata(file); in vidioc_g_fbuf() 357 struct video_device *vdev = video_devdata(file); in vidioc_s_fbuf() 366 struct video_device *vdev = video_devdata(file); in vidioc_s_std() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/common/videobuf2/ |
| H A D | videobuf2-v4l2.c | 955 struct video_device *vfd = video_devdata(file); in vb2_poll() 981 static inline bool vb2_queue_is_busy(struct video_device *vdev, struct file *file) in vb2_queue_is_busy() 991 struct video_device *vdev = video_devdata(file); in vb2_ioctl_reqbufs() 1011 struct video_device *vdev = video_devdata(file); in vb2_ioctl_create_bufs() 1038 struct video_device *vdev = video_devdata(file); in vb2_ioctl_prepare_buf() 1048 struct video_device *vdev = video_devdata(file); in vb2_ioctl_querybuf() 1057 struct video_device *vdev = video_devdata(file); in vb2_ioctl_qbuf() 1067 struct video_device *vdev = video_devdata(file); in vb2_ioctl_dqbuf() 1077 struct video_device *vdev = video_devdata(file); in vb2_ioctl_streamon() 1087 struct video_device *vdev = video_devdata(file); in vb2_ioctl_streamoff() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/zoran/ |
| H A D | zoran_card.h | 20 extern const struct video_device zoran_template; 26 extern void zoran_vdev_release(struct video_device *vdev);
|
| /OK3568_Linux_fs/kernel/drivers/media/common/saa7146/ |
| H A D | saa7146_fops.c | 196 struct video_device *vdev = video_devdata(file); in fops_open() 261 struct video_device *vdev = video_devdata(file); in fops_release() 291 struct video_device *vdev = video_devdata(file); in fops_mmap() 324 struct video_device *vdev = video_devdata(file); in __fops_poll() 363 struct video_device *vdev = video_devdata(file); in fops_poll() 374 struct video_device *vdev = video_devdata(file); in fops_read() 405 struct video_device *vdev = video_devdata(file); in fops_write() 589 int saa7146_register_device(struct video_device *vfd, struct saa7146_dev *dev, in saa7146_register_device() 632 int saa7146_unregister_device(struct video_device *vfd, struct saa7146_dev *dev) in saa7146_unregister_device()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/ |
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/saa7134/ |
| H A 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;
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/cx88/ |
| H A D | cx88.h | 474 struct video_device video_dev; 475 struct video_device vbi_dev; 476 struct video_device radio_dev; 556 struct video_device mpeg_dev; 645 struct video_device *vfd, 646 const struct video_device *template_,
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp1/ |
| H A D | common.h | 75 struct video_device vdev; 112 struct rkisp1_vdev_node *vdev_to_node(struct video_device *vdev) in vdev_to_node()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/ispp/ |
| H A D | params.c | 21 struct video_device *video = video_devdata(file); in rkispp_params_enum_fmt_meta_out() 35 struct video_device *video = video_devdata(file); in rkispp_params_g_fmt_meta_out() 52 struct video_device *vdev = video_devdata(file); in rkispp_params_querycap() 308 struct video_device *vdev = video_devdata(filp); in rkispp_param_fh_release() 388 struct video_device *vdev = &node->vdev; in rkispp_register_params_vdev() 456 struct video_device *vdev = &node->vdev; in rkispp_unregister_params_vdev()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/davinci/ |
| H A D | vpif_capture.c | 763 struct video_device *vdev = video_devdata(file); in vpif_querystd() 791 struct video_device *vdev = video_devdata(file); in vpif_g_std() 819 struct video_device *vdev = video_devdata(file); in vpif_s_std() 869 struct video_device *vdev = video_devdata(file); in vpif_enum_input() 891 struct video_device *vdev = video_devdata(file); in vpif_g_input() 907 struct video_device *vdev = video_devdata(file); in vpif_s_input() 932 struct video_device *vdev = video_devdata(file); in vpif_enum_fmt_vid_cap() 957 struct video_device *vdev = video_devdata(file); in vpif_try_fmt_vid_cap() 994 struct video_device *vdev = video_devdata(file); in vpif_g_fmt_vid_cap() 1050 struct video_device *vdev = video_devdata(file); in vpif_s_fmt_vid_cap() [all …]
|