Lines Matching refs:psConfig
1002 am_hal_pwrctrl_mcu_memory_config(am_hal_pwrctrl_mcu_memory_config_t *psConfig) in am_hal_pwrctrl_mcu_memory_config() argument
1009 switch ( psConfig->eCacheCfg ) in am_hal_pwrctrl_mcu_memory_config()
1028 PWRCTRL->MEMPWREN_b.PWRENDTCM = psConfig->eDTCMCfg; in am_hal_pwrctrl_mcu_memory_config()
1033 PWRCTRL->MEMPWREN_b.PWRENNVM0 = psConfig->bEnableNVM0; in am_hal_pwrctrl_mcu_memory_config()
1069 if (psConfig->bRetainCache) in am_hal_pwrctrl_mcu_memory_config()
1081 if (psConfig->bRetainNVM0) in am_hal_pwrctrl_mcu_memory_config()
1093 switch ( psConfig->eRetainDTCM ) in am_hal_pwrctrl_mcu_memory_config()
1120 am_hal_pwrctrl_mcu_memory_config_get(am_hal_pwrctrl_mcu_memory_config_t *psConfig) in am_hal_pwrctrl_mcu_memory_config_get() argument
1129 psConfig->eCacheCfg = AM_HAL_PWRCTRL_CACHE_ALL; in am_hal_pwrctrl_mcu_memory_config_get()
1133 psConfig->eCacheCfg = AM_HAL_PWRCTRL_CACHEB0_ONLY; in am_hal_pwrctrl_mcu_memory_config_get()
1145 psConfig->eCacheCfg = AM_HAL_PWRCTRL_CACHE_NONE; in am_hal_pwrctrl_mcu_memory_config_get()
1152 psConfig->eDTCMCfg = in am_hal_pwrctrl_mcu_memory_config_get()
1158 psConfig->bEnableNVM0 = PWRCTRL->MEMPWREN_b.PWRENNVM0; in am_hal_pwrctrl_mcu_memory_config_get()
1163 psConfig->bRetainCache = in am_hal_pwrctrl_mcu_memory_config_get()
1169 psConfig->bRetainNVM0 = in am_hal_pwrctrl_mcu_memory_config_get()
1177 psConfig->eRetainDTCM = AM_HAL_PWRCTRL_DTCM_NONE; in am_hal_pwrctrl_mcu_memory_config_get()
1181 psConfig->eRetainDTCM = AM_HAL_PWRCTRL_DTCM_8K; in am_hal_pwrctrl_mcu_memory_config_get()
1185 psConfig->eRetainDTCM = AM_HAL_PWRCTRL_DTCM_128K; in am_hal_pwrctrl_mcu_memory_config_get()
1189 psConfig->eRetainDTCM = AM_HAL_PWRCTRL_DTCM_384K; in am_hal_pwrctrl_mcu_memory_config_get()
1206 am_hal_pwrctrl_sram_config(am_hal_pwrctrl_sram_memcfg_t *psConfig) in am_hal_pwrctrl_sram_config() argument
1213 PWRCTRL->SSRAMPWREN_b.PWRENSSRAM = psConfig->eSRAMCfg; in am_hal_pwrctrl_sram_config()
1247 PWRCTRL->SSRAMRETCFG_b.SSRAMACTMCU = psConfig->eActiveWithMCU; in am_hal_pwrctrl_sram_config()
1248 PWRCTRL->SSRAMRETCFG_b.SSRAMACTGFX = psConfig->eActiveWithGFX; in am_hal_pwrctrl_sram_config()
1249 PWRCTRL->SSRAMRETCFG_b.SSRAMACTDISP = psConfig->eActiveWithDISP; in am_hal_pwrctrl_sram_config()
1250 PWRCTRL->SSRAMRETCFG_b.SSRAMACTDSP = psConfig->eActiveWithDSP; in am_hal_pwrctrl_sram_config()
1255 switch ( psConfig->eSRAMRetain ) in am_hal_pwrctrl_sram_config()
1281 am_hal_pwrctrl_sram_config_get(am_hal_pwrctrl_sram_memcfg_t *psConfig) in am_hal_pwrctrl_sram_config_get() argument
1286 psConfig->eSRAMCfg = (am_hal_pwrctrl_sram_select_e)PWRCTRL->SSRAMPWREN_b.PWRENSSRAM; in am_hal_pwrctrl_sram_config_get()
1291 psConfig->eActiveWithMCU = (am_hal_pwrctrl_sram_select_e)PWRCTRL->SSRAMRETCFG_b.SSRAMACTMCU; in am_hal_pwrctrl_sram_config_get()
1292 psConfig->eActiveWithGFX = (am_hal_pwrctrl_sram_select_e)PWRCTRL->SSRAMRETCFG_b.SSRAMACTGFX; in am_hal_pwrctrl_sram_config_get()
1293 psConfig->eActiveWithDISP = (am_hal_pwrctrl_sram_select_e)PWRCTRL->SSRAMRETCFG_b.SSRAMACTDISP; in am_hal_pwrctrl_sram_config_get()
1294 psConfig->eActiveWithDSP = (am_hal_pwrctrl_sram_select_e)PWRCTRL->SSRAMRETCFG_b.SSRAMACTDSP; in am_hal_pwrctrl_sram_config_get()
1301 psConfig->eSRAMRetain = AM_HAL_PWRCTRL_SRAM_NONE; in am_hal_pwrctrl_sram_config_get()
1305 psConfig->eSRAMRetain = AM_HAL_PWRCTRL_SRAM_ALL; in am_hal_pwrctrl_sram_config_get()
1309 psConfig->eSRAMRetain = AM_HAL_PWRCTRL_SRAM_1M_GRP1; in am_hal_pwrctrl_sram_config_get()
1313 psConfig->eSRAMRetain = AM_HAL_PWRCTRL_SRAM_1M_GRP0; in am_hal_pwrctrl_sram_config_get()
1406 dsp0_memory_config(am_hal_pwrctrl_dsp_memory_config_t *psConfig) in dsp0_memory_config() argument
1411 if (psConfig->bEnableICache) in dsp0_memory_config()
1421 if (psConfig->bEnableRAM) in dsp0_memory_config()
1460 if (psConfig->bRetainCache) in dsp0_memory_config()
1470 if (psConfig->bActiveRAM) in dsp0_memory_config()
1478 if (psConfig->bRetainRAM) in dsp0_memory_config()
1496 dsp1_memory_config(am_hal_pwrctrl_dsp_memory_config_t *psConfig) in dsp1_memory_config() argument
1501 if (psConfig->bEnableICache) in dsp1_memory_config()
1511 if (psConfig->bEnableRAM) in dsp1_memory_config()
1550 if (psConfig->bRetainCache) in dsp1_memory_config()
1560 if (psConfig->bActiveRAM) in dsp1_memory_config()
1568 if (psConfig->bRetainRAM) in dsp1_memory_config()
1588 am_hal_pwrctrl_dsp_memory_config_t *psConfig) in am_hal_pwrctrl_dsp_memory_config() argument
1595 retval = dsp0_memory_config(psConfig); in am_hal_pwrctrl_dsp_memory_config()
1598 retval = dsp1_memory_config(psConfig); in am_hal_pwrctrl_dsp_memory_config()
1611 dsp0_memory_get(am_hal_pwrctrl_dsp_memory_config_t *psConfig) in dsp0_memory_get() argument
1615 …psConfig->bEnableICache = (PWRCTRL_DSP0MEMPWREN_PWRENDSP0ICACHE_ON == PWRCTRL->DSP0MEMPWREN_b.PWRE… in dsp0_memory_get()
1616 …psConfig->bRetainCache = (PWRCTRL_DSP0MEMRETCFG_ICACHEPWDDSP0OFF_RET == PWRCTRL->DSP0MEMRETCFG_b.… in dsp0_memory_get()
1619 …psConfig->bEnableRAM = (PWRCTRL->DSP0MEMPWREN_b.PWRENDSP0RAM == PWRCTRL_DSP0MEMPWREN_PWRENDSP0R… in dsp0_memory_get()
1620 …psConfig->bActiveRAM = (PWRCTRL->DSP0MEMRETCFG_b.DSP0RAMACTMCU == PWRCTRL_DSP0MEMRETCFG_DSP0RAM… in dsp0_memory_get()
1621 …psConfig->bRetainRAM = (PWRCTRL->DSP0MEMRETCFG_b.RAMPWDDSP0OFF == PWRCTRL_DSP0MEMRETCFG_RAMPWDD… in dsp0_memory_get()
1632 dsp1_memory_get(am_hal_pwrctrl_dsp_memory_config_t *psConfig) in dsp1_memory_get() argument
1635 …psConfig->bEnableICache = (PWRCTRL_DSP1MEMPWREN_PWRENDSP1ICACHE_ON == PWRCTRL->DSP1MEMPWREN_b.PWRE… in dsp1_memory_get()
1636 …psConfig->bRetainCache = (PWRCTRL_DSP1MEMRETCFG_ICACHEPWDDSP1OFF_RET == PWRCTRL->DSP1MEMRETCFG_b.… in dsp1_memory_get()
1639 …psConfig->bEnableRAM = (PWRCTRL->DSP1MEMPWREN_b.PWRENDSP1RAM == PWRCTRL_DSP1MEMPWREN_PWRENDSP1R… in dsp1_memory_get()
1640 …psConfig->bActiveRAM = (PWRCTRL->DSP1MEMRETCFG_b.DSP1RAMACTMCU == PWRCTRL_DSP1MEMRETCFG_DSP1RAM… in dsp1_memory_get()
1641 …psConfig->bRetainRAM = (PWRCTRL->DSP1MEMRETCFG_b.RAMPWDDSP1OFF == PWRCTRL_DSP1MEMRETCFG_RAMPWDD… in dsp1_memory_get()
1654 am_hal_pwrctrl_dsp_memory_config_t *psConfig) in am_hal_pwrctrl_dsp_memory_config_get() argument
1661 retval = dsp0_memory_get(psConfig); in am_hal_pwrctrl_dsp_memory_config_get()
1664 retval = dsp1_memory_get(psConfig); in am_hal_pwrctrl_dsp_memory_config_get()