Commit 5b8700e9 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] doc-rst: Fix some Sphinx warnings

Fix all remaining media warnings with ReST that are fixable
without changing at the Sphinx code.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent c278256d
...@@ -119,6 +119,7 @@ GPIO 16(I believe) is tied to the IR port (if present). ...@@ -119,6 +119,7 @@ GPIO 16(I believe) is tied to the IR port (if present).
From the data sheet: From the data sheet:
- Register 24'h20004 PCI Interrupt Status - Register 24'h20004 PCI Interrupt Status
- bit [18] IR_SMP_INT Set when 32 input samples have been collected over - bit [18] IR_SMP_INT Set when 32 input samples have been collected over
- gpio[16] pin into GP_SAMPLE register. - gpio[16] pin into GP_SAMPLE register.
......
TM6000 cards list TM6000 cards list
=============== =================
.. code-block:: none .. code-block:: none
......
...@@ -30,11 +30,15 @@ ...@@ -30,11 +30,15 @@
* @value: The value (must be != 0) * @value: The value (must be != 0)
* *
* to use rational values you can use the following method: * to use rational values you can use the following method:
*
* intlog2(value) = intlog2(value * 2^x) - x * 2^24 * intlog2(value) = intlog2(value * 2^x) - x * 2^24
* *
* Some usecase examples: * Some usecase examples:
*
* intlog2(8) will give 3 << 24 = 3 * 2^24 * intlog2(8) will give 3 << 24 = 3 * 2^24
*
* intlog2(9) will give 3 << 24 + ... = 3.16... * 2^24 * intlog2(9) will give 3 << 24 + ... = 3.16... * 2^24
*
* intlog2(1.5) = intlog2(3) - 2^24 = 0.584... * 2^24 * intlog2(1.5) = intlog2(3) - 2^24 = 0.584... * 2^24
* *
* *
...@@ -48,10 +52,13 @@ extern unsigned int intlog2(u32 value); ...@@ -48,10 +52,13 @@ extern unsigned int intlog2(u32 value);
* @value: The value (must be != 0) * @value: The value (must be != 0)
* *
* to use rational values you can use the following method: * to use rational values you can use the following method:
*
* intlog10(value) = intlog10(value * 10^x) - x * 2^24 * intlog10(value) = intlog10(value * 10^x) - x * 2^24
* *
* An usecase example: * An usecase example:
*
* intlog10(1000) will give 3 << 24 = 3 * 2^24 * intlog10(1000) will give 3 << 24 = 3 * 2^24
*
* due to the implementation intlog10(1000) might be not exactly 3 * 2^24 * due to the implementation intlog10(1000) might be not exactly 3 * 2^24
* *
* look at intlog2 for similar examples * look at intlog2 for similar examples
......
...@@ -180,8 +180,10 @@ struct media_pad { ...@@ -180,8 +180,10 @@ struct media_pad {
* view. The media_entity_pipeline_start() function * view. The media_entity_pipeline_start() function
* validates all links by calling this operation. Optional. * validates all links by calling this operation. Optional.
* *
* .. note:: Those these callbacks are called with struct media_device.@graph_mutex * .. note::
* mutex held. *
* Those these callbacks are called with struct media_device.@graph_mutex
* mutex held.
*/ */
struct media_entity_operations { struct media_entity_operations {
int (*link_setup)(struct media_entity *entity, int (*link_setup)(struct media_entity *entity,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment