|
AM64x MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
54 #ifndef SCICLIENT_PM_H_
55 #define SCICLIENT_PM_H_
134 uint32_t *moduleState,
135 uint32_t *resetState,
136 uint32_t *contextLossState,
205 uint32_t additionalFlag,
330 uint32_t additionalFlag,
366 uint32_t additionalFlag,
396 uint64_t *respFreqHz,
430 uint64_t *respFreqHz,
int32_t Sciclient_pmQueryModuleClkFreq(uint32_t moduleId, uint32_t clockId, uint64_t reqFreqHz, uint64_t *respFreqHz, uint32_t timeout)
Message to query the best clock frequency in the given range. This message does no real operation,...
int32_t Sciclient_pmSetModuleState(uint32_t moduleId, uint32_t state, uint32_t reqFlag, uint32_t timeout)
Message to set the hardware block/module state This is used to request or release a device....
int32_t Sciclient_pmModuleClkRequest(uint32_t moduleId, uint32_t clockId, uint32_t state, uint32_t additionalFlag, uint32_t timeout)
Message to set the clock state: This requests for finer control of hardware device's clocks....
int32_t Sciclient_pmDevicePowerOff(uint32_t timeout)
Some processors have a special sequence for powering off the core that provides notification to the P...
int32_t Sciclient_pmEnableWdt(uint32_t timeout)
Enables the WDT controllers within the DMSC.
uint32_t time_ms
Definition: tisci_pm_core.h:3
uint8_t state
Definition: tisci_pm_clock.h:3
uint8_t parent
Definition: tisci_pm_clock.h:3
int32_t Sciclient_pmGetWakeupReason(uint8_t mode[32], uint8_t reason[32], uint32_t *time_ms, uint32_t timeout)
Request wakeup reason After a wakeup, the host can request the deepest sleep/idle mode reached and th...
int32_t Sciclient_pmModuleGetClkStatus(uint32_t moduleId, uint32_t clockId, uint32_t *state, uint32_t timeout)
Message to get the clock state to or from a hardware block.
int32_t Sciclient_pmSetModuleClkFreq(uint32_t moduleId, uint32_t clockId, uint64_t freqHz, uint32_t additionalFlag, uint32_t timeout)
Message to set the clock frequency. This is typically desired when the default frequency of the hardw...
char reason[32]
Definition: tisci_pm_core.h:2
int32_t Sciclient_pmDeviceReset(uint32_t timeout)
Objective: Trigger a SoC level reset Usage: Used to trigger a system level reset. NOTE: Depending on ...
int32_t Sciclient_pmGetModuleClkParent(uint32_t moduleId, uint32_t clockId, uint32_t *parent, uint32_t timeout)
Message to Get Clock Parent: Query the clock parent currently configured for a specific clock source ...
int32_t Sciclient_pmGetModuleState(uint32_t moduleId, uint32_t *moduleState, uint32_t *resetState, uint32_t *contextLossState, uint32_t timeout)
Message to get the hardware block/Module state. This request does not require the processing entity t...
int32_t Sciclient_pmSetModuleRst_flags(uint32_t moduleId, uint32_t resetBit, uint32_t reqFlag, uint32_t timeout)
Set the device reset state, allowing for user to set reqFlags This is used to set or release various ...
int32_t Sciclient_pmSetModuleClkFreqRange(uint32_t moduleId, uint32_t clockId, uint64_t freqHz, uint64_t minFreqHz, uint64_t maxFreqHz, uint32_t additionalFlag, uint32_t timeout)
Message to set the clock frequency. This is typically desired when the default frequency of the hardw...
int32_t Sciclient_pmQueryModuleClkFreqRange(uint32_t moduleId, uint32_t clockId, uint64_t reqFreqHz, uint64_t minFreqHz, uint64_t maxFreqHz, uint64_t *respFreqHz, uint32_t timeout)
Message to query the best clock frequency in the given range. This message does no real operation,...
int32_t Sciclient_pmIsModuleValid(uint32_t modId)
This API would check if the given module Id is valid for the device.
int32_t Sciclient_pmDisableWakeup(uint32_t timeout)
This message is part of the CPU Off sequence. The sequence is:
char mode[32]
Definition: tisci_pm_core.h:1
int32_t Sciclient_pmSetModuleClkParent(uint32_t moduleId, uint32_t clockId, uint32_t parent, uint32_t timeout)
Message to Set Clock Parent: This message allows SoC specific customization for setting up a specific...
int32_t Sciclient_pmGetModuleClkNumParent(uint32_t moduleId, uint32_t clockId, uint32_t *numParent, uint32_t timeout)
Message to get the number of clock parents for a given module. This is typically used to get the max ...
int32_t Sciclient_pmGetModuleClkFreq(uint32_t moduleId, uint32_t clockId, uint64_t *freqHz, uint32_t timeout)
Message to Get Clock Frequency This is most used functionality and is meant for usage when the driver...
int32_t Sciclient_pmSetModuleRst(uint32_t moduleId, uint32_t resetBit, uint32_t timeout)
Set the device reset state. This is used to set or release various resets of the hardware block/modul...