aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-05-31 16:13:18 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-03 10:20:00 +1000
commit0c1a54e402633195e287f9f51ebd49a0a419af80 (patch)
tree23a583b62d76cdc3258f652f50d8d682001432a3
parent7599c245bbdec852a6d570028a0bc9d6df80bd97 (diff)
downloadskiboot-0c1a54e402633195e287f9f51ebd49a0a419af80.zip
skiboot-0c1a54e402633195e287f9f51ebd49a0a419af80.tar.gz
skiboot-0c1a54e402633195e287f9f51ebd49a0a419af80.tar.bz2
doc: prettify OPAL_PCI_SET_MVE_ENABLE
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--doc/opal-api/opal-pci-set-mve-enable-34.rst13
1 files 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 44af37f..55bf10a 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;