76#ifndef _POWERMGR_PLAT_H
77#define _POWERMGR_PLAT_H
131#ifdef ENABLE_THERMAL_PROTECTION
149int PLAT_API_GetTemperature(IARM_Bus_PWRMgr_ThermalState_t *curState,
float *curTemperature,
float *wifiTemperature);
165int PLAT_API_SetTempThresholds(
float tempHigh,
float tempCritical);
180int PLAT_API_GetTempThresholds(
float *tempHigh,
float *tempCritical);
193int PLAT_API_DetemineClockSpeeds(uint32_t *cpu_rate_Normal, uint32_t *cpu_rate_Scaled, uint32_t *cpu_rate_Minimal);
205int PLAT_API_SetClockSpeed(uint32_t speed);
216int PLAT_API_GetClockSpeed(uint32_t *speed);
void PLAT_TERM(void)
Terminates the CPE Power Management module.
int32_t PLAT_API_SetWakeupSrc(WakeupSrcType_t srcType, bool enable)
Enables or disables the Wakeup source type.
void PLAT_Reset(IARM_Bus_PWRMgr_PowerState_t newState)
Resets the power state of the device.
int PLAT_API_SetPowerState(IARM_Bus_PWRMgr_PowerState_t newState)
Sets the CPE Power State.
int32_t PLAT_API_GetWakeupSrc(WakeupSrcType_t srcType, bool *enable)
Checks if the wake up source is enabled or disabled for the device.
int PLAT_API_GetPowerState(IARM_Bus_PWRMgr_PowerState_t *curState)
Gets the CPE Power State.
int PLAT_INIT(void)
Initializes the underlying Power Management module.