[Skiboot] [PATCH 077/110] doc: prettify OPAL_PCI_SET_MVE_ENABLE
Stewart Smith
stewart at linux.ibm.com
Fri May 31 16:13:18 AEST 2019
Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
doc/opal-api/opal-pci-set-mve-enable-34.rst | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/doc/opal-api/opal-pci-set-mve-enable-34.rst b/doc/opal-api/opal-pci-set-mve-enable-34.rst
index 44af37f64d80..55bf10a08f21 100644
--- a/doc/opal-api/opal-pci-set-mve-enable-34.rst
+++ b/doc/opal-api/opal-pci-set-mve-enable-34.rst
@@ -1,11 +1,14 @@
+.. _OPAL_PCI_SET_MVE_ENABLE:
+
OPAL_PCI_SET_MVE_ENABLE
=======================
-::
+
+
+.. code-block:: c
#define OPAL_PCI_SET_MVE_ENABLE 34
- static int64_t opal_pci_set_mve_enable(uint64_t phb_id, uint32_t mve_number,
- uint32_t state)
+ int64_t opal_pci_set_mve_enable(uint64_t phb_id, uint32_t mve_number, uint32_t state);
enum OpalMveEnableAction {
OPAL_DISABLE_MVE = 0,
@@ -31,7 +34,9 @@ DMA address and message data value.
This call sets the MVE to an enabled (1) or disabled (0) state.
-Return value: ::
+Return value:
+
+.. code-block:: c
if (!phb)
return OPAL_PARAMETER;
--
2.21.0
More information about the Skiboot
mailing list