linux/Documentation/media/kapi
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-core.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
csi2.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
dtv-ca.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
dtv-common.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
dtv-core.rst media: Documentation: fix several typos 2019-03-01 09:54:06 -05:00
dtv-demux.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
dtv-frontend.rst media: Documentation: fix several typos 2019-03-01 09:54:06 -05:00
dtv-net.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
mc-core.rst media: Media Device Allocator API 2019-04-22 11:18:26 -04:00
rc-core.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-async.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-clocks.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-common.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-controls.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-core.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-dev.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-device.rst media: Documentation: fix several typos 2019-03-01 09:54:06 -05:00
v4l2-dv-timings.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-event.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-fh.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-flash-led-class.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-fwnode.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-intro.rst media: Documentation: fix several typos 2019-03-01 09:54:06 -05:00
v4l2-mc.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-mediabus.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-mem2mem.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-rect.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-subdev.rst media: Documentation: fix several typos 2019-03-01 09:54:06 -05:00
v4l2-tuner.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-tveeprom.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-videobuf.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00
v4l2-videobuf2.rst media: docs: brainless mass add SPDX headers to all media files 2018-12-05 10:40:34 -05:00