Lines Matching refs:mem
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
406 assert((uint32_t)mem < RDC_MRC_COUNT); in RDC_ClearMemViolationFlag()
408 base->MR[mem].MRVS = RDC_MRVS_AD_MASK; in RDC_ClearMemViolationFlag()
419 static inline uint8_t RDC_GetMemAccessPolicy(RDC_Type *base, rdc_mem_t mem, uint8_t domainId) in RDC_GetMemAccessPolicy() argument
421 assert((uint32_t)mem < RDC_MRC_COUNT); in RDC_GetMemAccessPolicy()
423 return (uint8_t)((base->MR[mem].MRC >> (domainId * 2U)) & 0x03U); in RDC_GetMemAccessPolicy()