Home
last modified time | relevance | path

Searched refs:pdap (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-latest/imx/drivers/
Drdc_semaphore.c41 static RDC_SEMAPHORE_Type *RDC_SEMAPHORE_GetGate(uint32_t *pdap) in RDC_SEMAPHORE_GetGate() argument
45 if (*pdap < 64) in RDC_SEMAPHORE_GetGate()
50 *pdap -= 64; in RDC_SEMAPHORE_GetGate()
62 rdc_semaphore_status_t RDC_SEMAPHORE_TryLock(uint32_t pdap) in RDC_SEMAPHORE_TryLock() argument
65 uint32_t index = pdap; in RDC_SEMAPHORE_TryLock()
83 void RDC_SEMAPHORE_Lock(uint32_t pdap) in RDC_SEMAPHORE_Lock() argument
86 uint32_t index = pdap; in RDC_SEMAPHORE_Lock()
104 void RDC_SEMAPHORE_Unlock(uint32_t pdap) in RDC_SEMAPHORE_Unlock() argument
107 uint32_t index = pdap; in RDC_SEMAPHORE_Unlock()
120 uint32_t RDC_SEMAPHORE_GetLockDomainID(uint32_t pdap) in RDC_SEMAPHORE_GetLockDomainID() argument
[all …]
Drdc_semaphore.h75 rdc_semaphore_status_t RDC_SEMAPHORE_TryLock(uint32_t pdap);
82 void RDC_SEMAPHORE_Lock(uint32_t pdap);
89 void RDC_SEMAPHORE_Unlock(uint32_t pdap);
97 uint32_t RDC_SEMAPHORE_GetLockDomainID(uint32_t pdap);
106 uint32_t RDC_SEMAPHORE_GetLockMaster(uint32_t pdap);
120 void RDC_SEMAPHORE_Reset(uint32_t pdap);
Drdc.h164 static inline void RDC_SetPdapAccess(RDC_Type * base, uint32_t pdap, uint8_t perm, bool sreq, bool … in RDC_SetPdapAccess() argument
166 base->PDAP[pdap] = perm | (sreq ? RDC_PDAP_SREQ_MASK : 0) | (lock ? RDC_PDAP_LCK_MASK : 0); in RDC_SetPdapAccess()
176 static inline uint8_t RDC_GetPdapAccess(RDC_Type * base, uint32_t pdap) in RDC_GetPdapAccess() argument
178 return base->PDAP[pdap] & 0xFF; in RDC_GetPdapAccess()
190 static inline bool RDC_IsPdapSemaphoreRequired(RDC_Type * base, uint32_t pdap) in RDC_IsPdapSemaphoreRequired() argument
192 return (bool)(base->PDAP[pdap] & RDC_PDAP_SREQ_MASK); in RDC_IsPdapSemaphoreRequired()