Home
last modified time | relevance | path

Searched refs:memSlot (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/xrdc2/
Dfsl_xrdc2.h333 xrdc2_mem_slot_t memSlot,
343 void XRDC2_SetMemSlotAccessValid(XRDC2_Type *base, xrdc2_mem_slot_t memSlot, bool valid);
352 void XRDC2_SetMemSlotAccessLockMode(XRDC2_Type *base, xrdc2_mem_slot_t memSlot, xrdc2_access_config…
363 xrdc2_mem_slot_t memSlot,
377 void XRDC2_EnableMemSlotExclAccessLock(XRDC2_Type *base, xrdc2_mem_slot_t memSlot, bool enable);
386 uint8_t XRDC2_GetMemSlotExclAccessLockDomainOwner(XRDC2_Type *base, xrdc2_mem_slot_t memSlot);
396 status_t XRDC2_TryLockMemSlotExclAccess(XRDC2_Type *base, xrdc2_mem_slot_t memSlot);
406 void XRDC2_LockMemSlotExclAccess(XRDC2_Type *base, xrdc2_mem_slot_t memSlot);
416 static inline void XRDC2_UnlockMemSlotExclAccess(XRDC2_Type *base, xrdc2_mem_slot_t memSlot) in XRDC2_UnlockMemSlotExclAccess() argument
418 base->MSCI_MSAC_WK[(uint32_t)memSlot].MSC_MSAC_W1 = XRDC2_EAL_UNLOCKED; in XRDC2_UnlockMemSlotExclAccess()
[all …]
Dfsl_xrdc2.c222 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()
[all …]