Lines Matching refs:memSlot

222                                   xrdc2_mem_slot_t memSlot,  in XRDC2_SetMemSlotAccessConfig()  argument
235 base->MSCI_MSAC_WK[(uint8_t)memSlot].MSC_MSAC_W0 = w0; in XRDC2_SetMemSlotAccessConfig()
236 base->MSCI_MSAC_WK[(uint8_t)memSlot].MSC_MSAC_W1 = w1; in XRDC2_SetMemSlotAccessConfig()
246 void XRDC2_SetMemSlotAccessValid(XRDC2_Type *base, xrdc2_mem_slot_t memSlot, bool valid) in XRDC2_SetMemSlotAccessValid() argument
248 uint32_t reg = base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1 & ~XRDC2_EAL_MASK; in XRDC2_SetMemSlotAccessValid()
252 base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1 = (reg | XRDC2_MSC_MSAC_W1_VLD_MASK); in XRDC2_SetMemSlotAccessValid()
256 base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1 = (reg & ~XRDC2_MSC_MSAC_W1_VLD_MASK); in XRDC2_SetMemSlotAccessValid()
267 void XRDC2_SetMemSlotAccessLockMode(XRDC2_Type *base, xrdc2_mem_slot_t memSlot, xrdc2_access_config… in XRDC2_SetMemSlotAccessLockMode() argument
269 …uint32_t reg = base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1 & ~(XRDC2_EAL_MASK | XRDC2_MRC_MR… in XRDC2_SetMemSlotAccessLockMode()
271 base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1 = (reg | XRDC2_MRC_MRGD_W6_DL2(lockMode)); in XRDC2_SetMemSlotAccessLockMode()
283 xrdc2_mem_slot_t memSlot, in XRDC2_SetMemSlotDomainAccessPolicy() argument
291 reg = base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W0 & ~XRDC2_DXACP_0_7_MASK(domainId); in XRDC2_SetMemSlotDomainAccessPolicy()
293 base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W0 = reg; in XRDC2_SetMemSlotDomainAccessPolicy()
297 reg = base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1 & ~XRDC2_DXACP_8_15_MASK(domainId); in XRDC2_SetMemSlotDomainAccessPolicy()
300 base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1 = reg; in XRDC2_SetMemSlotDomainAccessPolicy()
314 void XRDC2_EnableMemSlotExclAccessLock(XRDC2_Type *base, xrdc2_mem_slot_t memSlot, bool enable) in XRDC2_EnableMemSlotExclAccessLock() argument
318 base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1 = XRDC2_EAL_UNLOCKED; in XRDC2_EnableMemSlotExclAccessLock()
322 base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1 = XRDC2_EAL_DISABLE_UNTIL_RESET; in XRDC2_EnableMemSlotExclAccessLock()
333 uint8_t XRDC2_GetMemSlotExclAccessLockDomainOwner(XRDC2_Type *base, xrdc2_mem_slot_t memSlot) in XRDC2_GetMemSlotExclAccessLockDomainOwner() argument
335 …return (uint8_t)((base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W0 & XRDC2_MSC_MSAC_W0_EALO_MASK)… in XRDC2_GetMemSlotExclAccessLockDomainOwner()
347 status_t XRDC2_TryLockMemSlotExclAccess(XRDC2_Type *base, xrdc2_mem_slot_t memSlot) in XRDC2_TryLockMemSlotExclAccess() argument
351 volatile uint32_t *lockReg = &(base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1); in XRDC2_TryLockMemSlotExclAccess()
357 if (curDomainID != XRDC2_GetMemSlotExclAccessLockDomainOwner(base, memSlot)) in XRDC2_TryLockMemSlotExclAccess()
377 void XRDC2_LockMemSlotExclAccess(XRDC2_Type *base, xrdc2_mem_slot_t memSlot) in XRDC2_LockMemSlotExclAccess() argument
380 volatile uint32_t *lockReg = &(base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1); in XRDC2_LockMemSlotExclAccess()
389 if (curDomainID == XRDC2_GetMemSlotExclAccessLockDomainOwner(base, memSlot)) in XRDC2_LockMemSlotExclAccess()