[Skiboot] [PATCH 107/110] doc: skeleton OPAL_PCI_EEH_FREEZE_SET docs
Stewart Smith
stewart at linux.ibm.com
Fri May 31 16:13:48 AEST 2019
Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
doc/opal-api/opal-pci-eeh-freeze-set-97.rst | 29 +++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 doc/opal-api/opal-pci-eeh-freeze-set-97.rst
diff --git a/doc/opal-api/opal-pci-eeh-freeze-set-97.rst b/doc/opal-api/opal-pci-eeh-freeze-set-97.rst
new file mode 100644
index 000000000000..b601ef689aff
--- /dev/null
+++ b/doc/opal-api/opal-pci-eeh-freeze-set-97.rst
@@ -0,0 +1,29 @@
+.. _OPAL_PCI_EEH_FREEZE_SET:
+
+OPAL_PCI_EEH_FREEZE_SET
+=======================
+
+.. code-block:: c
+
+ #define OPAL_PCI_EEH_FREEZE_SET 97
+
+ enum OpalEehFreezeActionToken {
+ OPAL_EEH_ACTION_CLEAR_FREEZE_MMIO = 1,
+ OPAL_EEH_ACTION_CLEAR_FREEZE_DMA = 2,
+ OPAL_EEH_ACTION_CLEAR_FREEZE_ALL = 3,
+
+ OPAL_EEH_ACTION_SET_FREEZE_MMIO = 1,
+ OPAL_EEH_ACTION_SET_FREEZE_DMA = 2,
+ OPAL_EEH_ACTION_SET_FREEZE_ALL = 3
+ };
+
+ int64_t opal_pci_eeh_freeze_set(uint64_t phb_id, uint64_t pe_number, uint64_t eeh_action_token);
+
+Returns
+-------
+:ref:`OPAL_PARAMETER`
+ Invalid parameter.
+:ref:`OPAL_UNSUPPORTED`
+ Unsupported operation
+:ref:`OPAL_HARDWARE`
+ Hardware in a bad state.
--
2.21.0
More information about the Skiboot
mailing list