Home
last modified time | relevance | path

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

12345678910>>...12

/linux/include/media/ !
H A Dv4l2-dev.h46 * enum vfl_devnode_direction - Identifies if a &struct video_device
62 struct video_device;
68 * enum v4l2_video_device_flags - Flags used by &struct video_device
71 * indicates that a &struct video_device is registered.
218 * Newer version of video_device, handled by videodev2.c
224 * struct video_device - Structure used to create and manage the V4L2 device
264 struct video_device { struct
305 void (*release)(struct video_device *vdev); argument
313 * media_entity_to_video_device - Returns a &struct video_device from argument
323 container_of(__me_vdev_ent, struct video_device, entit
266 entityvideo_device global() argument
267 intf_devnodevideo_device global() argument
268 pipevideo_device global() argument
270 fopsvideo_device global() argument
272 device_capsvideo_device global() argument
275 devvideo_device global() argument
276 cdevvideo_device global() argument
278 v4l2_devvideo_device global() argument
279 dev_parentvideo_device global() argument
281 ctrl_handlervideo_device global() argument
[all...]
H A Dv4l2-mc.h46 * @vdev: pointer to struct video_device
58 int v4l_enable_media_source(struct video_device *vdev);
63 * @vdev: pointer to struct video_device
72 void v4l_disable_media_source(struct video_device *vdev);
83 * this interface finds the struct video_device for the q and
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()
H A Dv4l2-fh.h21 struct video_device;
28 * @vdev: pointer to &struct video_device
44 struct video_device *vdev;
63 * @vdev: pointer to &struct video_device
70 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev);
73 * v4l2_fh_add - Add the fh to the list of file handles on a video_device.
88 * It allocates a v4l2_fh and inits and adds it to the &struct video_device
137 * opened for the associated video_device.
147 * filehandle opened for the associated video_device.
/linux/Documentation/translations/zh_CN/video4linux/ !
H A Dv4l2-framework.txt42 长期以来,这个框架仅限于通过 video_device 结构体创建 V4L 设备节点,
85 实例的数据;一个 v4l2_subdev 结构体代表子设备实例;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 域)结构体:
615 你可以在 video_device 结构体中设置一个指
[all...]
/linux/drivers/media/pci/mgb4/ !
H A Dmgb4_sysfs_in.c22 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 *vde in hsync_status_show()
[all...]
H A Dmgb4_sysfs_out.c39 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 *vde in frame_rate_store()
[all...]
/linux/Documentation/driver-api/media/ !
H A Dv4l2-dev.rst7 :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`
[all...]
H A Dv4l2-fh.rst16 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/drivers/media/v4l2-core/ !
H A Dv4l2-dev.c49 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);
101 static struct video_device *video_devices[VIDEO_NUM_DEVICES];
130 static inline void devnode_set(struct video_device *vdev) in devnode_set()
136 static inline void devnode_clear(struct video_device *vdev) in devnode_clear()
142 static inline int devnode_find(struct video_device *vdev, int from, int to) in devnode_find()
147 struct video_device *video_device_allo
[all...]
H A Dv4l2-ctrls-priv.h78 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,
H A Dv4l2-ioctl.c932 struct video_device *vfd = video_devdata(file); in check_fmt()
1096 struct video_device *vfd = video_devdata(file); in v4l_querycap()
1129 struct video_device *vfd = video_devdata(file); in v4l_g_input()
1142 struct video_device *vfd = video_devdata(file); in v4l_g_output()
1155 struct video_device *vfd = video_devdata(file); in v4l_s_input()
1171 struct video_device *vfd = video_devdata(file); in v4l_s_output()
1182 struct video_device *vfd; in v4l_g_priority()
1193 struct video_device *vfd; in v4l_s_priority()
1207 struct video_device *vfd = video_devdata(file); in v4l_enuminput()
1233 struct video_device *vf in v4l_enumoutput()
[all...]
/linux/drivers/usb/gadget/function/ !
H A Duvc_v4l2.c217 struct video_device *vdev = video_devdata(file); in uvc_v4l2_querycap()
231 struct video_device *vdev = video_devdata(file); in uvc_v4l2_get_format()
250 struct video_device *vdev = video_devdata(file); in uvc_v4l2_try_format()
308 struct video_device *vdev = video_devdata(file); in uvc_v4l2_set_format()
329 struct video_device *vdev = video_devdata(file); in uvc_v4l2_g_parm()
356 struct video_device *vdev = video_devdata(file); in uvc_v4l2_s_parm()
380 struct video_device *vdev = video_devdata(file); in uvc_v4l2_enum_frameintervals()
419 struct video_device *vdev = video_devdata(file); in uvc_v4l2_enum_framesizes()
445 struct video_device *vdev = video_devdata(file); in uvc_v4l2_enum_format()
469 struct video_device *vde in uvc_v4l2_reqbufs()
[all...]
/linux/drivers/media/test-drivers/vivid/ !
H A Dvivid-core.h228 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_de
[all...]
H A Dvivid-core.c282 struct video_device *vdev = video_devdata(file); in vidioc_s_hw_freq_seek()
291 struct video_device *vdev = video_devdata(file); in vidioc_enum_freq_bands()
302 struct video_device *vdev = video_devdata(file); in vidioc_g_tuner()
313 struct video_device *vdev = video_devdata(file); in vidioc_s_tuner()
325 struct video_device *vdev = video_devdata(file); in vidioc_g_frequency()
339 struct video_device *vdev = video_devdata(file); in vidioc_s_frequency()
352 struct video_device *vdev = video_devdata(file); in vidioc_overlay()
361 struct video_device *vdev = video_devdata(file); in vidioc_g_fbuf()
370 struct video_device *vdev = video_devdata(file); in vidioc_s_fbuf()
379 struct video_device *vde in vidioc_s_std()
[all...]
/linux/drivers/acpi/ !
H A Dacpi_video.c1458 struct acpi_video_device *video_device; in acpi_video_get_edid() local
1467 video_device = video->attached_array[i].bind_info; in acpi_video_get_edid()
1469 if (!video_device) in acpi_video_get_edid()
1472 if (!video_device->cap._DDC) in acpi_video_get_edid()
1478 if (!video_device->flags.crt) in acpi_video_get_edid()
1482 if (!video_device->flags.tvout) in acpi_video_get_edid()
1486 if (!video_device->flags.dvi) in acpi_video_get_edid()
1490 if (!video_device->flags.lcd) in acpi_video_get_edid()
1494 } else if (video_device->device_id != device_id) { in acpi_video_get_edid()
1499 ret = acpi_video_device_EDID(video_device, edi in acpi_video_get_edid()
1594 brightness_switch_event(struct acpi_video_device * video_device,u32 event) brightness_switch_event() argument
1606 struct acpi_video_device *video_device = data; acpi_video_device_notify() local
1670 struct acpi_video_device *video_device; acpi_video_resume() local
[all...]
/linux/drivers/media/common/videobuf2/ !
H A Dvideobuf2-v4l2.c976 struct video_device *vfd = video_devdata(file); in vb2_poll()
1006 struct video_device *vdev = video_devdata(file); in vb2_ioctl_remove_bufs()
1024 struct video_device *vdev = video_devdata(file); in vb2_ioctl_reqbufs()
1047 struct video_device *vdev = video_devdata(file); in vb2_ioctl_create_bufs()
1074 struct video_device *vdev = video_devdata(file); in vb2_ioctl_prepare_buf()
1084 struct video_device *vdev = video_devdata(file); in vb2_ioctl_querybuf()
1093 struct video_device *vdev = video_devdata(file); in vb2_ioctl_qbuf()
1103 struct video_device *vdev = video_devdata(file); in vb2_ioctl_dqbuf()
1113 struct video_device *vdev = video_devdata(file); in vb2_ioctl_streamon()
1123 struct video_device *vde in vb2_ioctl_streamoff()
[all...]
/linux/drivers/media/pci/zoran/ !
H A Dzoran_card.h20 extern const struct video_device zoran_template;
25 void zoran_vdev_release(struct video_device *vdev);
/linux/drivers/staging/media/atomisp/pci/ !
H A Datomisp_ioctl.c366 struct video_device *vdev = video_devdata(file); in atomisp_querycap()
382 struct video_device *vdev = video_devdata(file); in atomisp_enum_input()
408 struct video_device *vdev = video_devdata(file); in atomisp_g_input()
418 struct video_device *vdev = video_devdata(file); in atomisp_s_fmt_cap()
428 struct video_device *vdev = video_devdata(file); in atomisp_s_input()
530 struct video_device *vdev = video_devdata(file); in atomisp_enum_framesizes()
566 struct video_device *vdev = video_devdata(file); in atomisp_enum_frameintervals()
600 struct video_device *vdev = video_devdata(file); in atomisp_enum_fmt_cap()
654 struct video_device *vdev = video_devdata(file); in atomisp_try_fmt_cap()
663 struct video_device *vde in atomisp_g_fmt_cap()
[all...]
H A Datomisp_cmd.h38 struct atomisp_video_pipe *atomisp_to_video_pipe(struct video_device *dev);
137 int atomisp_set_parameters(struct video_device *vdev,
246 int atomisp_set_fmt(struct video_device *vdev, struct v4l2_format *f);
296 int atomisp_get_invalid_frame_num(struct video_device *vdev,
/linux/drivers/media/platform/renesas/vsp1/ !
H A Dvsp1_video.h36 struct video_device video;
49 static inline struct vsp1_video *to_vsp1_video(struct video_device *vdev) in to_vsp1_video()
H A 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/drivers/media/platform/amlogic/c3/isp/ !
H A Dc3-isp-common.h195 struct video_device vdev;
222 struct video_device vdev;
253 struct video_device vdev;
/linux/drivers/staging/media/sunxi/sun6i-isp/ !
H A Dsun6i_isp_capture.c320 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()
426 struct video_device *video_dev = &isp_dev->capture.video_dev; in sun6i_isp_capture_querycap()
537 struct video_device *video_dev = &isp_dev->capture.video_dev; in sun6i_isp_capture_open()
568 struct video_device *video_dev = &isp_dev->capture.video_dev; in sun6i_isp_capture_release()
594 struct video_device *video_dev = in sun6i_isp_capture_link_validate()
628 struct video_device *video_dev = &capture->video_dev; in sun6i_isp_capture_setup()
735 struct video_device *video_dev = &capture->video_dev; in sun6i_isp_capture_cleanup()
/linux/drivers/media/pci/cx88/ !
H A Dcx88.h474 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_,
/linux/include/media/drv-intf/ !
H A Dexynos-fimc.h137 struct video_device vdev;
147 struct video_device *vdev) in vdev_to_exynos_video_entity()

12345678910>>...12