Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 123) sorted by relevance

12345

/trusted-firmware-m-3.7.0/secure_fw/spm/ns_client_ext/
Dtfm_spm_ns_ctx.c22 int32_t limit; member
31 client_id_regions.limit = client_id_limit; in tz_ns_agent_register_client_id_range()
36 int32_t base, limit; in tz_ns_agent_client_id_translate() local
47 limit = client_id_regions.limit; in tz_ns_agent_client_id_translate()
62 min_client_id = -1 * (limit - base) - 1; in tz_ns_agent_client_id_translate()
72 *client_id_out = (limit + 1) + client_id_in; in tz_ns_agent_client_id_translate()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/CMSIS_Driver/
DDriver_MPC.c68 .limit = MPC_ISRAM0_RANGE_LIMIT_S,
75 .limit = MPC_ISRAM0_RANGE_LIMIT_NS,
131 uintptr_t limit, in ISRAM0_MPC_GetRegionConfig() argument
136 ret = mpc_sie200_get_region_config(&MPC_ISRAM0_DEV, base, limit, in ISRAM0_MPC_GetRegionConfig()
143 uintptr_t limit, in ISRAM0_MPC_ConfigRegion() argument
148 ret = mpc_sie200_config_region(&MPC_ISRAM0_DEV, base, limit, in ISRAM0_MPC_ConfigRegion()
207 .limit = MPC_ISRAM1_RANGE_LIMIT_S,
214 .limit = MPC_ISRAM1_RANGE_LIMIT_NS,
270 uintptr_t limit, in ISRAM1_MPC_GetRegionConfig() argument
275 ret = mpc_sie200_get_region_config(&MPC_ISRAM1_DEV, base, limit, in ISRAM1_MPC_GetRegionConfig()
[all …]
/trusted-firmware-m-3.7.0/secure_fw/partitions/ns_agent_mailbox/
Dtfm_multi_core_client_id.c15 int32_t limit; member
31 client_id_regions[i].limit = client_id_limit; in tfm_multi_core_register_client_id_range()
45 int32_t base, limit; in tfm_multi_core_hal_client_id_translate() local
59 limit = client_id_regions[i].limit; in tfm_multi_core_hal_client_id_translate()
80 min_client_id = -1 * (limit - base) - 1; in tfm_multi_core_hal_client_id_translate()
90 *client_id_out = (limit + 1) + client_id_in; in tfm_multi_core_hal_client_id_translate()
Dtfm_multi_core_mem_check.c96 uintptr_t base, limit; in tfm_get_secure_mem_region_attr()
103 limit = (uintptr_t)&REGION_NAME(Image$$, TFM_UNPRIV_CODE_END, $$RO$$Limit) - 1; in tfm_get_secure_mem_region_attr()
104 if (check_address_range(p, s, base, limit) == SPM_SUCCESS) { in tfm_get_secure_mem_region_attr()
116 limit = (uintptr_t)&REGION_NAME(Image$$, TFM_SP_META_PTR, $$ZI$$Limit) - 1; in tfm_get_secure_mem_region_attr()
117 if (check_address_range(p, s, base, limit) == SPM_SUCCESS) { in tfm_get_secure_mem_region_attr()
129 limit = (uintptr_t)&REGION_NAME(Image$$, TFM_APP_CODE_END, $$Base) - 1; in tfm_get_secure_mem_region_attr()
130 if (check_address_range(p, s, base, limit) == SPM_SUCCESS) { in tfm_get_secure_mem_region_attr()
141 limit = (uintptr_t)&REGION_NAME(Image$$, TFM_APP_RW_STACK_END, $$Base) - 1; in tfm_get_secure_mem_region_attr()
142 if (check_address_range(p, s, base, limit) == SPM_SUCCESS) { in tfm_get_secure_mem_region_attr()
156 limit = (uintptr_t)S_DATA_LIMIT; in tfm_get_secure_mem_region_attr()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/CMSIS_Driver/
DDriver_MPC.c69 .limit = MPC_ISRAM0_RANGE_LIMIT_S,
76 .limit = MPC_ISRAM0_RANGE_LIMIT_NS,
131 uintptr_t limit, in ISRAM0_MPC_GetRegionConfig() argument
136 ret = mpc_sie200_get_region_config(&MPC_ISRAM0_DEV, base, limit, in ISRAM0_MPC_GetRegionConfig()
143 uintptr_t limit, in ISRAM0_MPC_ConfigRegion() argument
148 ret = mpc_sie200_config_region(&MPC_ISRAM0_DEV, base, limit, in ISRAM0_MPC_ConfigRegion()
207 .limit = MPC_ISRAM1_RANGE_LIMIT_S,
214 .limit = MPC_ISRAM1_RANGE_LIMIT_NS,
269 uintptr_t limit, in ISRAM1_MPC_GetRegionConfig() argument
274 ret = mpc_sie200_get_region_config(&MPC_ISRAM1_DEV, base, limit, in ISRAM1_MPC_GetRegionConfig()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/cmsis_drivers/
DDriver_MPC.c71 .limit = MPC_ISRAM0_RANGE_LIMIT_S,
77 .limit = MPC_ISRAM0_RANGE_LIMIT_NS,
131 uintptr_t limit, in ISRAM0_MPC_GetRegionConfig() argument
136 ret = mpc_sie200_get_region_config(&MPC_ISRAM0_DEV_S, base, limit, in ISRAM0_MPC_GetRegionConfig()
143 uintptr_t limit, in ISRAM0_MPC_ConfigRegion() argument
148 ret = mpc_sie200_config_region(&MPC_ISRAM0_DEV_S, base, limit, in ISRAM0_MPC_ConfigRegion()
207 .limit = MPC_ISRAM1_RANGE_LIMIT_S,
213 .limit = MPC_ISRAM1_RANGE_LIMIT_NS,
267 uintptr_t limit, in ISRAM1_MPC_GetRegionConfig() argument
272 ret = mpc_sie200_get_region_config(&MPC_ISRAM1_DEV_S, base, limit, in ISRAM1_MPC_GetRegionConfig()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/cmsis_drivers/
DDriver_MPC.c71 .limit = MPC_ISRAM0_RANGE_LIMIT_S,
77 .limit = MPC_ISRAM0_RANGE_LIMIT_NS,
131 uintptr_t limit, in ISRAM0_MPC_GetRegionConfig() argument
136 ret = mpc_sie200_get_region_config(&MPC_ISRAM0_DEV_S, base, limit, in ISRAM0_MPC_GetRegionConfig()
143 uintptr_t limit, in ISRAM0_MPC_ConfigRegion() argument
148 ret = mpc_sie200_config_region(&MPC_ISRAM0_DEV_S, base, limit, in ISRAM0_MPC_ConfigRegion()
207 .limit = MPC_ISRAM1_RANGE_LIMIT_S,
213 .limit = MPC_ISRAM1_RANGE_LIMIT_NS,
267 uintptr_t limit, in ISRAM1_MPC_GetRegionConfig() argument
272 ret = mpc_sie200_get_region_config(&MPC_ISRAM1_DEV_S, base, limit, in ISRAM1_MPC_GetRegionConfig()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/corstone1000/
Dtfm_hal_isolation.c38 uint32_t limit, uint32_t is_xn_exec, uint32_t ap_permissions) in configure_mpu() argument
44 rbar_size_field = get_rbar_size_field(limit - base); in configure_mpu()
58 if((limit - base) < MPU_REGION_MIN_SIZE) { in configure_mpu()
79 uint32_t limit; /* end address */ in tfm_hal_set_up_static_boundaries() local
94 limit = SRAM_BASE + SRAM_SIZE; in tfm_hal_set_up_static_boundaries()
96 ret = configure_mpu(rnr++, base, limit, in tfm_hal_set_up_static_boundaries()
105 limit = (uint32_t)&REGION_NAME(Image$$, TFM_APP_RW_STACK_END, $$Base); in tfm_hal_set_up_static_boundaries()
117 } while (base < limit); in tfm_hal_set_up_static_boundaries()
123 limit = (uint32_t)&REGION_NAME(Image$$, TFM_SP_META_PTR, $$ZI$$Limit); in tfm_hal_set_up_static_boundaries()
132 } while (base < limit); in tfm_hal_set_up_static_boundaries()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/armchina/mps3/alcor/common/device/source/
Dplatform_s_device_definition.c286 .limit = MPC_SRAM_RANGE_LIMIT_S,
293 .limit = MPC_SRAM_RANGE_LIMIT_NS,
318 .limit = MPC_QSPI_RANGE_LIMIT_S,
325 .limit = MPC_QSPI_RANGE_LIMIT_NS,
350 .limit = MPC_ISRAM0_RANGE_LIMIT_S,
357 .limit = MPC_ISRAM0_RANGE_LIMIT_NS,
382 .limit = MPC_ISRAM1_RANGE_LIMIT_S,
389 .limit = MPC_ISRAM1_RANGE_LIMIT_NS,
414 .limit = ITCM_BASE_S + ITCM_SIZE - 1,
421 .limit = ITCM_BASE_NS + ITCM_SIZE - 1,
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps4/corstone315/device/source/
Dplatform_s_device_definition.c268 .limit = MPC_SRAM_RANGE_LIMIT_S,
275 .limit = MPC_SRAM_RANGE_LIMIT_NS,
300 .limit = MPC_QSPI_RANGE_LIMIT_S,
307 .limit = MPC_QSPI_RANGE_LIMIT_NS,
332 .limit = MPC_ISRAM0_RANGE_LIMIT_S,
339 .limit = MPC_ISRAM0_RANGE_LIMIT_NS,
364 .limit = MPC_ISRAM1_RANGE_LIMIT_S,
371 .limit = MPC_ISRAM1_RANGE_LIMIT_NS,
423 .limit = ITCM_BASE_S + ITCM_SIZE - 1,
430 .limit = ITCM_BASE_NS + ITCM_SIZE - 1,
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/corstone310/common/device/source/
Dplatform_s_device_definition.c268 .limit = MPC_SRAM_RANGE_LIMIT_S,
275 .limit = MPC_SRAM_RANGE_LIMIT_NS,
300 .limit = MPC_QSPI_RANGE_LIMIT_S,
307 .limit = MPC_QSPI_RANGE_LIMIT_NS,
332 .limit = MPC_ISRAM0_RANGE_LIMIT_S,
339 .limit = MPC_ISRAM0_RANGE_LIMIT_NS,
364 .limit = MPC_ISRAM1_RANGE_LIMIT_S,
371 .limit = MPC_ISRAM1_RANGE_LIMIT_NS,
425 .limit = ITCM_BASE_S + ITCM_SIZE - 1,
432 .limit = ITCM_BASE_NS + ITCM_SIZE - 1,
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/corstone300/common/device/source/
Dplatform_s_device_definition.c285 .limit = MPC_SRAM_RANGE_LIMIT_S,
292 .limit = MPC_SRAM_RANGE_LIMIT_NS,
317 .limit = MPC_QSPI_RANGE_LIMIT_S,
324 .limit = MPC_QSPI_RANGE_LIMIT_NS,
349 .limit = MPC_ISRAM0_RANGE_LIMIT_S,
356 .limit = MPC_ISRAM0_RANGE_LIMIT_NS,
381 .limit = MPC_ISRAM1_RANGE_LIMIT_S,
388 .limit = MPC_ISRAM1_RANGE_LIMIT_NS,
413 .limit = ITCM_BASE_S + ITCM_SIZE - 1,
420 .limit = ITCM_BASE_NS + ITCM_SIZE - 1,
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/drivers/tgu/
Dtgu_armv8_m_drv.c58 if(addr >= range->base && addr <= range->limit) { in is_ctrl_by_range_list()
68 const uint32_t base, const uint32_t limit, in get_lut_masks() argument
94 !is_ctrl_by_range_list(dev, limit, &limit_range)) { in get_lut_masks()
107 if(base % block_size || (limit+1) % block_size) { in get_lut_masks()
116 norm_limit = (limit - base_range->base) + base_range->range_offset; in get_lut_masks()
224 const uint32_t limit, in tgu_armv8_m_config_region() argument
244 error = get_lut_masks(dev, base, limit, &range, &first_word_idx, &nr_words, in tgu_armv8_m_config_region()
328 uint32_t limit, in tgu_armv8_m_get_region_config() argument
370 limit &= ~(block_size_mask); in tgu_armv8_m_get_region_config()
371 limit += block_size - 1; /* Round to the upper block address, in tgu_armv8_m_get_region_config()
[all …]
Dtgu_armv8_m_drv.h56 const uint32_t limit; /*!< Limit address (included in the range) */ member
106 const uint32_t limit,
112 uint32_t limit,
/trusted-firmware-m-3.7.0/platform/ext/target/armchina/mps3/alcor/common/native_drivers/
Dtgu_armv8_m_drv.c58 if(addr >= range->base && addr <= range->limit) { in is_ctrl_by_range_list()
68 const uint32_t base, const uint32_t limit, in get_lut_masks() argument
94 !is_ctrl_by_range_list(dev, limit, &limit_range)) { in get_lut_masks()
107 if(base % block_size || (limit+1) % block_size) { in get_lut_masks()
116 norm_limit = (limit - base_range->base) + base_range->range_offset; in get_lut_masks()
224 const uint32_t limit, in tgu_armv8_m_config_region() argument
244 error = get_lut_masks(dev, base, limit, &range, &first_word_idx, &nr_words, in tgu_armv8_m_config_region()
328 uint32_t limit, in tgu_armv8_m_get_region_config() argument
370 limit &= ~(block_size_mask); in tgu_armv8_m_get_region_config()
371 limit += block_size - 1; /* Round to the upper block address, in tgu_armv8_m_get_region_config()
[all …]
Dtgu_armv8_m_drv.h56 const uint32_t limit; /*!< Limit address (included in the range) */ member
106 const uint32_t limit,
112 uint32_t limit,
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/an524/device/source/
Ddevice_definition.c411 .limit = MPC_ISRAM0_RANGE_LIMIT_S,
418 .limit = MPC_ISRAM0_RANGE_LIMIT_NS,
446 .limit = MPC_ISRAM1_RANGE_LIMIT_S,
453 .limit = MPC_ISRAM1_RANGE_LIMIT_NS,
481 .limit = MPC_ISRAM2_RANGE_LIMIT_S,
488 .limit = MPC_ISRAM2_RANGE_LIMIT_NS,
516 .limit = MPC_ISRAM3_RANGE_LIMIT_S,
523 .limit = MPC_ISRAM3_RANGE_LIMIT_NS,
551 .limit = MPC_DDR4_RANGE_LIMIT_S,
558 .limit = MPC_DDR4_RANGE_LIMIT_NS,
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/native_drivers/
Dmpc_sie200_drv.c103 if(addr >= range->base && addr <= range->limit) { in is_ctrl_by_range_list()
133 const uint32_t base, const uint32_t limit, in get_lut_masks() argument
159 !is_ctrl_by_range_list(dev, limit, &limit_range)) { in get_lut_masks()
172 if(base % block_size || (limit+1) % block_size) { in get_lut_masks()
181 norm_limit = (limit - base_range->base); in get_lut_masks()
279 const uint32_t limit, in mpc_sie200_config_region() argument
300 (dev->data->range_list[attr]->limit < limit) ) { in mpc_sie200_config_region()
305 error = get_lut_masks(dev, base, limit, &range, &first_word_idx, &nr_words, in mpc_sie200_config_region()
403 uint32_t base, uint32_t limit, in mpc_sie200_get_region_config() argument
445 limit &= ~(block_size_mask); in mpc_sie200_get_region_config()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/native_drivers/
Dmpc_sie200_drv.c103 if(addr >= range->base && addr <= range->limit) { in is_ctrl_by_range_list()
133 const uint32_t base, const uint32_t limit, in get_lut_masks() argument
159 !is_ctrl_by_range_list(dev, limit, &limit_range)) { in get_lut_masks()
172 if(base % block_size || (limit+1) % block_size) { in get_lut_masks()
181 norm_limit = (limit - base_range->base); in get_lut_masks()
279 const uint32_t limit, in mpc_sie200_config_region() argument
300 (dev->data->range_list[attr]->limit < limit) ) { in mpc_sie200_config_region()
305 error = get_lut_masks(dev, base, limit, &range, &first_word_idx, &nr_words, in mpc_sie200_config_region()
403 uint32_t base, uint32_t limit, in mpc_sie200_get_region_config() argument
445 limit &= ~(block_size_mask); in mpc_sie200_get_region_config()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/armchina/mps3/alcor/common/cmsis_drivers/
DDriver_TGU_Common.h60 uintptr_t limit, \
65 ret = tgu_armv8_m_get_region_config(&TGU_DEV, base, limit, \
72 uintptr_t limit, \
77 ret = tgu_armv8_m_config_region(&TGU_DEV, base, limit, \
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/corstone310/common/cmsis_drivers/
DDriver_TGU_Common.h60 uintptr_t limit, \
65 ret = tgu_armv8_m_get_region_config(&TGU_DEV, base, limit, \
72 uintptr_t limit, \
77 ret = tgu_armv8_m_config_region(&TGU_DEV, base, limit, \
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps4/corstone315/cmsis_drivers/
DDriver_TGU_Common.h60 uintptr_t limit, \
65 ret = tgu_armv8_m_get_region_config(&TGU_DEV, base, limit, \
72 uintptr_t limit, \
77 ret = tgu_armv8_m_config_region(&TGU_DEV, base, limit, \
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/corstone300/common/cmsis_drivers/
DDriver_TGU_Common.h60 uintptr_t limit, \
65 ret = tgu_armv8_m_get_region_config(&TGU_DEV, base, limit, \
72 uintptr_t limit, \
77 ret = tgu_armv8_m_config_region(&TGU_DEV, base, limit, \
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/Native_Driver/
Dmpc_sie200_drv.c103 if(addr >= range->base && addr <= range->limit) { in is_ctrl_by_range_list()
133 const uint32_t base, const uint32_t limit, in get_lut_masks() argument
159 !is_ctrl_by_range_list(dev, limit, &limit_range)) { in get_lut_masks()
172 if(base % block_size || (limit+1) % block_size) { in get_lut_masks()
181 norm_limit = (limit - base_range->base) + base_range->range_offset; in get_lut_masks()
279 const uint32_t limit, in mpc_sie200_config_region() argument
299 error = get_lut_masks(dev, base, limit, &range, &first_word_idx, &nr_words, in mpc_sie200_config_region()
397 uint32_t base, uint32_t limit, in mpc_sie200_get_region_config() argument
439 limit &= ~(block_size_mask); in mpc_sie200_get_region_config()
440 limit += block_size - 1; /* Round to the upper block address, in mpc_sie200_get_region_config()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/Native_Driver/
Dmpc_sie200_drv.c103 if(addr >= range->base && addr <= range->limit) { in is_ctrl_by_range_list()
133 const uint32_t base, const uint32_t limit, in get_lut_masks() argument
159 !is_ctrl_by_range_list(dev, limit, &limit_range)) { in get_lut_masks()
172 if(base % block_size || (limit+1) % block_size) { in get_lut_masks()
181 norm_limit = (limit - base_range->base) + base_range->range_offset; in get_lut_masks()
279 const uint32_t limit, in mpc_sie200_config_region() argument
299 error = get_lut_masks(dev, base, limit, &range, &first_word_idx, &nr_words, in mpc_sie200_config_region()
397 uint32_t base, uint32_t limit, in mpc_sie200_get_region_config() argument
439 limit &= ~(block_size_mask); in mpc_sie200_get_region_config()
440 limit += block_size - 1; /* Round to the upper block address, in mpc_sie200_get_region_config()
[all …]

12345