lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141028220051.68a8ab6e@recife.lan>
Date:	Tue, 28 Oct 2014 22:00:51 -0200
From:	Mauro Carvalho Chehab <mchehab@....samsung.com>
To:	Shuah Khan <shuahkh@....samsung.com>
Cc:	Takashi Iwai <tiwai@...e.de>,
	Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
	Devin Heitmueller <dheitmueller@...nellabs.com>,
	alsa-devel@...a-project.org, Lars-Peter Clausen <lars@...afoo.de>,
	Linux Media Mailing List <linux-media@...r.kernel.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Hans Verkuil <hverkuil@...all.nl>,
	Sander Eikelenboom <linux@...elenboom.it>,
	prabhakar.csengg@...il.com, Antti Palosaari <crope@....fi>,
	Laurent Pinchart <laurent.pinchart@...asonboard.com>,
	"sakari.ailus@...ux.intel.com" <sakari.ailus@...ux.intel.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Tim Gardner <tim.gardner@...onical.com>,
	"olebowle@....com" <olebowle@....com>,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [RFCv1] Media Token API needs - Was: Re: [alsa-devel] [PATCH v2
 5/6] sound/usb: pcm changes to use media token api

Em Tue, 28 Oct 2014 21:42:50 -0200
Mauro Carvalho Chehab <mchehab@....samsung.com> escreveu:

> Before starting with the description, this is the simplified diagram of
> a media device (without IR, eeprom and other beasts):

As reference, a more complete diagram would be:



                                                                +------------------+
                                                                |        IR        |
                                                                +------------------+
                                                                  |
                                                                  |
                                                                  v
                                                                +------------------+
                                                                |  IR POLL or DMA  |
                                                                +------------------+
                                                                  |
                                                                  |
                                                                  v
                                                                +------------------+
                                                                |  devnode input8  |
                                                                +------------------+

                             +------------------------------------+
                             v                                    |
                           +----------------+          +-------+-------------------+-----------+
                           |  demod_video   |  +-----> | tuner |     A/V switch    | composite |
                           +----------------+  |       +-------+-------------------+-----------+
                             |                 |                  |
                             |                 |                  |
                             v                 |                  v
     +--------------+-----+-----------------+  |                +------------------+
  +- |     dvb      | DMA |      analog     |  |                |   demod_audio    |
  |  +--------------+-----+-----------------+  |                +------------------+
  |    ^                     |                 |                  |
  |    +---------------+     |                 |                  |
  |                    |     v                 |                  v
  |  +--------------+  |   +----------------+  |                +------------------+
  +> | devnode dvr0 |  |   | devnode video0 |  |                |    audio DMA     |
     +--------------+  |   +----------------+  |                +------------------+
                       |                       |                  |
                       |                       |                  |
                       |                       |                  v
                       |                       |                +------------------+
                       |                       |                | devnode pcmC1D0c |
                       |                       |                +------------------+
                       |                       |
                       |                       |
                       |                       |
                       |                     +--------+--------+-------------------+
                       |                     | analog |  tuner |      digital      |
                       |                     +--------+--------+-------------------+
                       |                                          |
                       |                                          |
                       |                                          v
                       |                                        +------------------+
                       +--------------------------------------- |  digital_demux   |
                                                                +------------------+

Regards,
Mauro

-

Dot file for the above diagram:

digraph media_hardware {
  node [shape=record]
  DMA1[label = "<dvb> dvb | <dma> DMA | <video> analog"]
  DMA2[label = "audio DMA"]
  DMA3[label = "IR POLL or DMA"]
  tuner[label = "<analog> analog | <tuner> tuner | <digital> digital"]
  input[label = "<tuner> tuner | <switch> A/V switch | <composite> composite"]

  DMA1:video -> "devnode video0"
  DMA1:dvb -> "devnode dvr0"

  "digital_demux" -> DMA1:dvb
  demod_video -> DMA1:video

  tuner:digital -> "digital_demux"
  tuner:analog -> input:tuner

  input:switch -> demod_video
  input:switch -> demod_audio

  demod_audio -> DMA2
  DMA2 -> "devnode pcmC1D0c"

  IR -> DMA3
  DMA3 -> "devnode input8"
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ