Lines Matching refs:mode

391     uint32_t mode;  in Cy_SysPm_GetDeepSleepMode()  local
394 mode = (uint32_t)cy_pd_ppu_get_programmed_power_mode((struct ppu_v1_reg *)CY_PPU_MAIN_BASE); in Cy_SysPm_GetDeepSleepMode()
396 switch(mode) in Cy_SysPm_GetDeepSleepMode()
694 cy_en_syspm_status_t Cy_SysPm_LdoSetMode(cy_en_syspm_ldo_mode_t mode) in Cy_SysPm_LdoSetMode() argument
696 CY_ASSERT_L3(CY_SYSPM_IS_LDO_MODE_VALID(mode)); in Cy_SysPm_LdoSetMode()
700 switch (mode) in Cy_SysPm_LdoSetMode()
1000 void Cy_SysPm_CoreBuckSetMode(cy_en_syspm_core_buck_mode_t mode) in Cy_SysPm_CoreBuckSetMode() argument
1002 CY_ASSERT_L2(CY_SYSPM_IS_CORE_BUCK_MODE_VALID(mode)); in Cy_SysPm_CoreBuckSetMode()
1004 CY_REG32_CLR_SET(SRSS_PWR_CBUCK_CTL, SRSS_PWR_CBUCK_CTL_CBUCK_MODE, mode); in Cy_SysPm_CoreBuckSetMode()
1028 void Cy_SysPm_CoreBuckDpslpSetMode(cy_en_syspm_core_buck_mode_t mode) in Cy_SysPm_CoreBuckDpslpSetMode() argument
1030 CY_ASSERT_L2(CY_SYSPM_IS_CORE_BUCK_MODE_VALID(mode)); in Cy_SysPm_CoreBuckDpslpSetMode()
1032 CY_REG32_CLR_SET(SRSS_PWR_CBUCK_DPSLP_CTL, SRSS_PWR_CBUCK_DPSLP_CTL_CBUCK_DPSLP_MODE, mode); in Cy_SysPm_CoreBuckDpslpSetMode()
1330 …atus_t Cy_SysPm_ExecuteCallback(cy_en_syspm_callback_type_t type, cy_en_syspm_callback_mode_t mode) in Cy_SysPm_ExecuteCallback() argument
1333 CY_ASSERT_L3(CY_SYSPM_IS_CALLBACK_MODE_VALID(mode)); in Cy_SysPm_ExecuteCallback()
1340 if ((mode == CY_SYSPM_BEFORE_TRANSITION) || (mode == CY_SYSPM_CHECK_READY)) in Cy_SysPm_ExecuteCallback()
1346 … while ((curCallback != NULL) && ((retVal != CY_SYSPM_FAIL) || (mode != CY_SYSPM_CHECK_READY))) in Cy_SysPm_ExecuteCallback()
1349 if (0UL == ((uint32_t) mode & curCallback->skipMode)) in Cy_SysPm_ExecuteCallback()
1355 retVal = curCallback->callback(&curParams, mode); in Cy_SysPm_ExecuteCallback()
1368 if (mode == CY_SYSPM_CHECK_READY) in Cy_SysPm_ExecuteCallback()
1393 if (mode != CY_SYSPM_CHECK_FAIL) in Cy_SysPm_ExecuteCallback()
1417 if (0UL == ((uint32_t) mode & curCallback->skipMode)) in Cy_SysPm_ExecuteCallback()
1423 retVal = curCallback->callback(&curParams, mode); in Cy_SysPm_ExecuteCallback()