Home
last modified time | relevance | path

Searched refs:sramMacroNum (Results 1 – 6 of 6) sorted by relevance

/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/source/
Dcy_syspm_v3.c1061 …_SysPm_SetSRAMMacroPwrMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum, cy_en_syspm_sr… in Cy_SysPm_SetSRAMMacroPwrMode() argument
1069 CY_ASSERT_L1( sramMacroNum < CPUSS_RAMC0_MACRO_NR ); in Cy_SysPm_SetSRAMMacroPwrMode()
1070 if (sramMacroNum < CPUSS_RAMC0_MACRO_NR) in Cy_SysPm_SetSRAMMacroPwrMode()
1072 …CPUSS_RAM0_PWR_MACRO_CTL(sramMacroNum) = _VAL2FLD(CPUSS_RAM0_PWR_MACRO_CTL_VECTKEYSTAT, CY_SYSPM_P… in Cy_SysPm_SetSRAMMacroPwrMode()
1080 CY_ASSERT_L1( sramMacroNum == 0UL ); in Cy_SysPm_SetSRAMMacroPwrMode()
1089 CY_ASSERT_L1( sramMacroNum == 0UL ); in Cy_SysPm_SetSRAMMacroPwrMode()
1104 …am_pwr_mode_t Cy_SysPm_GetSRAMMacroPwrMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum) in Cy_SysPm_GetSRAMMacroPwrMode() argument
1112 CY_ASSERT_L1( sramMacroNum < CPUSS_RAMC0_MACRO_NR ); in Cy_SysPm_GetSRAMMacroPwrMode()
1113 if (sramMacroNum < CPUSS_RAMC0_MACRO_NR) in Cy_SysPm_GetSRAMMacroPwrMode()
1115 … retVal = _FLD2VAL(CPUSS_RAM0_PWR_MACRO_CTL_PWR_MODE, CPUSS_RAM0_PWR_MACRO_CTL(sramMacroNum)); in Cy_SysPm_GetSRAMMacroPwrMode()
[all …]
Dcy_syspm.c2068 …_SysPm_SetSRAMMacroPwrMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum, cy_en_syspm_sr… in Cy_SysPm_SetSRAMMacroPwrMode() argument
2079 pwrModeConfig.sramMacroNum = sramMacroNum; in Cy_SysPm_SetSRAMMacroPwrMode()
2088 CY_ASSERT_L1( sramMacroNum < CPUSS_RAMC0_MACRO_NR ); in Cy_SysPm_SetSRAMMacroPwrMode()
2089 if (sramMacroNum < CPUSS_RAMC0_MACRO_NR) in Cy_SysPm_SetSRAMMacroPwrMode()
2091 …CPUSS_RAM0_PWR_CTL(sramMacroNum) = _VAL2FLD(CPUSS_V2_RAM0_PWR_MACRO_CTL_VECTKEYSTAT, CY_SYSPM_PWR_… in Cy_SysPm_SetSRAMMacroPwrMode()
2099 CY_ASSERT_L1( sramMacroNum == 0UL ); in Cy_SysPm_SetSRAMMacroPwrMode()
2108 CY_ASSERT_L1( sramMacroNum == 0UL ); in Cy_SysPm_SetSRAMMacroPwrMode()
2122 …am_pwr_mode_t Cy_SysPm_GetSRAMMacroPwrMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum) in Cy_SysPm_GetSRAMMacroPwrMode() argument
2130 CY_ASSERT_L1( sramMacroNum < CPUSS_RAMC0_MACRO_NR ); in Cy_SysPm_GetSRAMMacroPwrMode()
2131 if (sramMacroNum < CPUSS_RAMC0_MACRO_NR) in Cy_SysPm_GetSRAMMacroPwrMode()
[all …]
Dcy_syspm_v2.c1835 …_SetSRAMMacroPwrModeInline(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum, cy_en_syspm_sr… in Cy_SysPm_SetSRAMMacroPwrModeInline() argument
1839 CY_ASSERT_L3(sramMacroNum < CY_CPUSS_RAMC0_MACRO_NR); in Cy_SysPm_SetSRAMMacroPwrModeInline()
1852 MXSRAMC_PWR_MACRO_CTL &= ~(0x1UL << (uint32_t)sramMacroNum); in Cy_SysPm_SetSRAMMacroPwrModeInline()
1857 MXSRAMC_PWR_MACRO_CTL |= (0x1UL << (uint32_t)sramMacroNum); in Cy_SysPm_SetSRAMMacroPwrModeInline()
1868 …_SysPm_SetSRAMMacroPwrMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum, cy_en_syspm_sr… in Cy_SysPm_SetSRAMMacroPwrMode() argument
1870 return Cy_SysPm_SetSRAMMacroPwrModeInline(sramNum, sramMacroNum, sramPwrMode); in Cy_SysPm_SetSRAMMacroPwrMode()
1873 …am_pwr_mode_t Cy_SysPm_GetSRAMMacroPwrMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum) in Cy_SysPm_GetSRAMMacroPwrMode() argument
1878 CY_ASSERT_L3(sramMacroNum < CY_CPUSS_RAMC0_MACRO_NR); in Cy_SysPm_GetSRAMMacroPwrMode()
1888 …value = ((MXSRAMC_PWR_MACRO_CTL & (0x1UL << (uint32_t)sramMacroNum)) != 0UL) ? CY_SYSPM_SRAM_PWR_M… in Cy_SysPm_GetSRAMMacroPwrMode()
Dcy_syspm_v4.c1619 …_SetSRAMMacroPwrModeInline(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum, cy_en_syspm_sr… in Cy_SysPm_SetSRAMMacroPwrModeInline() argument
1623 CY_ASSERT_L3(sramMacroNum < CY_CPUSS_RAMC_MACRO_NR(sramNum)); in Cy_SysPm_SetSRAMMacroPwrModeInline()
1634 MXSRAMC_PWR_MACRO_CTL(sramNum) &= ~(0x1UL << (uint32_t)sramMacroNum); in Cy_SysPm_SetSRAMMacroPwrModeInline()
1639 MXSRAMC_PWR_MACRO_CTL(sramNum) |= (0x1UL << (uint32_t)sramMacroNum); in Cy_SysPm_SetSRAMMacroPwrModeInline()
1650 …_SysPm_SetSRAMMacroPwrMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum, cy_en_syspm_sr… in Cy_SysPm_SetSRAMMacroPwrMode() argument
1652 return Cy_SysPm_SetSRAMMacroPwrModeInline(sramNum, sramMacroNum, sramPwrMode); in Cy_SysPm_SetSRAMMacroPwrMode()
1655 …am_pwr_mode_t Cy_SysPm_GetSRAMMacroPwrMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum) in Cy_SysPm_GetSRAMMacroPwrMode() argument
1660 CY_ASSERT_L3(sramMacroNum < CY_CPUSS_RAMC_MACRO_NR(sramNum)); in Cy_SysPm_GetSRAMMacroPwrMode()
1668 …value = (((MXSRAMC_PWR_MACRO_CTL(sramNum) & (0x1UL << (uint32_t)sramMacroNum)) != 0UL) ? CY_SYSPM_… in Cy_SysPm_GetSRAMMacroPwrMode()
Dcy_pra.c98 …_PRA_ValidateSramPowerMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum, cy_en_syspm_sr…
818 uint32_t sramMacroNum; in Cy_PRA_ProcessCmd() local
822sramMacroNum = ((cy_stc_pra_sram_power_mode_config_t *) message->praData1)->sramMacroNum; 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()
3271 …_PRA_ValidateSramPowerMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum, cy_en_syspm_sr… 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()
3281 …UL != (sramPwrModeConfig[sramNum].macroConfigs[macroConfigIndex].sramMacros & (1UL<<sramMacroNum))) in Cy_PRA_ValidateSramPowerMode()
/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/include/
Dcy_syspm.h3572 uint32_t sramMacroNum; /**< SRAM macro number */ member
3778 …_SysPm_SetSRAMMacroPwrMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum, cy_en_syspm_sr…
3808 …m_pwr_mode_t Cy_SysPm_GetSRAMMacroPwrMode(cy_en_syspm_sram_index_t sramNum, uint32_t sramMacroNum);