Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_iee_apc.c65 status_t IEE_APC_SetRegionConfig(IEE_APC_Type *base, iee_apc_region_t region, uint32_t startAddr, u… in IEE_APC_SetRegionConfig() argument
80 if (region == kIEE_APC_Region0) in IEE_APC_SetRegionConfig()
87 if (region == kIEE_APC_Region1) in IEE_APC_SetRegionConfig()
94 if (region == kIEE_APC_Region2) in IEE_APC_SetRegionConfig()
101 if (region == kIEE_APC_Region3) in IEE_APC_SetRegionConfig()
108 if (region == kIEE_APC_Region4) in IEE_APC_SetRegionConfig()
115 if (region == kIEE_APC_Region5) in IEE_APC_SetRegionConfig()
122 if (region == kIEE_APC_Region6) in IEE_APC_SetRegionConfig()
129 if (region == kIEE_APC_Region7) in IEE_APC_SetRegionConfig()
149 status_t IEE_APC_LockRegionConfig(IEE_APC_Type *base, iee_apc_region_t region, iee_apc_domain_t dom… in IEE_APC_LockRegionConfig() argument
[all …]
Dfsl_iee.c78 void IEE_SetRegionConfig(IEE_Type *base, iee_region_t region, iee_config_t *config) in IEE_SetRegionConfig() argument
80 base->REGX[region].REGATTR = in IEE_SetRegionConfig()
83 base->REGX[region].REGPO = IEE_REGPO_PGOFF(config->pageOffset); in IEE_SetRegionConfig()
99 … IEE_Type *base, iee_region_t region, iee_aes_key_num_t keyNum, const uint8_t *key, size_t keySize) in IEE_SetRegionKey() argument
106 to32 = &base->REGX[region].REGKEY1[0]; in IEE_SetRegionKey()
111 to32 = &base->REGX[region].REGKEY2[0]; in IEE_SetRegionKey()
138 void IEE_LockRegionConfig(IEE_Type *base, iee_region_t region) in IEE_LockRegionConfig() argument
140 base->GCFG |= 0x1U << (uint32_t)region; in IEE_LockRegionConfig()
Dfsl_bee.c175 status_t BEE_SetRegionKey(BEE_Type *base, bee_region_t region, const uint8_t *key, size_t keySize) in BEE_SetRegionKey() argument
203 if (region == kBEE_Region0) in BEE_SetRegionKey()
208 else if (region == kBEE_Region1) in BEE_SetRegionKey()
245 status_t BEE_SetRegionNonce(BEE_Type *base, bee_region_t region, const uint8_t *nonce, size_t nonce… in BEE_SetRegionNonce() argument
259 if (region == kBEE_Region0) in BEE_SetRegionNonce()
264 else if (region == kBEE_Region1) in BEE_SetRegionNonce()
Dfsl_iee_apc.h92 status_t IEE_APC_SetRegionConfig(IEE_APC_Type *base, iee_apc_region_t region, uint32_t startAddr, u…
104 status_t IEE_APC_LockRegionConfig(IEE_APC_Type *base, iee_apc_region_t region, iee_apc_domain_t dom…
114 void IEE_APC_RegionEnable(IEE_APC_Type *base, iee_apc_region_t region);
Dfsl_iee.h133 void IEE_SetRegionConfig(IEE_Type *base, iee_region_t region, iee_config_t *config);
147 …IEE_Type *base, iee_region_t region, iee_aes_key_num_t keyNum, const uint8_t *key, size_t keySize);
171 void IEE_LockRegionConfig(IEE_Type *base, iee_region_t region);
Dfsl_bee.h212 status_t BEE_SetRegionKey(BEE_Type *base, bee_region_t region, const uint8_t *key, size_t keySize);
225 status_t BEE_SetRegionNonce(BEE_Type *base, bee_region_t region, const uint8_t *nonce, size_t nonce…
Dfsl_dcic.h35 #define DCIC_REGION_MISMATCH_STATUS(region) (1UL << (DCIC_DCICS_ROI_MATCH_STAT_SHIFT + (region))) argument
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_prince.c177 status_t PRINCE_GenNewIV(prince_region_t region, uint8_t *iv_code, bool store, flash_config_t *flas… in PRINCE_GenNewIV() argument
191 …sicKey(PUF, (puf_key_index_register_t)(uint32_t)((uint32_t)kPUF_KeyIndex_02 + (uint32_t)region), 8, in PRINCE_GenNewIV()
202 (((uint32_t)region * sizeof(cfpa_cfg_iv_code_t))) + 4U], in PRINCE_GenNewIV()
245 status_t PRINCE_LoadIV(prince_region_t region, uint8_t *iv_code) in PRINCE_LoadIV() argument
258 if (((uint32_t)kPUF_KeyIndex_02 + (uint32_t)region) == (uint32_t)keyIndex) in PRINCE_LoadIV()
264 (void)PRINCE_SetRegionIV(PRINCE, (prince_region_t)region, prince_iv); in PRINCE_LoadIV()
296 …prince_region_t region, uint32_t start_address, uint32_t length, flash_config_t *flash_context, bo… in PRINCE_SetEncryptForAddressRange() argument
336 status = PRINCE_GenNewIV((prince_region_t)region, &prince_iv_code[0], true, flash_context); in PRINCE_SetEncryptForAddressRange()
343 status = PRINCE_LoadIV((prince_region_t)region, &prince_iv_code[0]); in PRINCE_SetEncryptForAddressRange()
386 (void)PRINCE_GetRegionSREnable(PRINCE, (prince_region_t)region, &srEnableRegisterActual); in PRINCE_SetEncryptForAddressRange()
[all …]
Dfsl_prince.h195 status_t PRINCE_GenNewIV(prince_region_t region, uint8_t *iv_code, bool store, flash_config_t *flas…
208 status_t PRINCE_LoadIV(prince_region_t region, uint8_t *iv_code);
235 …prince_region_t region, uint32_t start_address, uint32_t length, flash_config_t *flash_context, bo…
249 status_t PRINCE_GetRegionSREnable(PRINCE_Type *base, prince_region_t region, uint32_t *sr_enable);
263 status_t PRINCE_GetRegionBaseAddress(PRINCE_Type *base, prince_region_t region, uint32_t *region_ba…
274 status_t PRINCE_SetRegionIV(PRINCE_Type *base, prince_region_t region, const uint8_t iv[8]);
285 status_t PRINCE_SetRegionBaseAddress(PRINCE_Type *base, prince_region_t region, uint32_t region_bas…
296 status_t PRINCE_SetRegionSREnable(PRINCE_Type *base, prince_region_t region, uint32_t sr_enable);
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_lmem_cache.c369 status_t LMEM_CodeCacheDemoteRegion(LMEM_Type *base, lmem_cache_region_t region, lmem_cache_mode_t … in LMEM_CodeCacheDemoteRegion() argument
373 uint32_t shift = LMEM_CACHEMODE_WIDTH * (uint32_t)region; /* Region shift. */ in LMEM_CodeCacheDemoteRegion()
726 status_t LMEM_SystemCacheDemoteRegion(LMEM_Type *base, lmem_cache_region_t region, lmem_cache_mode_… in LMEM_SystemCacheDemoteRegion() argument
730 uint32_t shift = LMEM_CACHEMODE_WIDTH * (uint32_t)region; /* Region shift. */ in LMEM_SystemCacheDemoteRegion()
Dfsl_lmem_cache.h263 status_t LMEM_CodeCacheDemoteRegion(LMEM_Type *base, lmem_cache_region_t region, lmem_cache_mode_t …
454 status_t LMEM_SystemCacheDemoteRegion(LMEM_Type *base, lmem_cache_region_t region, lmem_cache_mode_…