Lines Matching refs:module

154 static uint8_t PF1550_GetRegulatorSetPoint(pf1550_handle_t *handle, pf1550_module_t module, uint32_…  in PF1550_GetRegulatorSetPoint()  argument
160 assert((kPF1550_ModuleSwitch1 == module) || (kPF1550_ModuleSwitch2 == module) || in PF1550_GetRegulatorSetPoint()
161 …(kPF1550_ModuleSwitch3 == module) || (kPF1550_ModuleLdo1 == module) || (kPF1550_ModuleLdo2 == modu… in PF1550_GetRegulatorSetPoint()
162 (kPF1550_ModuleLdo3 == module)); in PF1550_GetRegulatorSetPoint()
164 switch (module) in PF1550_GetRegulatorSetPoint()
250 static uint32_t PF1550_GetRegulatorOutputVolt(pf1550_handle_t *handle, pf1550_module_t module, uint… in PF1550_GetRegulatorOutputVolt() argument
255 assert((kPF1550_ModuleSwitch1 == module) || (kPF1550_ModuleSwitch2 == module) || in PF1550_GetRegulatorOutputVolt()
256 …(kPF1550_ModuleSwitch3 == module) || (kPF1550_ModuleLdo1 == module) || (kPF1550_ModuleLdo2 == modu… in PF1550_GetRegulatorOutputVolt()
257 (kPF1550_ModuleLdo3 == module)); in PF1550_GetRegulatorOutputVolt()
259 switch (module) in PF1550_GetRegulatorOutputVolt()
265 if (true == PF1550_IsRegulatorSupportDvs(handle, module)) in PF1550_GetRegulatorOutputVolt()
629 pf1550_module_t module, in PF1550_EnableRegulator() argument
641 if (kPF1550_ModuleVsnvs == module) in PF1550_EnableRegulator()
647 regulatorCtrlRegAddr = regulatorCtrlRegTab[module]; in PF1550_EnableRegulator()
677 bool PF1550_IsRegulatorEnabled(pf1550_handle_t *handle, pf1550_module_t module, pf1550_operating_st… in PF1550_IsRegulatorEnabled() argument
689 if (kPF1550_ModuleVsnvs == module) in PF1550_IsRegulatorEnabled()
696 regulatorCtrlRegAddr = regulatorCtrlRegTab[module]; in PF1550_IsRegulatorEnabled()
730 pf1550_module_t module, in PF1550_SetRegulatorOutputVoltage() argument
743 if (PF1550_IsRegulatorSupportDvs(handle, module)) in PF1550_SetRegulatorOutputVoltage()
746 regulatorVoltRegAddr = regulatorVoltRegTab[module]; in PF1550_SetRegulatorOutputVoltage()
747 regulatorVoltRegContent = PF1550_GetRegulatorSetPoint(handle, module, voltage); in PF1550_SetRegulatorOutputVoltage()
752 …if ((kPF1550_ModuleLdo1 == module) || (kPF1550_ModuleLdo2 == module) || (kPF1550_ModuleLdo3 == mod… in PF1550_SetRegulatorOutputVoltage()
791 pf1550_module_t module, in PF1550_GetRegulatorOutputVoltage() argument
803 switch (module) in PF1550_GetRegulatorOutputVoltage()
810 regulatorVoltRegAddr = regulatorVoltRegTab[module]; in PF1550_GetRegulatorOutputVoltage()
812 voltage = PF1550_GetRegulatorOutputVolt(handle, module, regulatorVoltRegContent); in PF1550_GetRegulatorOutputVoltage()
820 regulatorVoltRegAddr = regulatorVoltRegTab[module]; in PF1550_GetRegulatorOutputVoltage()
825 … voltage = PF1550_GetRegulatorOutputVolt(handle, module, regulatorVoltRegContent); in PF1550_GetRegulatorOutputVoltage()
831 … voltage = PF1550_GetRegulatorOutputVolt(handle, module, regulatorVoltRegContent); in PF1550_GetRegulatorOutputVoltage()
837 … voltage = PF1550_GetRegulatorOutputVolt(handle, module, regulatorVoltRegContent); in PF1550_GetRegulatorOutputVoltage()
861 pf1550_module_t module, in PF1550_SetSwitchAttribute() argument
869 …assert((kPF1550_ModuleSwitch1 == module) || (kPF1550_ModuleSwitch2 == module) || (kPF1550_ModuleSw… in PF1550_SetSwitchAttribute()
872 regulatorCtrlRegAddr = regulatorCtrlRegTab[module]; in PF1550_SetSwitchAttribute()
876 if (PF1550_IsRegulatorSupportDvs(handle, module)) in PF1550_SetSwitchAttribute()
887 (void)PF1550_WriteReg(handle, powerDownRegTab[module], (uint8_t)attribute->powerDownSequence); in PF1550_SetSwitchAttribute()
889 switch (module) in PF1550_SetSwitchAttribute()
909 void PF1550_SetLdoAttribute(pf1550_handle_t *handle, pf1550_module_t module, const pf1550_ldo_attri… in PF1550_SetLdoAttribute() argument
913 …assert((kPF1550_ModuleLdo1 == module) || (kPF1550_ModuleLdo2 == module) || (kPF1550_ModuleLdo3 == in PF1550_SetLdoAttribute()
916 (void)PF1550_WriteReg(handle, powerDownRegTab[module], (uint8_t)attribute->powerDownSequence); in PF1550_SetLdoAttribute()
919 switch (module) in PF1550_SetLdoAttribute()
1020 bool PF1550_IsRegulatorSupportDvs(pf1550_handle_t *handle, pf1550_module_t module) in PF1550_IsRegulatorSupportDvs() argument
1027 switch (module) in PF1550_IsRegulatorSupportDvs()