Used to request the usage of a PM-slave. Using this API call a PU requests access to a slave device and asserts its requirements on that device. Provided the PU is sufficiently privileged, the PMU will enable access to the memory mapped region containing the control registers of that device. For devices that can only be serving a single PU, any other privileged PU will now be blocked from accessing this device until the node is released.
Note: None
Prototype
XStatus XPm_RequestNode(const enum XPmNodeId node, const u32 capabilities, const u32 qos, const enum XPmRequestAck ack);
Parameters
The following table lists the XPm_RequestNode
function arguments.
Type | Name | Description |
---|---|---|
const enum
XPmNodeId
|
node | Node ID of the PM slave requested |
const u32 | capabilities |
Slave-specific capabilities required, can be combined
|
const u32 | qos | Quality of Service (0-100) required |
const enum
XPmRequestAck
|
ack | Requested acknowledge type |