112 #ifndef __linux__ //If linux don't need
116 #include <linux/kernel.h>
122 #ifdef _OMAP4430 // must be OMAP4430 build
123 #include "../../PMICMILib/src/PCMI_Omap4430.h"
126 #include "../../STMLib/include/StmLibrary.h"
127 #include "../../STMLib/src/StmSupport.h"
128 #include "../../PMICMILib/src/PCMI_Common.h"
213 STMHandle * pSTMHandle;
215 uint8_t STMMessageCh;
345 eCMI_Error
CMI_GetVersion(CMI_Handle_Pntr pCMI_Handle, uint32_t * pLibMajorVersion, uint32_t * pLibMinorVersion, uint32_t * pSWFuncID, uint32_t * pHwFuncID);
457 eCMI_Error
CMI_GetSampleWindow(CMI_Handle_Pntr pCMI_Handle, uint32_t * pFuncClockDivider, uint32_t * pSampleWindowSize );
503 eCMI_Error
CMI_LogMsg(CMI_Handle_Pntr pCMI_Handle,
const char * FmtString, int32_t * pValue);
eCMI_clkState
Definition: PCMI_Omap4430.h:245
eCMI_Error CMI_CloseModule(CMI_Handle_Pntr pCMI_Handle)
eCMI_Error CMI_OpenModule(CMI_Handle_Pntr *pCMI_Handle, eCMI_ModID CMI_ModId, CMI_CfgParams *pCMI_CfgParams)
eCMI_ModID
Definition: CMILib.h:185
eCMI_Error CMI_ModuleEnable(CMI_Handle_Pntr pCMI_Handle, eCMI_ModEnableType modEnableType)
eCMI_Error CMI_ModuleDisable(CMI_Handle_Pntr pCMI_Handle, int32_t retain)
eCMI_divState
Definition: PCMI_Omap4430.h:269
eCMI_Error CMI_ConfigModule(CMI_Handle_Pntr pCMI_Handle, ePCMI_Triggers triggerEnables, eCMI_EventEnables eventEnables, eCMI_ActivityEnables activityEnables)
eCMI_EventEnables
Definition: CMILib.h:150
uint32_t CMI_ClockCtl_BaseAddr
Definition: CMILib.h:208
eCMI_Error CMI_LogMsg(CMI_Handle_Pntr pCMI_Handle, const char *FmtString, int32_t *pValue)
eCMI_ClockDomainStateChange
Definition: PCMI_Omap4430.h:184
eCMI_Error CMI_GetSampleWindow(CMI_Handle_Pntr pCMI_Handle, uint32_t *pFuncClockDivider, uint32_t *pSampleWindowSize)
ePCMI_Error
Definition: PCMI_Common.h:89
eCMI_Error CMI_GetVersion(CMI_Handle_Pntr pCMI_Handle, uint32_t *pLibMajorVersion, uint32_t *pLibMinorVersion, uint32_t *pSWFuncID, uint32_t *pHwFuncID)
ePCMI_Error eCMI_Error
Definition: CMILib.h:230
const char * CMI_GetErrorMsg(eCMI_Error errorCode)
eCMI_ActivityEnables
Definition: CMILib.h:171
eCMI_Error CMI_MarkClockDividerRatioChange(CMI_Handle_Pntr pCMI_Handle, eCMI_ClockDividerRatioChange divDomain, eCMI_divState divState)
eCMI_Error CMI_MarkClockSourceSelectionChange(CMI_Handle_Pntr pCMI_Handle, eCMI_ClockSource clkSource)
CMI_Handle * CMI_Handle_Pntr
Definition: CMILib.h:201
eCMI_Error CMI_MarkDPLLSettingChange(CMI_Handle_Pntr pCMI_Handle, eCMI_DPLLSrc dlppSource)
void(* PCMI_CallBack)(const char *funcName, ePCMI_Error)
Definition: PCMI_Common.h:120
eCMI_ModEnableType
Definition: CMILib.h:143
eCMI_DPLLSrc
Definition: PCMI_Omap4430.h:300
uint32_t FuncClockDivider
Definition: CMILib.h:221
uint32_t CMI_Module_BaseAddr
Definition: CMILib.h:207
eCMI_ClockSource
Definition: PCMI_Omap4430.h:280
struct CMI_Handle_t CMI_Handle
Definition: CMILib.h:196
eCMI_Error CMI_MarkClockDomainStateChange(CMI_Handle_Pntr pCMI_Handle, eCMI_ClockDomainStateChange clkDomain, eCMI_clkState clkState)
PCMI_CallBack pCMI_CallBack
Definition: CMILib.h:210
struct _CMI_CfgParams CMI_CfgParams
uint32_t SampleWindowSize
Definition: CMILib.h:223
eCMI_ClockDividerRatioChange
Definition: PCMI_Omap4430.h:252