/linux-6.12.1/include/media/ |
D | v4l2-dev.h | 62 struct video_device; 263 struct video_device { struct 304 void (*release)(struct video_device *vdev); argument 318 container_of(__entity, struct video_device, entity) 326 #define to_video_device(cd) container_of(cd, struct video_device, dev) 357 int __must_check __video_register_device(struct video_device *vdev, 379 static inline int __must_check video_register_device(struct video_device *vdev, in video_register_device() 407 video_register_device_no_warn(struct video_device *vdev, in video_register_device_no_warn() 420 void video_unregister_device(struct video_device *vdev); 427 struct video_device * __must_check video_device_alloc(void); [all …]
|
D | v4l2-mc.h | 58 int v4l_enable_media_source(struct video_device *vdev); 72 void v4l_disable_media_source(struct video_device *vdev); 203 static inline int v4l_enable_media_source(struct video_device *vdev) in v4l_enable_media_source() 208 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; 70 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); 130 void v4l2_event_wake_all(struct video_device *vdev);
|
/linux-6.12.1/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-6.12.1/drivers/media/pci/mgb4/ |
D | mgb4_sysfs_in.c | 22 struct video_device *vdev = to_video_device(dev); in input_id_show() 31 struct video_device *vdev = to_video_device(dev); in oldi_lane_width_show() 69 struct video_device *vdev = to_video_device(dev); in oldi_lane_width_store() 120 struct video_device *vdev = to_video_device(dev); in color_mapping_show() 136 struct video_device *vdev = to_video_device(dev); in color_mapping_store() 166 struct video_device *vdev = to_video_device(dev); in link_status_show() 177 struct video_device *vdev = to_video_device(dev); in stream_status_show() 189 struct video_device *vdev = to_video_device(dev); in video_width_show() 200 struct video_device *vdev = to_video_device(dev); in video_height_show() 211 struct video_device *vdev = to_video_device(dev); in hsync_status_show() [all …]
|
D | mgb4_sysfs_out.c | 39 static bool is_busy(struct video_device *dev) in is_busy() 55 struct video_device *vdev = to_video_device(dev); in output_id_show() 64 struct video_device *vdev = to_video_device(dev); in video_source_show() 88 struct video_device *vdev = to_video_device(dev); in video_source_store() 149 struct video_device *vdev = to_video_device(dev); in display_width_show() 161 struct video_device *vdev = to_video_device(dev); in display_width_store() 189 struct video_device *vdev = to_video_device(dev); in display_height_show() 201 struct video_device *vdev = to_video_device(dev); in display_height_store() 229 struct video_device *vdev = to_video_device(dev); in frame_rate_show() 245 struct video_device *vdev = to_video_device(dev); in frame_rate_store() [all …]
|
/linux-6.12.1/Documentation/driver-api/media/ |
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 video_device associated with the file struct. 116 - This deletes it from the struct video_device associated with the
|
/linux-6.12.1/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 49 struct video_device *vdev = to_video_device(cd); in index_show() 58 struct video_device *vdev = to_video_device(cd); in dev_debug_show() 66 struct video_device *vdev = to_video_device(cd); in dev_debug_store() 82 struct video_device *vdev = to_video_device(cd); in name_show() 94 ATTRIBUTE_GROUPS(video_device); 99 static struct video_device *video_devices[VIDEO_NUM_DEVICES]; 128 static inline void devnode_set(struct video_device *vdev) in devnode_set() 134 static inline void devnode_clear(struct video_device *vdev) in devnode_clear() 140 static inline int devnode_find(struct video_device *vdev, int from, int to) in devnode_find() 145 struct video_device *video_device_alloc(void) in video_device_alloc() [all …]
|
D | v4l2-ctrls-priv.h | 78 struct video_device *vdev); 82 struct video_device *vdev, bool set); 87 int v4l2_g_ext_ctrls_request(struct v4l2_ctrl_handler *hdl, struct video_device *vdev, 91 struct video_device *vdev,
|
D | v4l2-ioctl.c | 930 struct video_device *vfd = video_devdata(file); in check_fmt() 1094 struct video_device *vfd = video_devdata(file); in v4l_querycap() 1127 struct video_device *vfd = video_devdata(file); in v4l_g_input() 1140 struct video_device *vfd = video_devdata(file); in v4l_g_output() 1153 struct video_device *vfd = video_devdata(file); in v4l_s_input() 1169 struct video_device *vfd = video_devdata(file); in v4l_s_output() 1180 struct video_device *vfd; in v4l_g_priority() 1191 struct video_device *vfd; in v4l_s_priority() 1205 struct video_device *vfd = video_devdata(file); in v4l_enuminput() 1231 struct video_device *vfd = video_devdata(file); in v4l_enumoutput() [all …]
|
/linux-6.12.1/drivers/usb/gadget/function/ |
D | uvc_v4l2.c | 208 struct video_device *vdev = video_devdata(file); in uvc_v4l2_querycap() 222 struct video_device *vdev = video_devdata(file); in uvc_v4l2_get_format() 241 struct video_device *vdev = video_devdata(file); in uvc_v4l2_try_format() 299 struct video_device *vdev = video_devdata(file); in uvc_v4l2_set_format() 321 struct video_device *vdev = video_devdata(file); in uvc_v4l2_enum_frameintervals() 360 struct video_device *vdev = video_devdata(file); in uvc_v4l2_enum_framesizes() 386 struct video_device *vdev = video_devdata(file); in uvc_v4l2_enum_format() 410 struct video_device *vdev = video_devdata(file); in uvc_v4l2_reqbufs() 423 struct video_device *vdev = video_devdata(file); in uvc_v4l2_querybuf() 433 struct video_device *vdev = video_devdata(file); in uvc_v4l2_qbuf() [all …]
|
/linux-6.12.1/drivers/acpi/ |
D | acpi_video.c | 1437 struct acpi_video_device *video_device; in acpi_video_get_edid() local 1448 video_device = video->attached_array[i].bind_info; in acpi_video_get_edid() 1450 if (!video_device) in acpi_video_get_edid() 1453 if (!video_device->cap._DDC) in acpi_video_get_edid() 1459 if (!video_device->flags.crt) in acpi_video_get_edid() 1463 if (!video_device->flags.tvout) in acpi_video_get_edid() 1467 if (!video_device->flags.dvi) in acpi_video_get_edid() 1471 if (!video_device->flags.lcd) in acpi_video_get_edid() 1475 } else if (video_device->device_id != device_id) { in acpi_video_get_edid() 1480 status = acpi_video_device_EDID(video_device, &buffer, in acpi_video_get_edid() [all …]
|
/linux-6.12.1/drivers/media/test-drivers/vivid/ |
D | vivid-core.h | 228 struct video_device vid_cap_dev; 230 struct video_device vid_out_dev; 232 struct video_device vbi_cap_dev; 234 struct video_device vbi_out_dev; 236 struct video_device radio_rx_dev; 238 struct video_device radio_tx_dev; 240 struct video_device sdr_cap_dev; 242 struct video_device meta_cap_dev; 244 struct video_device meta_out_dev; 246 struct video_device touch_cap_dev;
|
D | vivid-core.c | 280 struct video_device *vdev = video_devdata(file); in vidioc_s_hw_freq_seek() 289 struct video_device *vdev = video_devdata(file); in vidioc_enum_freq_bands() 300 struct video_device *vdev = video_devdata(file); in vidioc_g_tuner() 311 struct video_device *vdev = video_devdata(file); in vidioc_s_tuner() 323 struct video_device *vdev = video_devdata(file); in vidioc_g_frequency() 337 struct video_device *vdev = video_devdata(file); in vidioc_s_frequency() 350 struct video_device *vdev = video_devdata(file); in vidioc_overlay() 359 struct video_device *vdev = video_devdata(file); in vidioc_g_fbuf() 368 struct video_device *vdev = video_devdata(file); in vidioc_s_fbuf() 377 struct video_device *vdev = video_devdata(file); in vidioc_s_std() [all …]
|
/linux-6.12.1/drivers/media/common/videobuf2/ |
D | videobuf2-v4l2.c | 977 struct video_device *vfd = video_devdata(file); in vb2_poll() 1007 struct video_device *vdev = video_devdata(file); in vb2_ioctl_remove_bufs() 1025 struct video_device *vdev = video_devdata(file); in vb2_ioctl_reqbufs() 1048 struct video_device *vdev = video_devdata(file); in vb2_ioctl_create_bufs() 1075 struct video_device *vdev = video_devdata(file); in vb2_ioctl_prepare_buf() 1085 struct video_device *vdev = video_devdata(file); in vb2_ioctl_querybuf() 1094 struct video_device *vdev = video_devdata(file); in vb2_ioctl_qbuf() 1104 struct video_device *vdev = video_devdata(file); in vb2_ioctl_dqbuf() 1114 struct video_device *vdev = video_devdata(file); in vb2_ioctl_streamon() 1124 struct video_device *vdev = video_devdata(file); in vb2_ioctl_streamoff() [all …]
|
/linux-6.12.1/drivers/media/pci/zoran/ |
D | zoran_card.h | 20 extern const struct video_device zoran_template; 25 void zoran_vdev_release(struct video_device *vdev);
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/ |
D | atomisp_ioctl.c | 377 struct video_device *vdev = video_devdata(file); in atomisp_querycap() 393 struct video_device *vdev = video_devdata(file); in atomisp_enum_input() 419 struct video_device *vdev = video_devdata(file); in atomisp_g_input() 429 struct video_device *vdev = video_devdata(file); in atomisp_s_fmt_cap() 439 struct video_device *vdev = video_devdata(file); in atomisp_s_input() 541 struct video_device *vdev = video_devdata(file); in atomisp_enum_framesizes() 577 struct video_device *vdev = video_devdata(file); in atomisp_enum_frameintervals() 611 struct video_device *vdev = video_devdata(file); in atomisp_enum_fmt_cap() 665 struct video_device *vdev = video_devdata(file); in atomisp_try_fmt_cap() 674 struct video_device *vdev = video_devdata(file); in atomisp_g_fmt_cap() [all …]
|
D | atomisp_cmd.h | 49 struct atomisp_video_pipe *atomisp_to_video_pipe(struct video_device *dev); 148 int atomisp_set_parameters(struct video_device *vdev, 257 int atomisp_set_fmt(struct video_device *vdev, struct v4l2_format *f); 307 int atomisp_get_invalid_frame_num(struct video_device *vdev,
|
/linux-6.12.1/drivers/media/platform/renesas/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-6.12.1/drivers/media/platform/xilinx/ |
D | xilinx-dma.h | 48 static inline struct xvip_pipeline *to_xvip_pipeline(struct video_device *vdev) in to_xvip_pipeline() 80 struct video_device video;
|
/linux-6.12.1/drivers/staging/media/sunxi/sun6i-isp/ |
D | sun6i_isp_capture.c | 320 struct video_device *video_dev = &isp_dev->capture.video_dev; in sun6i_isp_capture_start_streaming() 353 struct video_device *video_dev = &isp_dev->capture.video_dev; in sun6i_isp_capture_stop_streaming() 428 struct video_device *video_dev = &isp_dev->capture.video_dev; in sun6i_isp_capture_querycap() 539 struct video_device *video_dev = &isp_dev->capture.video_dev; in sun6i_isp_capture_open() 570 struct video_device *video_dev = &isp_dev->capture.video_dev; in sun6i_isp_capture_release() 596 struct video_device *video_dev = in sun6i_isp_capture_link_validate() 630 struct video_device *video_dev = &capture->video_dev; in sun6i_isp_capture_setup() 737 struct video_device *video_dev = &capture->video_dev; in sun6i_isp_capture_cleanup()
|
/linux-6.12.1/drivers/media/pci/cx88/ |
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_,
|