linux/Documentation/media
Shuah Khan 6e1d824e7a media: Media Device Allocator API
Media Device Allocator API to allows multiple drivers share a media device.
This API solves a very common use-case for media devices where one physical
device (an USB stick) provides both audio and video. When such media device
exposes a standard USB Audio class, a proprietary Video class, two or more
independent drivers will share a single physical USB bridge. In such cases,
it is necessary to coordinate access to the shared resource.

Using this API, drivers can allocate a media device with the shared struct
device as the key. Once the media device is allocated by a driver, other
drivers can get a reference to it. The media device is released when all
the references are released.

Signed-off-by: Shuah Khan <shuah@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-04-22 11:18:26 -04:00
..
cec-drivers media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
dvb-drivers media: Documentation: fix several typos 2019-03-01 09:54:06 -05:00
kapi media: Media Device Allocator API 2019-04-22 11:18:26 -04:00
uapi media: v4l: add I / P frame min max QP definitions 2019-04-22 10:25:36 -04:00
v4l-drivers media: Documentation: fix several typos 2019-03-01 09:54:06 -05:00
.gitignore media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
audio.h.rst.exceptions media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
ca.h.rst.exceptions media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
cec.h.rst.exceptions media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
conf_nitpick.py media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
conf.py media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
dmx.h.rst.exceptions media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
frontend.h.rst.exceptions media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
index.rst media: index.rst: exclude Indexes section from latex/pdf output 2019-03-30 09:42:35 -04:00
intro.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
lirc.h.rst.exceptions media: rc: rcmm decoder and encoder 2019-02-18 15:39:49 -05:00
Makefile media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
media_kapi.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
media_uapi.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
media.h.rst.exceptions media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
net.h.rst.exceptions media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
typical_media_device.svg media: add SPDX header to media uAPI files 2018-12-05 10:39:18 -05:00
video.h.rst.exceptions media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
videodev2.h.rst.exceptions media: docs-rst: v4l: Document V4L2_BUF_TYPE_META_OUTPUT interface 2018-12-14 05:12:11 -05:00