Lines Matching refs:sramNum
98 …static cy_en_pra_status_t Cy_PRA_ValidateSramPowerMode(cy_en_syspm_sram_index_t sramNum, uint32_t …
99 …static cy_en_pra_status_t Cy_PRA_ValidateEntireSramPowerMode(cy_en_syspm_sram_index_t sramNum, cy_…
817 cy_en_syspm_sram_index_t sramNum; in Cy_PRA_ProcessCmd() local
821 sramNum = ((cy_stc_pra_sram_power_mode_config_t *) message->praData1)->sramNum; in Cy_PRA_ProcessCmd()
825 … message->praStatus = Cy_PRA_ValidateSramPowerMode(sramNum, sramMacroNum, sramPwrMode); in Cy_PRA_ProcessCmd()
829 … if (CY_SYSPM_SUCCESS != Cy_SysPm_SetSRAMMacroPwrMode(sramNum, sramMacroNum, sramPwrMode)) in Cy_PRA_ProcessCmd()
843 cy_en_syspm_sram_index_t sramNum; in Cy_PRA_ProcessCmd() local
846 sramNum = ((cy_stc_pra_sram_power_mode_config_t *) message->praData1)->sramNum; in Cy_PRA_ProcessCmd()
849 message->praStatus = Cy_PRA_ValidateEntireSramPowerMode(sramNum, sramPwrMode); in Cy_PRA_ProcessCmd()
853 if (CY_SYSPM_SUCCESS != Cy_SysPm_SetSRAMPwrMode(sramNum, sramPwrMode)) in Cy_PRA_ProcessCmd()
3271 static cy_en_pra_status_t Cy_PRA_ValidateSramPowerMode(cy_en_syspm_sram_index_t sramNum, uint32_t s… in Cy_PRA_ValidateSramPowerMode() argument
3276 … if (((uint8_t)sramNum < CY_PRA_SRAM_MAX_NR) && ((uint8_t)sramMacroNum < CY_PRA_SRAM_MACRO_MAX_NR)) in Cy_PRA_ValidateSramPowerMode()
3279 …for (macroConfigIndex=0UL; macroConfigIndex<sramPwrModeConfig[sramNum].macroConfigCount; macroConf… in Cy_PRA_ValidateSramPowerMode()
3281 …if (0UL != (sramPwrModeConfig[sramNum].macroConfigs[macroConfigIndex].sramMacros & (1UL<<sramMacro… in Cy_PRA_ValidateSramPowerMode()
3286 …if (0U == _FLD2VAL(CY_PRA_PM_SRAM_PWR_MODE_OFF, sramPwrModeConfig[sramNum].macroConfigs[macroConfi… in Cy_PRA_ValidateSramPowerMode()
3292 …if (0U == _FLD2VAL(CY_PRA_PM_SRAM_PWR_MODE_RETAIN, sramPwrModeConfig[sramNum].macroConfigs[macroCo… in Cy_PRA_ValidateSramPowerMode()
3298 …if (0U == _FLD2VAL(CY_PRA_PM_SRAM_PWR_MODE_ON, sramPwrModeConfig[sramNum].macroConfigs[macroConfig… in Cy_PRA_ValidateSramPowerMode()
3328 static cy_en_pra_status_t Cy_PRA_ValidateEntireSramPowerMode(cy_en_syspm_sram_index_t sramNum, cy_e… in Cy_PRA_ValidateEntireSramPowerMode() argument
3333 if ((uint8_t)sramNum < CY_PRA_SRAM_MAX_NR) in Cy_PRA_ValidateEntireSramPowerMode()
3336 …for (macroConfigIndex=0UL; macroConfigIndex<sramPwrModeConfig[sramNum].macroConfigCount; macroConf… in Cy_PRA_ValidateEntireSramPowerMode()
3341 …if (0U == _FLD2VAL(CY_PRA_PM_SRAM_PWR_MODE_OFF, sramPwrModeConfig[sramNum].macroConfigs[macroConfi… in Cy_PRA_ValidateEntireSramPowerMode()
3347 …if (0U == _FLD2VAL(CY_PRA_PM_SRAM_PWR_MODE_RETAIN, sramPwrModeConfig[sramNum].macroConfigs[macroCo… in Cy_PRA_ValidateEntireSramPowerMode()
3353 …if (0U == _FLD2VAL(CY_PRA_PM_SRAM_PWR_MODE_ON, sramPwrModeConfig[sramNum].macroConfigs[macroConfig… in Cy_PRA_ValidateEntireSramPowerMode()