/Linux-v4.19/Documentation/translations/zh_CN/video4linux/ |
D | v4l2-framework.txt | 84 该框架非常类似驱动结构:它有一个 v4l2_device 结构用于保存设备 89 V4L2 框架也可与媒体框架整合(可选的)。如果驱动设置了 v4l2_device 93 v4l2_device 结构体 96 每个设备实例都通过 v4l2_device (v4l2-device.h)结构体来表示。 102 v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev); 104 注册操作将会初始化 v4l2_device 结构体。如果 dev->driver_data 域 108 v4l2_device 结构体实例的驱动特定设备结构体。这可以在注册 V4L2 设备 109 实例前通过 dev_set_drvdata() 函数完成。同时必须设置 v4l2_device 131 注销 v4l2_device 使用如下函数: 133 v4l2_device_unregister(struct v4l2_device *v4l2_dev); [all …]
|
/Linux-v4.19/include/media/ |
D | v4l2-device.h | 59 struct v4l2_device { struct 70 void (*release)(struct v4l2_device *v4l2_dev); argument 81 static inline void v4l2_device_get(struct v4l2_device *v4l2_dev) in v4l2_device_get() 94 int v4l2_device_put(struct v4l2_device *v4l2_dev); 109 struct v4l2_device *v4l2_dev); 138 int v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename, 152 void v4l2_device_disconnect(struct v4l2_device *v4l2_dev); 160 void v4l2_device_unregister(struct v4l2_device *v4l2_dev); 173 int __must_check v4l2_device_register_subdev(struct v4l2_device *v4l2_dev, 196 v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev);
|
D | v4l2-async.h | 19 struct v4l2_device; 139 struct v4l2_device *v4l2_dev; 153 int v4l2_async_notifier_register(struct v4l2_device *v4l2_dev,
|
D | v4l2-common.h | 117 struct v4l2_device; 134 struct v4l2_subdev *v4l2_i2c_new_subdev(struct v4l2_device *v4l2_dev, 153 struct v4l2_subdev *v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev, 236 struct v4l2_subdev *v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev,
|
D | v4l2-dev.h | 63 struct v4l2_device; 262 struct v4l2_device *v4l2_dev;
|
/Linux-v4.19/Documentation/media/kapi/ |
D | v4l2-device.rst | 4 Each device instance is represented by a struct :c:type:`v4l2_device`. 11 (dev, :c:type:`v4l2_dev <v4l2_device>`). 13 Registration will initialize the :c:type:`v4l2_device` struct. If the 15 :c:type:`v4l2_dev <v4l2_device>` argument. 19 that embed the struct :c:type:`v4l2_device` instance. This is achieved by a 21 They must also set the struct :c:type:`v4l2_device` mdev field to point to a 24 If :c:type:`v4l2_dev <v4l2_device>`\ ->name is empty then it will be set to a 28 :c:type:`v4l2_dev <v4l2_device>`\ ->name before calling 40 :c:type:`v4l2_dev <v4l2_device>` with a particular parent. 50 (:c:type:`v4l2_dev <v4l2_device>`). [all …]
|
D | v4l2-dev.rst | 40 - :c:type:`video_device`->v4l2_dev: must be set to the :c:type:`v4l2_device` 83 in :c:type:`v4l2_device`. If you want to have a separate priority state per 87 - :c:type:`video_device`->dev_parent: you only set this if v4l2_device was 90 the same :c:type:`v4l2_device` core. 92 The cx88 driver is an example of this: one core :c:type:`v4l2_device` struct, 94 (cx8802). Since the :c:type:`v4l2_device` cannot be associated with two PCI 192 If the :c:type:`v4l2_device` parent device has a not ``NULL`` mdev field, 352 You can go from a :c:type:`video_device` struct to the v4l2_device struct using: 356 struct v4l2_device *v4l2_dev = vdev->v4l2_dev;
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | v4l2-device.c | 33 int v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev) in v4l2_device_register() 63 struct v4l2_device *v4l2_dev = in v4l2_device_release() 64 container_of(ref, struct v4l2_device, ref); in v4l2_device_release() 70 int v4l2_device_put(struct v4l2_device *v4l2_dev) in v4l2_device_put() 76 int v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename, in v4l2_device_set_name() 92 void v4l2_device_disconnect(struct v4l2_device *v4l2_dev) in v4l2_device_disconnect() 104 void v4l2_device_unregister(struct v4l2_device *v4l2_dev) in v4l2_device_unregister() 154 int v4l2_device_register_subdev(struct v4l2_device *v4l2_dev, in v4l2_device_register_subdev() 225 int v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev) in v4l2_device_register_subdev_nodes() 294 struct v4l2_device *v4l2_dev; in v4l2_device_unregister_subdev()
|
D | v4l2-async.c | 141 static struct v4l2_device *v4l2_async_notifier_find_v4l2_dev( in v4l2_async_notifier_find_v4l2_dev() 203 struct v4l2_device *v4l2_dev, in v4l2_async_match_notify() 249 struct v4l2_device *v4l2_dev = in v4l2_async_notifier_try_all_subdevs() 441 int v4l2_async_notifier_register(struct v4l2_device *v4l2_dev, in v4l2_async_notifier_register() 550 struct v4l2_device *v4l2_dev = in v4l2_async_register_subdev()
|
/Linux-v4.19/drivers/media/pci/cx18/ |
D | cx18-alsa-main.c | 59 struct snd_cx18_card *to_snd_cx18_card(struct v4l2_device *v4l2_dev) in to_snd_cx18_card() 65 struct snd_cx18_card *p_to_snd_cx18_card(struct v4l2_device **v4l2_dev) in p_to_snd_cx18_card() 92 static int snd_cx18_card_create(struct v4l2_device *v4l2_dev, in snd_cx18_card_create() 129 static int snd_cx18_init(struct v4l2_device *v4l2_dev) in snd_cx18_init() 197 struct v4l2_device *v4l2_dev = &cx->v4l2_dev; in cx18_alsa_load() 254 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); in cx18_alsa_exit_callback()
|
D | cx18-alsa-pcm.c | 148 struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; in snd_cx18_pcm_capture_open() 195 struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; in snd_cx18_pcm_capture_close() 327 struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; in snd_cx18_pcm_create()
|
/Linux-v4.19/drivers/media/pci/ivtv/ |
D | ivtv-alsa-main.c | 56 struct snd_ivtv_card *to_snd_ivtv_card(struct v4l2_device *v4l2_dev) in to_snd_ivtv_card() 62 struct snd_ivtv_card *p_to_snd_ivtv_card(struct v4l2_device **v4l2_dev) in p_to_snd_ivtv_card() 89 static int snd_ivtv_card_create(struct v4l2_device *v4l2_dev, in snd_ivtv_card_create() 126 static int snd_ivtv_init(struct v4l2_device *v4l2_dev) in snd_ivtv_init() 199 struct v4l2_device *v4l2_dev = &itv->v4l2_dev; in ivtv_alsa_load() 254 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); in ivtv_alsa_exit_callback()
|
D | ivtv-alsa-pcm.c | 146 struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; in snd_ivtv_pcm_capture_open() 200 struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; in snd_ivtv_pcm_capture_close() 332 struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; in snd_ivtv_pcm_create()
|
/Linux-v4.19/drivers/media/radio/ |
D | radio-maxiradio.c | 72 struct v4l2_device v4l2_dev; 78 static inline struct maxiradio *to_maxiradio(struct v4l2_device *v4l2_dev) in to_maxiradio() 121 struct v4l2_device *v4l2_dev; in maxiradio_probe() 178 struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); in maxiradio_remove()
|
D | radio-shark2.c | 59 struct v4l2_device v4l2_dev; 258 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); in usb_shark_disconnect() 271 static void usb_shark_release(struct v4l2_device *v4l2_dev) in usb_shark_release() 346 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); in usb_shark_resume()
|
D | radio-shark.c | 63 struct v4l2_device v4l2_dev; 292 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); in usb_shark_disconnect() 305 static void usb_shark_release(struct v4l2_device *v4l2_dev) in usb_shark_release() 381 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); in usb_shark_resume()
|
/Linux-v4.19/drivers/media/platform/exynos4-is/ |
D | fimc-isp-video.h | 19 struct v4l2_device *v4l2_dev, 32 struct v4l2_device *v4l2_dev, in fimc_isp_video_device_register()
|
/Linux-v4.19/drivers/media/radio/si4713/ |
D | radio-platform-si4713.c | 49 struct v4l2_device v4l2_dev; 85 static inline struct v4l2_device *get_v4l2_dev(struct file *file) in get_v4l2_dev() 206 struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); in radio_si4713_pdriver_remove()
|
/Linux-v4.19/drivers/media/usb/hdpvr/ |
D | hdpvr.h | 75 struct v4l2_device v4l2_dev; 130 static inline struct hdpvr_device *to_hdpvr_dev(struct v4l2_device *v4l2_dev) in to_hdpvr_dev()
|
/Linux-v4.19/drivers/media/platform/xilinx/ |
D | xilinx-vipp.h | 37 struct v4l2_device v4l2_dev;
|
/Linux-v4.19/include/media/davinci/ |
D | vpbe_venc.h | 43 struct v4l2_subdev *venc_sub_dev_init(struct v4l2_device *v4l2_dev,
|
/Linux-v4.19/drivers/staging/media/omap4iss/ |
D | iss.h | 90 struct v4l2_device v4l2_dev; 157 struct v4l2_device *v4l2_dev);
|
D | iss_ipipe.h | 61 struct v4l2_device *vdev);
|
/Linux-v4.19/drivers/media/pci/tw68/ |
D | tw68-core.c | 351 struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); in tw68_finidev() 375 struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); in tw68_suspend() 394 struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); in tw68_resume()
|
/Linux-v4.19/drivers/media/platform/marvell-ccic/ |
D | cafe-driver.c | 144 static inline struct cafe_camera *to_cam(struct v4l2_device *dev) in to_cam() 565 struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); in cafe_pci_remove() 583 struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); in cafe_pci_suspend() 598 struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); in cafe_pci_resume()
|