/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_xrdc2.c | 436 void XRDC2_SetMemAccessConfig(XRDC2_Type *base, xrdc2_mem_t mem, const xrdc2_mem_access_config_t *c… in XRDC2_SetMemAccessConfig() argument 446 uint32_t mrc = XRDC2_GET_MRC((uint32_t)mem); in XRDC2_SetMemAccessConfig() 447 uint32_t mrgd = XRDC2_GET_MRGD((uint32_t)mem); in XRDC2_SetMemAccessConfig() 469 void XRDC2_SetMemAccessValid(XRDC2_Type *base, xrdc2_mem_t mem, bool valid) in XRDC2_SetMemAccessValid() argument 471 uint32_t mrc = XRDC2_GET_MRC((uint32_t)mem); in XRDC2_SetMemAccessValid() 472 uint32_t mrgd = XRDC2_GET_MRGD((uint32_t)mem); in XRDC2_SetMemAccessValid() 492 void XRDC2_SetMemAccessLockMode(XRDC2_Type *base, xrdc2_mem_t mem, xrdc2_access_config_lock_t lockM… in XRDC2_SetMemAccessLockMode() argument 494 uint32_t mrc = XRDC2_GET_MRC((uint32_t)mem); in XRDC2_SetMemAccessLockMode() 495 uint32_t mrgd = XRDC2_GET_MRGD((uint32_t)mem); in XRDC2_SetMemAccessLockMode() 509 void XRDC2_SetMemDomainAccessPolicy(XRDC2_Type *base, xrdc2_mem_t mem, uint8_t domainId, xrdc2_acce… in XRDC2_SetMemDomainAccessPolicy() argument [all …]
|
D | fsl_rdc.h | 97 rdc_mem_t mem; /*!< Memory region descriptor name. */ member 354 static inline void RDC_LockMemAccessConfig(RDC_Type *base, rdc_mem_t mem) in RDC_LockMemAccessConfig() argument 356 assert((uint32_t)mem < RDC_MRC_COUNT); in RDC_LockMemAccessConfig() 358 base->MR[mem].MRC |= RDC_MRC_LCK_MASK; in RDC_LockMemAccessConfig() 369 static inline void RDC_SetMemAccessValid(RDC_Type *base, rdc_mem_t mem, bool valid) in RDC_SetMemAccessValid() argument 371 assert((uint32_t)mem < RDC_MRC_COUNT); in RDC_SetMemAccessValid() 375 base->MR[mem].MRC |= RDC_MRC_ENA_MASK; in RDC_SetMemAccessValid() 379 base->MR[mem].MRC &= ~RDC_MRC_ENA_MASK; in RDC_SetMemAccessValid() 396 void RDC_GetMemViolationStatus(RDC_Type *base, rdc_mem_t mem, rdc_mem_status_t *status); 404 static inline void RDC_ClearMemViolationFlag(RDC_Type *base, rdc_mem_t mem) in RDC_ClearMemViolationFlag() argument [all …]
|
D | fsl_rdc.c | 230 assert((uint32_t)config->mem < RDC_MRC_COUNT); in RDC_SetMemAccessConfig() 232 uint32_t mem = (uint32_t)config->mem; in RDC_SetMemAccessConfig() local 242 …base->MR[mem].MRSA = (uint32_t)(config->baseAddress >> (uint32_t)FSL_FEATURE_RDC_MEM_REGION_ADDR_S… in RDC_SetMemAccessConfig() 243 …base->MR[mem].MREA = (uint32_t)(config->endAddress >> (uint32_t)FSL_FEATURE_RDC_MEM_REGION_ADDR_SH… in RDC_SetMemAccessConfig() 245 base->MR[mem].MRSA = (uint32_t)config->baseAddress; in RDC_SetMemAccessConfig() 246 base->MR[mem].MREA = (uint32_t)config->endAddress; in RDC_SetMemAccessConfig() 248 base->MR[mem].MRC = regMRC; in RDC_SetMemAccessConfig() 295 void RDC_GetMemViolationStatus(RDC_Type *base, rdc_mem_t mem, rdc_mem_status_t *status) in RDC_GetMemViolationStatus() argument 297 assert((uint32_t)mem < RDC_MRC_COUNT); in RDC_GetMemViolationStatus() 299 uint32_t regMRVS = base->MR[mem].MRVS; in RDC_GetMemViolationStatus()
|
D | fsl_xrdc2.h | 467 void XRDC2_SetMemAccessConfig(XRDC2_Type *base, xrdc2_mem_t mem, const xrdc2_mem_access_config_t *c… 476 void XRDC2_SetMemAccessValid(XRDC2_Type *base, xrdc2_mem_t mem, bool valid); 485 void XRDC2_SetMemAccessLockMode(XRDC2_Type *base, xrdc2_mem_t mem, xrdc2_access_config_lock_t lockM… 495 void XRDC2_SetMemDomainAccessPolicy(XRDC2_Type *base, xrdc2_mem_t mem, uint8_t domainId, xrdc2_acce… 506 void XRDC2_EnableMemExclAccessLock(XRDC2_Type *base, xrdc2_mem_t mem, bool enable); 515 uint8_t XRDC2_GetMemExclAccessLockDomainOwner(XRDC2_Type *base, xrdc2_mem_t mem); 525 status_t XRDC2_TryLockMemExclAccess(XRDC2_Type *base, xrdc2_mem_t mem); 535 void XRDC2_LockMemExclAccess(XRDC2_Type *base, xrdc2_mem_t mem); 545 void XRDC2_UnlockMemExclAccess(XRDC2_Type *base, xrdc2_mem_t mem); 555 void XRDC2_ForceMemExclAccessLockRelease(XRDC2_Type *base, xrdc2_mem_t mem);
|
/hal_nxp-2.7.6/mcux/drivers/imx8/ |
D | fsl_rdc.h | 97 rdc_mem_t mem; /*!< Memory region descriptor name. */ member 339 static inline void RDC_LockMemAccessConfig(RDC_Type *base, rdc_mem_t mem) in RDC_LockMemAccessConfig() argument 341 assert((uint32_t)mem < RDC_MRC_COUNT); in RDC_LockMemAccessConfig() 343 base->MR[mem].MRC |= RDC_MRC_LCK_MASK; in RDC_LockMemAccessConfig() 354 static inline void RDC_SetMemAccessValid(RDC_Type *base, rdc_mem_t mem, bool valid) in RDC_SetMemAccessValid() argument 356 assert((uint32_t)mem < RDC_MRC_COUNT); in RDC_SetMemAccessValid() 360 base->MR[mem].MRC |= RDC_MRC_ENA_MASK; in RDC_SetMemAccessValid() 364 base->MR[mem].MRC &= ~RDC_MRC_ENA_MASK; in RDC_SetMemAccessValid() 381 void RDC_GetMemViolationStatus(RDC_Type *base, rdc_mem_t mem, rdc_mem_status_t *status); 389 static inline void RDC_ClearMemViolationFlag(RDC_Type *base, rdc_mem_t mem) in RDC_ClearMemViolationFlag() argument [all …]
|
D | fsl_rdc.c | 230 assert((uint32_t)config->mem < RDC_MRC_COUNT); in RDC_SetMemAccessConfig() 232 uint32_t mem = (uint32_t)config->mem; in RDC_SetMemAccessConfig() local 242 …base->MR[mem].MRSA = (uint32_t)(config->baseAddress >> (uint32_t)FSL_FEATURE_RDC_MEM_REGION_ADDR_S… in RDC_SetMemAccessConfig() 243 …base->MR[mem].MREA = (uint32_t)(config->endAddress >> (uint32_t)FSL_FEATURE_RDC_MEM_REGION_ADDR_SH… in RDC_SetMemAccessConfig() 245 base->MR[mem].MRSA = (uint32_t)config->baseAddress; in RDC_SetMemAccessConfig() 246 base->MR[mem].MREA = (uint32_t)config->endAddress; in RDC_SetMemAccessConfig() 248 base->MR[mem].MRC = regMRC; in RDC_SetMemAccessConfig() 295 void RDC_GetMemViolationStatus(RDC_Type *base, rdc_mem_t mem, rdc_mem_status_t *status) in RDC_GetMemViolationStatus() argument 297 assert((uint32_t)mem < RDC_MRC_COUNT); in RDC_GetMemViolationStatus() 299 uint32_t regMRVS = base->MR[mem].MRVS; in RDC_GetMemViolationStatus()
|
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_casper.c | 2259 uint32_t *scalar, *M, *X, *Y, *Z, *mem; in Jac_scalar_multiplication() local 2289 mem = &CASPER_MEM[(20U * N_wordlen + 80U)]; in Jac_scalar_multiplication() 2302 #define FSL_CASPER_LUT(P, x) (mem + (3U * ((P)-1U) / 2U + (x)) * (N_wordlen + 4U)) in Jac_scalar_multiplication() 2430 uint32_t *Q2x, *Q2y, *Q2z, *P2x, *P2y, *P2z, *Z, *mem; in precompute_double_scalar_LUT16() local 2455 mem = &CASPER_MEM[(20U * N_wordlen + 80U)]; in precompute_double_scalar_LUT16() 2461 CASPER_MEMCPY(&mem[index], Q2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16() 2463 CASPER_MEMCPY(&mem[index], Q2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16() 2465 CASPER_MEMCPY(&mem[index], Q2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16() 2470 CASPER_MEMCPY(&mem[index], P2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16() 2472 CASPER_MEMCPY(&mem[index], P2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16() [all …]
|
/hal_nxp-2.7.6/mcux/drivers/lpc/ |
D | fsl_casper.c | 2259 uint32_t *scalar, *M, *X, *Y, *Z, *mem; in Jac_scalar_multiplication() local 2289 mem = &CASPER_MEM[(20U * N_wordlen + 80U)]; in Jac_scalar_multiplication() 2302 #define FSL_CASPER_LUT(P, x) (mem + (3U * ((P)-1U) / 2U + (x)) * (N_wordlen + 4U)) in Jac_scalar_multiplication() 2430 uint32_t *Q2x, *Q2y, *Q2z, *P2x, *P2y, *P2z, *Z, *mem; in precompute_double_scalar_LUT16() local 2455 mem = &CASPER_MEM[(20U * N_wordlen + 80U)]; in precompute_double_scalar_LUT16() 2461 CASPER_MEMCPY(&mem[index], Q2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16() 2463 CASPER_MEMCPY(&mem[index], Q2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16() 2465 CASPER_MEMCPY(&mem[index], Q2z, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16() 2470 CASPER_MEMCPY(&mem[index], P2x, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16() 2472 CASPER_MEMCPY(&mem[index], P2y, N_wordlen * sizeof(uint32_t)); in precompute_double_scalar_LUT16() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1176/ |
D | MIMXRT1176_cm7.h | 62 #define XRDC2_GET_MRC(mem) ((mem) >> 5U) argument 63 #define XRDC2_GET_MRGD(mem) ((mem) & 31U) argument
|
D | MIMXRT1176_cm4.h | 62 #define XRDC2_GET_MRC(mem) ((mem) >> 5U) argument 63 #define XRDC2_GET_MRGD(mem) ((mem) & 31U) argument
|