Home
last modified time | relevance | path

Searched refs:block_start (Results 1 – 7 of 7) sorted by relevance

/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32l5xx/secure/
Dtarget_cfg.c183 uint32_t block_start = (start - 0x20000000) / (256); in unsecure_sram1() local
184 uint32_t block_end = block_start + ((end - start) + 1) / (256); in unsecure_sram1()
204 if ((index >= block_start) && (index < block_end)) in unsecure_sram1()
226 uint32_t block_start = (start - 0x30030000) / (256); in unsecure_sram2() local
227 uint32_t block_end = block_start + ((end - start) + 1) / (256); in unsecure_sram2()
247 if ((index >= block_start) && (index < block_end)) in unsecure_sram2()
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/secure/
Dtarget_cfg.c370 uint32_t block_start = (off_start) / (MPCBB_BLOCK_SIZE); in gtzc_config_sram() local
395 if ((index >= block_start) && (index < block_end)) in gtzc_config_sram()
443 uint32_t block_start = offset_start; in gtzc_internal_flash_priv() local
445 block_start = block_start / FLASH_AREA_IMAGE_SECTOR_SIZE; in gtzc_internal_flash_priv()
451 for (index = block_start & ~0x1f; index < (8 << 5) ; index++) { in gtzc_internal_flash_priv()
456 if ((index >= block_start) && (index <= block_end)) { in gtzc_internal_flash_priv()
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/secure/
Dtarget_cfg.c377 uint32_t block_start = (off_start) / (MPCBB_BLOCK_SIZE); in gtzc_config_sram() local
403 if ((index >= block_start) && (index < block_end)) in gtzc_config_sram()
451 uint32_t block_start = offset_start; in gtzc_internal_flash_priv() local
453 block_start = block_start / FLASH_AREA_IMAGE_SECTOR_SIZE; in gtzc_internal_flash_priv()
459 for (index = block_start & ~0x1f; index < (8 << 5) ; index++) { in gtzc_internal_flash_priv()
464 if ((index >= block_start) && (index <= block_end)) { in gtzc_internal_flash_priv()
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_gtzc.c836 uint32_t block_start, offset_reg_start, offset_bit_start; in HAL_GTZC_MPCBB_ConfigMemAttributes() local
877 block_start = (MemAddress - base_address) / GTZC_MPCBB_BLOCK_SIZE; in HAL_GTZC_MPCBB_ConfigMemAttributes()
878 offset_reg_start = block_start / 32U; in HAL_GTZC_MPCBB_ConfigMemAttributes()
879 offset_bit_start = block_start % 32U; in HAL_GTZC_MPCBB_ConfigMemAttributes()
931 uint32_t block_start, offset_reg_start, offset_bit_start; in HAL_GTZC_MPCBB_GetConfigMemAttributes() local
972 block_start = (MemAddress - base_address) / GTZC_MPCBB_BLOCK_SIZE; in HAL_GTZC_MPCBB_GetConfigMemAttributes()
973 offset_reg_start = block_start / 32U; in HAL_GTZC_MPCBB_GetConfigMemAttributes()
974 offset_bit_start = block_start % 32U; in HAL_GTZC_MPCBB_GetConfigMemAttributes()
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/hal/Src/
Dstm32h5xx_hal_gtzc.c1029 uint32_t block_start; in HAL_GTZC_MPCBB_ConfigMemAttributes() local
1091 block_start = (MemAddress - base_address) / GTZC_MPCBB_BLOCK_SIZE; in HAL_GTZC_MPCBB_ConfigMemAttributes()
1092 offset_reg_start = block_start / 32U; in HAL_GTZC_MPCBB_ConfigMemAttributes()
1093 offset_bit_start = block_start % 32U; in HAL_GTZC_MPCBB_ConfigMemAttributes()
1175 uint32_t block_start; in HAL_GTZC_MPCBB_GetConfigMemAttributes() local
1236 block_start = (MemAddress - base_address) / GTZC_MPCBB_BLOCK_SIZE; in HAL_GTZC_MPCBB_GetConfigMemAttributes()
1237 offset_reg_start = block_start / 32U; in HAL_GTZC_MPCBB_GetConfigMemAttributes()
1238 offset_bit_start = block_start % 32U; in HAL_GTZC_MPCBB_GetConfigMemAttributes()
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_gtzc.c992 uint32_t block_start; in HAL_GTZC_MPCBB_ConfigMemAttributes() local
1060 block_start = (MemAddress - base_address) / GTZC_MPCBB_BLOCK_SIZE; in HAL_GTZC_MPCBB_ConfigMemAttributes()
1061 offset_reg_start = block_start / 32U; in HAL_GTZC_MPCBB_ConfigMemAttributes()
1062 offset_bit_start = block_start % 32U; in HAL_GTZC_MPCBB_ConfigMemAttributes()
1144 uint32_t block_start; in HAL_GTZC_MPCBB_GetConfigMemAttributes() local
1211 block_start = (MemAddress - base_address) / GTZC_MPCBB_BLOCK_SIZE; in HAL_GTZC_MPCBB_GetConfigMemAttributes()
1212 offset_reg_start = block_start / 32U; in HAL_GTZC_MPCBB_GetConfigMemAttributes()
1213 offset_bit_start = block_start % 32U; in HAL_GTZC_MPCBB_GetConfigMemAttributes()
/trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/bl2/
Dlow_level_security.c1012 uint32_t block_start = offset_start; in secure_internal_flash() local
1014 block_start = block_start / PAGE_SIZE; in secure_internal_flash()
1024 for (index = block_start & ~0x1f; index < (8<<5) ; index++) in secure_internal_flash()
1029 if ((index >= block_start) && (index <= block_end)) in secure_internal_flash()
1043 for (index = block_start & ~0x1f; index < (8<<5) ; index++) in secure_internal_flash()
1048 if ((index >= block_start) && (index <= block_end)) in secure_internal_flash()