Home
last modified time | relevance | path

Searched refs:plat_data_ptr (Results 1 – 11 of 11) sorted by relevance

/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/
Dtfm_hal_isolation.c168 struct platform_data_t *plat_data_ptr; in tfm_hal_bind_boundary() local
206 plat_data_ptr = REFERENCE_TO_PTR(p_asset[i].dev.dev_ref, in tfm_hal_bind_boundary()
209 if (plat_data_ptr->periph_ppc_bank != PPC_SP_DO_NOT_CONFIGURE) { in tfm_hal_bind_boundary()
210 ppc_configure_to_secure(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
211 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
213 ppc_clr_secure_unpriv(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
214 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
216 ppc_en_secure_unpriv(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
217 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
226 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/common/
Dtfm_hal_isolation_v8m.c286 struct platform_data_t *plat_data_ptr; in tfm_hal_bind_boundary() local
330 plat_data_ptr = REFERENCE_TO_PTR(p_asset[i].dev.dev_ref, in tfm_hal_bind_boundary()
333 if (plat_data_ptr->periph_ppc_bank != PPC_SP_DO_NOT_CONFIGURE) { in tfm_hal_bind_boundary()
334 ppc_configure_to_secure(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
335 plat_data_ptr->periph_ppc_mask); in tfm_hal_bind_boundary()
337 ppc_clr_secure_unpriv(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
338 plat_data_ptr->periph_ppc_mask); in tfm_hal_bind_boundary()
340 ppc_en_secure_unpriv(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
341 plat_data_ptr->periph_ppc_mask); in tfm_hal_bind_boundary()
357 if ((plat_data_ptr->periph_start & ~MPU_RBAR_BASE_Msk) != 0) { in tfm_hal_bind_boundary()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/common/
Dtfm_hal_isolation.c269 struct platform_data_t *plat_data_ptr; in tfm_hal_bind_boundary() local
308 plat_data_ptr = REFERENCE_TO_PTR(p_asset[i].dev.dev_ref, in tfm_hal_bind_boundary()
311 if (plat_data_ptr->periph_ppc_bank != PPC_SP_DO_NOT_CONFIGURE) { in tfm_hal_bind_boundary()
312 ppc_configure_to_secure(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
313 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
315 ppc_clr_secure_unpriv(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
316 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
318 ppc_en_secure_unpriv(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
319 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
328 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/
Dtfm_hal_isolation.c281 struct platform_data_t *plat_data_ptr; in tfm_hal_bind_boundary() local
320 plat_data_ptr = REFERENCE_TO_PTR(p_asset[i].dev.dev_ref, in tfm_hal_bind_boundary()
323 if (plat_data_ptr->periph_ppc_bank != PPC_SP_DO_NOT_CONFIGURE) { in tfm_hal_bind_boundary()
324 ppc_configure_to_secure(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
325 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
327 ppc_clr_secure_unpriv(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
328 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
330 ppc_en_secure_unpriv(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
331 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
341 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/
Dtfm_hal_isolation.c176 struct platform_data_t *plat_data_ptr; in tfm_hal_bind_boundary() local
216 plat_data_ptr = REFERENCE_TO_PTR(p_asset[i].dev.dev_ref, in tfm_hal_bind_boundary()
219 if (plat_data_ptr->periph_ppc_bank != PPC_SP_DO_NOT_CONFIGURE) { in tfm_hal_bind_boundary()
220 ppc_configure_to_secure(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
221 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
223 ppc_clr_secure_unpriv(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
224 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
226 ppc_en_secure_unpriv(plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
227 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
236 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/
Dtfm_hal_isolation.c401 struct platform_data_t *plat_data_ptr; in tfm_hal_bind_boundary() local
442 plat_data_ptr = REFERENCE_TO_PTR(p_asset[i].dev.dev_ref, in tfm_hal_bind_boundary()
445 if (plat_data_ptr->periph_ppc_bank != PPC_SP_DO_NOT_CONFIGURE) { in tfm_hal_bind_boundary()
447 plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
448 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
454 plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
455 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
461 plat_data_ptr->periph_ppc_bank, in tfm_hal_bind_boundary()
462 plat_data_ptr->periph_ppc_loc); in tfm_hal_bind_boundary()
474 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/secure/
Dtfm_hal_isolation.c274 struct platform_data_t *plat_data_ptr; in tfm_hal_bind_boundary() local
312 plat_data_ptr = REFERENCE_TO_PTR(p_asset[i].dev.dev_ref, in tfm_hal_bind_boundary()
319 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
320 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
374 struct platform_data_t *plat_data_ptr; in tfm_hal_activate_boundary() local
428 plat_data_ptr = in tfm_hal_activate_boundary()
434 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_activate_boundary()
435 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_activate_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/nxp/common/
Dtfm_hal_isolation.c341 struct platform_data_t *plat_data_ptr; in tfm_hal_bind_boundary() local
381 plat_data_ptr = REFERENCE_TO_PTR(p_asset[i].dev.dev_ref, in tfm_hal_bind_boundary()
383 ppc_configure_to_secure(plat_data_ptr, privileged); in tfm_hal_bind_boundary()
390 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
391 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
446 struct platform_data_t *plat_data_ptr; in tfm_hal_activate_boundary() local
504 plat_data_ptr = in tfm_hal_activate_boundary()
510 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_activate_boundary()
511 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_activate_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/nordic_nrf/common/core/
Dtfm_hal_isolation.c119 struct platform_data_t *plat_data_ptr = in tfm_hal_bind_boundary() local
122 if (plat_data_ptr->periph_start == 0) { in tfm_hal_bind_boundary()
127 spu_peripheral_config_secure(NRFX_PERIPHERAL_ID_GET(plat_data_ptr->periph_start), in tfm_hal_bind_boundary()
139 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
140 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/secure/
Dtfm_hal_isolation.c364 struct platform_data_t *plat_data_ptr; in tfm_hal_bind_boundary() local
403 plat_data_ptr = REFERENCE_TO_PTR(p_asset[i].dev.dev_ref, in tfm_hal_bind_boundary()
410 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
411 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/secure/
Dtfm_hal_isolation.c424 struct platform_data_t *plat_data_ptr; in tfm_hal_bind_boundary() local
463 plat_data_ptr = REFERENCE_TO_PTR(p_asset[i].dev.dev_ref, in tfm_hal_bind_boundary()
470 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
471 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()