/linux-6.3-rc2/include/media/ |
A D | v4l2-device.h | 47 struct v4l2_device { struct 58 void (*release)(struct v4l2_device *v4l2_dev); argument 69 static inline void v4l2_device_get(struct v4l2_device *v4l2_dev) in v4l2_device_get() 82 int v4l2_device_put(struct v4l2_device *v4l2_dev); 97 struct v4l2_device *v4l2_dev); 140 void v4l2_device_disconnect(struct v4l2_device *v4l2_dev); 148 void v4l2_device_unregister(struct v4l2_device *v4l2_dev); 161 int __must_check v4l2_device_register_subdev(struct v4l2_device *v4l2_dev, 187 __v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev, 200 v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev) in v4l2_device_register_subdev_nodes() [all …]
|
A D | v4l2-common.h | 100 struct v4l2_device; 152 struct v4l2_subdev *v4l2_i2c_new_subdev(struct v4l2_device *v4l2_dev, 169 struct v4l2_subdev *v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev, 226 v4l2_i2c_new_subdev(struct v4l2_device *v4l2_dev, in v4l2_i2c_new_subdev() 234 v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev, in v4l2_i2c_new_subdev_board() 286 struct v4l2_subdev *v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev, 310 v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev, in v4l2_spi_new_subdev()
|
A D | v4l2-async.h | 17 struct v4l2_device; 111 struct v4l2_device *v4l2_dev; 238 int v4l2_async_nf_register(struct v4l2_device *v4l2_dev,
|
/linux-6.3-rc2/Documentation/translations/zh_CN/video4linux/ |
A D | v4l2-framework.txt | 84 该框架非常类似驱动结构:它有一个 v4l2_device 结构用于保存设备 89 V4L2 框架也可与媒体框架整合(可选的)。如果驱动设置了 v4l2_device 93 v4l2_device 结构体 108 v4l2_device 结构体实例的驱动特定设备结构体。这可以在注册 V4L2 设备 131 注销 v4l2_device 使用如下函数: 139 由于 v4l2_device 有一个指向父设备的指针必须被清除,同时标志父设备 191 如果你有多个设备节点,对于热插拔设备,知道何时注销 v4l2_device 结构体 326 subdev->dev 域就指向了 v4l2_device。 372 如果子设备需要通知它的 v4l2_device 父设备一个事件,可以调用 554 - v4l2_dev: 设置为 v4l2_device 父设备。 [all …]
|
/linux-6.3-rc2/Documentation/driver-api/media/ |
A D | v4l2-device.rst | 6 Each device instance is represented by a struct v4l2_device. 13 (dev, :c:type:`v4l2_dev <v4l2_device>`). 17 :c:type:`v4l2_dev <v4l2_device>` argument. 30 :c:type:`v4l2_dev <v4l2_device>`\ ->name before calling 42 :c:type:`v4l2_dev <v4l2_device>` with a particular parent. 52 (:c:type:`v4l2_dev <v4l2_device>`). 64 (:c:type:`v4l2_dev <v4l2_device>`). 81 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); 131 (:c:type:`v4l2_dev <v4l2_device>`). 136 (:c:type:`v4l2_dev <v4l2_device>`). [all …]
|
/linux-6.3-rc2/drivers/media/v4l2-core/ |
A D | v4l2-device.c | 17 int v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev) in v4l2_device_register() 47 struct v4l2_device *v4l2_dev = in v4l2_device_release() 48 container_of(ref, struct v4l2_device, ref); in v4l2_device_release() 54 int v4l2_device_put(struct v4l2_device *v4l2_dev) in v4l2_device_put() 60 int v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename, in v4l2_device_set_name() 76 void v4l2_device_disconnect(struct v4l2_device *v4l2_dev) in v4l2_device_disconnect() 88 void v4l2_device_unregister(struct v4l2_device *v4l2_dev) in v4l2_device_unregister() 111 int v4l2_device_register_subdev(struct v4l2_device *v4l2_dev, in v4l2_device_register_subdev() 189 int __v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev, in __v4l2_device_register_subdev_nodes() 263 struct v4l2_device *v4l2_dev; in v4l2_device_unregister_subdev()
|
A D | v4l2-i2c.c | 62 *v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev, in v4l2_i2c_new_subdev_board() 119 struct v4l2_subdev *v4l2_i2c_new_subdev(struct v4l2_device *v4l2_dev, in v4l2_i2c_new_subdev()
|
/linux-6.3-rc2/drivers/media/platform/sunxi/sun6i-csi/ |
A D | sun6i_csi.h | 33 struct v4l2_device v4l2_dev; 39 struct v4l2_device *v4l2_dev; 61 struct v4l2_device *v4l2_dev);
|
/linux-6.3-rc2/drivers/media/pci/cx18/ |
A D | cx18-alsa-main.c | 49 struct snd_cx18_card *to_snd_cx18_card(struct v4l2_device *v4l2_dev) in to_snd_cx18_card() 76 static int snd_cx18_card_create(struct v4l2_device *v4l2_dev, in snd_cx18_card_create() 113 static int snd_cx18_init(struct v4l2_device *v4l2_dev) in snd_cx18_init() 181 struct v4l2_device *v4l2_dev = &cx->v4l2_dev; in cx18_alsa_load() 238 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); in cx18_alsa_exit_callback()
|
A D | cx18-alsa-pcm.c | 138 struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; in snd_cx18_pcm_capture_open() 185 struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; in snd_cx18_pcm_capture_close() 244 struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; in snd_cx18_pcm_create()
|
/linux-6.3-rc2/drivers/media/pci/ivtv/ |
A D | ivtv-alsa-main.c | 46 struct snd_ivtv_card *to_snd_ivtv_card(struct v4l2_device *v4l2_dev) in to_snd_ivtv_card() 73 static int snd_ivtv_card_create(struct v4l2_device *v4l2_dev, in snd_ivtv_card_create() 110 static int snd_ivtv_init(struct v4l2_device *v4l2_dev) in snd_ivtv_init() 183 struct v4l2_device *v4l2_dev = &itv->v4l2_dev; in ivtv_alsa_load() 238 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); in ivtv_alsa_exit_callback()
|
A D | ivtv-alsa-pcm.c | 135 struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; in snd_ivtv_pcm_capture_open() 189 struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; in snd_ivtv_pcm_capture_close() 248 struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; in snd_ivtv_pcm_create()
|
/linux-6.3-rc2/drivers/media/radio/ |
A D | radio-maxiradio.c | 73 struct v4l2_device v4l2_dev; 79 static inline struct maxiradio *to_maxiradio(struct v4l2_device *v4l2_dev) in to_maxiradio() 122 struct v4l2_device *v4l2_dev; in maxiradio_probe() 177 struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev); in maxiradio_remove()
|
A 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()
|
A 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-6.3-rc2/drivers/media/platform/samsung/exynos4-is/ |
A D | fimc-isp-video.h | 16 struct v4l2_device *v4l2_dev, 29 struct v4l2_device *v4l2_dev, in fimc_isp_video_device_register()
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/ |
A D | atomisp_csi2.h | 29 struct v4l2_device; 50 struct v4l2_device *vdev);
|
A D | atomisp_v4l2.h | 25 struct v4l2_device;
|
/linux-6.3-rc2/drivers/media/radio/si4713/ |
A D | radio-platform-si4713.c | 40 struct v4l2_device v4l2_dev; 73 static inline struct v4l2_device *get_v4l2_dev(struct file *file) in get_v4l2_dev() 195 struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); in radio_si4713_pdriver_remove()
|
/linux-6.3-rc2/drivers/media/test-drivers/vimc/ |
A D | vimc-common.h | 129 struct v4l2_device v4l2_dev; 225 struct v4l2_device *v4l2_dev,
|
/linux-6.3-rc2/drivers/staging/media/imx/ |
A D | imx-media.h | 146 struct v4l2_device v4l2_dev; 268 struct v4l2_subdev *imx_media_vdic_register(struct v4l2_device *v4l2_dev, 275 struct v4l2_subdev *imx_media_ic_register(struct v4l2_device *v4l2_dev,
|
/linux-6.3-rc2/drivers/media/usb/hdpvr/ |
A D | hdpvr.h | 71 struct v4l2_device v4l2_dev; 126 static inline struct hdpvr_device *to_hdpvr_dev(struct v4l2_device *v4l2_dev) in to_hdpvr_dev()
|
/linux-6.3-rc2/drivers/media/platform/xilinx/ |
A D | xilinx-vipp.h | 32 struct v4l2_device v4l2_dev;
|
/linux-6.3-rc2/drivers/staging/media/omap4iss/ |
A D | iss.h | 86 struct v4l2_device v4l2_dev; 150 struct v4l2_device *v4l2_dev);
|
/linux-6.3-rc2/drivers/staging/media/tegra-video/ |
A D | video.h | 18 struct v4l2_device v4l2_dev;
|