summaryrefslogtreecommitdiffstats
path: root/doc/opal-api/opal-pci-get-power-state-120.txt
blob: 420cf8d674793185e4b62ec7ad7bdcbb5e3a586e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
OPAL_PCI_GET_POWER_STATE
---------------------------

Get PCI slot power state

Parameters:
	uint64_t id: PCI slot ID
	uint64_t data: memory buffer pointer for power state

Calling:

Retrieve PCI slot's power state. The retrieved power state is stored
in buffer pointed by @data.

Return Codes:

OPAL_SUCCESS - PCI slot's power state is retrieved successfully
OPAL_PARAMETER - The indicated PCI slot isn't found
OPAL_UNSUPPORTED - Power state retrieval not supported on the PCI slot
OpenPOWER on IntegriCloud