Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 25 of 39) sorted by relevance

12

/trusted-firmware-m-3.6.0/secure_fw/include/
Darray.h15 #ifndef ARRAY_SIZE
16 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0])) macro
20 #define IOVEC_LEN(x) (uint32_t)ARRAY_SIZE(x)
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/bl2/
Dboot_hal_bl2.c47 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof((arr)[0])) macro
52 if (boot_index >= ARRAY_SIZE(tfm_part_names)) { in fill_flash_map_with_tfm_data()
54 boot_index, ARRAY_SIZE(tfm_part_names)); in fill_flash_map_with_tfm_data()
75 if (boot_index >= ARRAY_SIZE(fip_part_names)) { in fill_flash_map_with_fip_data()
77 boot_index, ARRAY_SIZE(fip_part_names)); in fill_flash_map_with_fip_data()
Dflash_map_bl2.c16 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof((arr)[0])) macro
59 const int flash_map_entry_num = ARRAY_SIZE(flash_map);
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/bl1/
Dbl1_flash_map.c18 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof((arr)[0])) macro
38 const int flash_map_entry_num = ARRAY_SIZE(flash_map);
/trusted-firmware-m-3.6.0/bl2/src/
Ddefault_flash_map.c45 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof((arr)[0])) macro
84 const int flash_driver_entry_num = ARRAY_SIZE(flash_driver);
128 const int flash_map_entry_num = ARRAY_SIZE(flash_map);
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/tc/bl2/
Dflash_map_bl2.c14 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof((arr)[0])) macro
23 const int flash_driver_entry_num = ARRAY_SIZE(flash_driver);
115 const int flash_map_entry_num = ARRAY_SIZE(flash_map);
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/kronos/bl2/
Dflash_map_bl2.c14 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof((arr)[0])) macro
23 const int flash_driver_entry_num = ARRAY_SIZE(flash_driver);
115 const int flash_map_entry_num = ARRAY_SIZE(flash_map);
/trusted-firmware-m-3.6.0/platform/ext/target/nordic_nrf/common/core/
Dhw_init.c112 for (int i = 0; i < ARRAY_SIZE(NVIC->ICER); i++) { in hw_init_reset_on_boot()
116 for (int i = 0; i < ARRAY_SIZE(NVIC->ICPR); i++) { in hw_init_reset_on_boot()
/trusted-firmware-m-3.6.0/platform/ext/target/stm/common/stm32l5xx/secure/
Dtfm_hal_isolation.c179 if (ARRAY_SIZE(isolation_regions) >= MPU_REGION_NUM) { in tfm_hal_set_up_static_boundaries()
182 for (i = 0; i < ARRAY_SIZE(isolation_regions); i++) { in tfm_hal_set_up_static_boundaries()
193 if (ARRAY_SIZE(region_cfg) > MPU_REGION_NUM) { in tfm_hal_set_up_static_boundaries()
196 for (i = 0; i < ARRAY_SIZE(region_cfg); i++) { in tfm_hal_set_up_static_boundaries()
294 for (j = 0; j < ARRAY_SIZE(partition_named_mmio_list); j++) { in tfm_hal_bind_boundary()
300 if (j == ARRAY_SIZE(partition_named_mmio_list)) { in tfm_hal_bind_boundary()
/trusted-firmware-m-3.6.0/platform/ext/target/nuvoton/common/
Dtfm_hal_isolation.c176 if (ARRAY_SIZE(isolation_regions) >= MPU_REGION_NUM) { in tfm_hal_set_up_static_boundaries()
179 for (i = 0; i < ARRAY_SIZE(isolation_regions); i++) { in tfm_hal_set_up_static_boundaries()
190 if (ARRAY_SIZE(region_cfg) > MPU_REGION_NUM) { in tfm_hal_set_up_static_boundaries()
193 for (i = 0; i < ARRAY_SIZE(region_cfg); i++) { in tfm_hal_set_up_static_boundaries()
290 for (j = 0; j < ARRAY_SIZE(partition_named_mmio_list); j++) { in tfm_hal_bind_boundary()
296 if (j == ARRAY_SIZE(partition_named_mmio_list)) { in tfm_hal_bind_boundary()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/mps2/an519/
Dtfm_hal_isolation.c126 if (ARRAY_SIZE(region_cfg) > MPU_REGION_NUM) { in tfm_hal_set_up_static_boundaries()
129 for (i = 0; i < ARRAY_SIZE(region_cfg); i++) { in tfm_hal_set_up_static_boundaries()
195 for (j = 0; j < ARRAY_SIZE(partition_named_mmio_list); j++) { in tfm_hal_bind_boundary()
201 if (j == ARRAY_SIZE(partition_named_mmio_list)) { in tfm_hal_bind_boundary()
/trusted-firmware-m-3.6.0/platform/ext/target/cypress/psoc64/
Dtfm_hal_isolation.c126 for (j = 0; j < ARRAY_SIZE(partition_named_mmio_list); j++) { in tfm_hal_bind_boundary()
132 if (j == ARRAY_SIZE(partition_named_mmio_list)) { in tfm_hal_bind_boundary()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/mps3/an524/
Dtfm_peripherals_def.c22 *length = ARRAY_SIZE(partition_named_mmio_list); in get_partition_named_mmio_list()
/trusted-firmware-m-3.6.0/platform/ext/target/stm/common/stm32u5xx/secure/
Dtfm_hal_isolation.c205 for (i = 0; i < ARRAY_SIZE(region_cfg); i++) in mpu_init()
232 for (i = 0; i < ARRAY_SIZE(region_cfg); i++) in mpu_init()
392 for (j = 0; j < ARRAY_SIZE(partition_named_mmio_list); j++) { in tfm_hal_bind_boundary()
398 if (j == ARRAY_SIZE(partition_named_mmio_list)) { in tfm_hal_bind_boundary()
/trusted-firmware-m-3.6.0/platform/ext/target/stm/common/stm32u5xx/bl2/
Dlow_level_security.c49 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0])) macro
1100 for (i = 0; i < ARRAY_SIZE(sau_init_cfg); i++) in sau_and_idau_cfg()
1126 for (i = 0; i < ARRAY_SIZE(sau_init_cfg); i++) in sau_and_idau_cfg()
1191 for (i = 0; i < ARRAY_SIZE(sau_load_cfg); i++) in sau_loader_cfg()
1217 for (i = 0; i < ARRAY_SIZE(sau_load_cfg); i++) in sau_loader_cfg()
1325 for (i = 0; i < ARRAY_SIZE(region_cfg_init_s); i++) in mpu_init_cfg()
1345 for (i = 0; i < ARRAY_SIZE(region_cfg_init_ns); i++) in mpu_init_cfg()
1368 for (i = 0; i < ARRAY_SIZE(region_cfg_init_s); i++) in mpu_init_cfg()
1396 for (i = 0; i < ARRAY_SIZE(region_cfg_init_ns); i++) in mpu_init_cfg()
1444 for (i = 0; i < ARRAY_SIZE(region_cfg_appli_s); i++) in mpu_appli_cfg()
[all …]
/trusted-firmware-m-3.6.0/platform/ext/target/arm/mps3/corstone310/common/
Dtfm_peripherals_def.c31 *length = ARRAY_SIZE(partition_named_mmio_list); in get_partition_named_mmio_list()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/
Dtfm_peripherals_def.c56 *length = ARRAY_SIZE(partition_named_mmio_list); in get_partition_named_mmio_list()
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/Native_Driver/drivers/
Dfsl_common.h237 #if !defined(ARRAY_SIZE)
238 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
/trusted-firmware-m-3.6.0/platform/ext/target/arm/mps2/an521/
Dtfm_hal_isolation.c256 if ((ARRAY_SIZE(region_cfg) + MIN_NR_PRIVATE_DATA_REGION) > MPU_REGION_NUM) { in tfm_hal_verify_static_boundaries()
260 for (region_nr = 0; region_nr < ARRAY_SIZE(region_cfg); region_nr++) { in tfm_hal_verify_static_boundaries()
316 if ((ARRAY_SIZE(region_cfg) + MIN_NR_PRIVATE_DATA_REGION) > MPU_REGION_NUM) { in tfm_hal_set_up_static_boundaries()
321 for (i = 0; i < ARRAY_SIZE(region_cfg); i++) { in tfm_hal_set_up_static_boundaries()
424 for (j = 0; j < ARRAY_SIZE(partition_named_mmio_list); j++) { in tfm_hal_bind_boundary()
430 if (j == ARRAY_SIZE(partition_named_mmio_list)) { in tfm_hal_bind_boundary()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/musca_b1/
Dtfm_hal_isolation.c123 if (ARRAY_SIZE(isolation_regions) >= MPU_REGION_NUM) { in tfm_hal_set_up_static_boundaries()
126 for (i = 0; i < ARRAY_SIZE(isolation_regions); i++) { in tfm_hal_set_up_static_boundaries()
302 for (j = 0; j < ARRAY_SIZE(partition_named_mmio_list); j++) { in tfm_hal_bind_boundary()
308 if (j == ARRAY_SIZE(partition_named_mmio_list)) { in tfm_hal_bind_boundary()
/trusted-firmware-m-3.6.0/platform/ext/target/stm/common/stm32h5xx/secure/
Dtfm_hal_isolation.c210 for (i = 0; i < ARRAY_SIZE(region_cfg); i++) in mpu_init()
237 for (i = 0; i < ARRAY_SIZE(region_cfg); i++) in mpu_init()
449 for (j = 0; j < ARRAY_SIZE(partition_named_mmio_list); j++) { in tfm_hal_bind_boundary()
455 if (j == ARRAY_SIZE(partition_named_mmio_list)) { in tfm_hal_bind_boundary()
/trusted-firmware-m-3.6.0/platform/ext/target/stm/common/stm32h5xx/bl2/
Dlow_level_security.c47 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0])) macro
1247 for (i = 0; i < ARRAY_SIZE(region_sau_init_cfg); i++) in sau_init_cfg()
1273 for (i = 0; i < ARRAY_SIZE(region_sau_init_cfg); i++) in sau_init_cfg()
1335 for (i = 0; i < ARRAY_SIZE(region_sau_load_cfg); i++) in sau_loader_cfg()
1363 for (i = 0; i < ARRAY_SIZE(region_sau_load_cfg); i++) in sau_loader_cfg()
1573 for (i = 0; i < ARRAY_SIZE(region_cfg_init_s); i++) in mpu_init_cfg()
1596 for (i = 0; i < ARRAY_SIZE(region_cfg_init_s); i++) in mpu_init_cfg()
1678 for (i = 0; i < ARRAY_SIZE(region_cfg_appli_s); i++) in mpu_appli_cfg()
1706 for (i = 0; i < ARRAY_SIZE(region_cfg_appli_s); i++) in mpu_appli_cfg()
1746 for (i = 0U; i < ARRAY_SIZE(region_cfg_loader_s); i++) in mpu_loader_cfg()
[all …]
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_secure_boot.c45 #ifndef ARRAY_SIZE
46 #define ARRAY_SIZE(x) (uint32_t)(sizeof(x)/sizeof(x[0])) macro
442 ARRAY_SIZE(runItsecureBoot_cntCertEnc),
/trusted-firmware-m-3.6.0/platform/ext/target/nordic_nrf/common/core/cmsis_drivers/
DDriver_USART.c27 #ifndef ARRAY_SIZE
28 #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0])) macro
356 .uart_pins_count = ARRAY_SIZE(UART##idx##_pins) \
/trusted-firmware-m-3.6.0/platform/ext/target/nordic_nrf/common/core/services/src/
Dtfm_platform_hal_ioctl.c57 for (size_t i = 0; i < ARRAY_SIZE(ranges); i++) { in tfm_platform_hal_read_service()

12