Lines Matching refs:mem
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
512 uint32_t mrc = XRDC2_GET_MRC((uint32_t)mem); in XRDC2_SetMemDomainAccessPolicy()
513 uint32_t mrgd = XRDC2_GET_MRGD((uint32_t)mem); in XRDC2_SetMemDomainAccessPolicy()
538 void XRDC2_EnableMemExclAccessLock(XRDC2_Type *base, xrdc2_mem_t mem, bool enable) in XRDC2_EnableMemExclAccessLock() argument
540 uint32_t mrc = XRDC2_GET_MRC((uint32_t)mem); in XRDC2_EnableMemExclAccessLock()
541 uint32_t mrgd = XRDC2_GET_MRGD((uint32_t)mem); in XRDC2_EnableMemExclAccessLock()
560 uint8_t XRDC2_GetMemExclAccessLockDomainOwner(XRDC2_Type *base, xrdc2_mem_t mem) in XRDC2_GetMemExclAccessLockDomainOwner() argument
562 uint32_t mrc = XRDC2_GET_MRC((uint32_t)mem); in XRDC2_GetMemExclAccessLockDomainOwner()
563 uint32_t mrgd = XRDC2_GET_MRGD((uint32_t)mem); in XRDC2_GetMemExclAccessLockDomainOwner()
577 status_t XRDC2_TryLockMemExclAccess(XRDC2_Type *base, xrdc2_mem_t mem) in XRDC2_TryLockMemExclAccess() argument
581 uint32_t mrc = XRDC2_GET_MRC((uint32_t)mem); in XRDC2_TryLockMemExclAccess()
582 uint32_t mrgd = XRDC2_GET_MRGD((uint32_t)mem); in XRDC2_TryLockMemExclAccess()
589 if (curDomainID != XRDC2_GetMemExclAccessLockDomainOwner(base, mem)) in XRDC2_TryLockMemExclAccess()
609 void XRDC2_LockMemExclAccess(XRDC2_Type *base, xrdc2_mem_t mem) in XRDC2_LockMemExclAccess() argument
612 uint32_t mrc = XRDC2_GET_MRC((uint32_t)mem); in XRDC2_LockMemExclAccess()
613 uint32_t mrgd = XRDC2_GET_MRGD((uint32_t)mem); in XRDC2_LockMemExclAccess()
623 if (curDomainID == XRDC2_GetMemExclAccessLockDomainOwner(base, mem)) in XRDC2_LockMemExclAccess()
640 void XRDC2_UnlockMemExclAccess(XRDC2_Type *base, xrdc2_mem_t mem) in XRDC2_UnlockMemExclAccess() argument
642 uint32_t mrc = XRDC2_GET_MRC((uint32_t)mem); in XRDC2_UnlockMemExclAccess()
643 uint32_t mrgd = XRDC2_GET_MRGD((uint32_t)mem); in XRDC2_UnlockMemExclAccess()
656 void XRDC2_ForceMemExclAccessLockRelease(XRDC2_Type *base, xrdc2_mem_t mem) in XRDC2_ForceMemExclAccessLockRelease() argument
658 uint32_t mrc = XRDC2_GET_MRC((uint32_t)mem); in XRDC2_ForceMemExclAccessLockRelease()
659 uint32_t mrgd = XRDC2_GET_MRGD((uint32_t)mem); in XRDC2_ForceMemExclAccessLockRelease()