From 0c1a54e402633195e287f9f51ebd49a0a419af80 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Fri, 31 May 2019 16:13:18 +1000 Subject: doc: prettify OPAL_PCI_SET_MVE_ENABLE Signed-off-by: Stewart Smith --- 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 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; -- cgit v1.1