111 #ifndef __linux__ //If linux don't need
115 #include <linux/kernel.h>
121 #ifdef _OMAP4430 // must be OMAP4430 build
122 #include "../../PMICMILib/src/PCMI_Omap4430.h"
125 #include "../../STMLib/include/StmLibrary.h"
126 #include "../../STMLib/src/StmSupport.h"
127 #include "../../PMICMILib/src/PCMI_Common.h"
186 STMHandle * pSTMHandle;
189 uint8_t STMMessageCh;
320 ePMI_Error
PMI_GetVersion(PMI_Handle_Pntr pPMI_Handle, uint32_t * pLibMajorVersion, uint32_t * pLibMinorVersion, uint32_t * pSWFuncID, uint32_t * pHwFuncID);
422 ePMI_Error
PMI_GetSampleWindow(PMI_Handle_Pntr pPMI_Handle, uint32_t * pFuncClockDivider, uint32_t * pSampleWindowSize );
467 ePMI_Error
PMI_LogMsg(PMI_Handle_Pntr pPMI_Handle,
const char * FmtString, int32_t * pValue);
uint32_t PMI_Module_BaseAddr
Definition: PMILib.h:180
ePMI_Error PMI_ModuleActivityDisable(PMI_Handle_Pntr pPMI_Handle, int32_t retain)
ePMI_LPD_StateChange
Definition: PCMI_Omap4430.h:81
ePMI_LPD_PwrState
Definition: PCMI_Omap4430.h:139
ePMI_MVD_OPP
Definition: PCMI_Omap4430.h:72
uint32_t FuncClockDivider
Definition: PMILib.h:195
ePMI_Error PMI_LogMsg(PMI_Handle_Pntr pPMI_Handle, const char *FmtString, int32_t *pValue)
ePCMI_Error ePMI_Error
Definition: PMILib.h:204
ePMI_MVD_PwrState
Definition: PCMI_Omap4430.h:131
ePMI_Error PMI_MarkMemoryPowerStateChange(PMI_Handle_Pntr pPMI_Handle, ePMI_MPD_StateChange pwrDomain, ePMI_MPD_PwrState pwrState)
const char * PMI_GetErrorMsg(ePMI_Error errorCode)
ePCMI_Error
Definition: PCMI_Common.h:89
ePMI_Error PMI_ConfigModule(PMI_Handle_Pntr pPMI_Handle, ePCMI_Triggers triggerEnables, ePMI_EventEnables eventEnables)
uint32_t SampleWindowSize
Definition: PMILib.h:197
ePMI_Error PMI_MarkLogicVoltageOPPChange(PMI_Handle_Pntr pPMI_Handle, ePMI_LVD_OPP pwrDomain, uint8_t pwrValue)
PMI_Handle * PMI_Handle_Pntr
Definition: PMILib.h:174
ePMI_Error PMI_MarkMemoryVoltageOPPChange(PMI_Handle_Pntr pPMI_Handle, ePMI_MVD_OPP pwrDomain, ePMI_MVD_PwrState pwrState)
ePMI_Error PMI_GetVersion(PMI_Handle_Pntr pPMI_Handle, uint32_t *pLibMajorVersion, uint32_t *pLibMinorVersion, uint32_t *pSWFuncID, uint32_t *pHwFuncID)
void(* PCMI_CallBack)(const char *funcName, ePCMI_Error)
Definition: PCMI_Common.h:120
struct _PMI_CfgParams PMI_CfgParams
uint32_t PMI_ClockCtl_BaseAddr
Definition: PMILib.h:181
ePMI_Error PMI_OpenModule(PMI_Handle_Pntr *pPMI_Handle, ePMI_ModID PMI_ModId, PMI_CfgParams *pPMI_CfgParams)
ePMI_Error PMI_CloseModule(PMI_Handle_Pntr pPMI_Handle)
ePMI_Error PMI_MarkLogicPowerStateChange(PMI_Handle_Pntr pPMI_Handle, ePMI_LPD_StateChange pwrDomain, ePMI_LPD_PwrState pwrState)
ePMI_MPD_StateChange
Definition: PCMI_Omap4430.h:100
ePMI_Error PMI_ModuleActivityEnable(PMI_Handle_Pntr pPMI_Handle)
ePMI_Error PMI_GetSampleWindow(PMI_Handle_Pntr pPMI_Handle, uint32_t *pFuncClockDivider, uint32_t *pSampleWindowSize)
ePMI_LVD_OPP
Definition: PCMI_Omap4430.h:63
ePMI_EventEnables
Definition: PMILib.h:145
ePMI_ModID
Definition: PMILib.h:161
PCMI_CallBack pPMI_CallBack
Definition: PMILib.h:183
struct PMI_Handle_t PMI_Handle
Definition: PMILib.h:169
ePMI_MPD_PwrState
Definition: PCMI_Omap4430.h:149