Home
last modified time | relevance | path

Searched refs:procNum (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/sema4/
Dfsl_sema4.h93 status_t SEMA4_TryLock(SEMA4_Type *base, uint8_t gateNum, uint8_t procNum);
106 void SEMA4_Lock(SEMA4_Type *base, uint8_t gateNum, uint8_t procNum);
183 static inline void SEMA4_EnableGateNotifyInterrupt(SEMA4_Type *base, uint8_t procNum, uint32_t mask) in SEMA4_EnableGateNotifyInterrupt() argument
186 base->CPINE[procNum].CPINE |= (uint16_t)mask; in SEMA4_EnableGateNotifyInterrupt()
200 static inline void SEMA4_DisableGateNotifyInterrupt(SEMA4_Type *base, uint8_t procNum, uint32_t mas… in SEMA4_DisableGateNotifyInterrupt() argument
203 base->CPINE[procNum].CPINE &= (uint16_t)(~mask); in SEMA4_DisableGateNotifyInterrupt()
219 static inline uint32_t SEMA4_GetGateNotifyStatus(SEMA4_Type *base, uint8_t procNum) in SEMA4_GetGateNotifyStatus() argument
221 return __REV(__RBIT(base->CPNTF[procNum].CPNTF)); in SEMA4_GetGateNotifyStatus()
Dfsl_sema4.c134 status_t SEMA4_TryLock(SEMA4_Type *base, uint8_t gateNum, uint8_t procNum) in SEMA4_TryLock() argument
140 ++procNum; in SEMA4_TryLock()
143 SEMA4_GATEn(base, gateNum) = procNum; in SEMA4_TryLock()
146 if (procNum != SEMA4_GATEn(base, gateNum)) in SEMA4_TryLock()
169 void SEMA4_Lock(SEMA4_Type *base, uint8_t gateNum, uint8_t procNum) in SEMA4_Lock() argument
171 while (kStatus_Success != SEMA4_TryLock(base, gateNum, procNum)) in SEMA4_Lock()
/hal_nxp-latest/mcux/mcux-sdk/drivers/sema42/
Dfsl_sema42.c137 status_t SEMA42_TryLock(SEMA42_Type *base, uint8_t gateNum, uint8_t procNum) in SEMA42_TryLock() argument
143 ++procNum; in SEMA42_TryLock()
146 SEMA42_GATEn(base, gateNum) = procNum; in SEMA42_TryLock()
149 if (procNum != SEMA42_GATEn(base, gateNum)) in SEMA42_TryLock()
172 void SEMA42_Lock(SEMA42_Type *base, uint8_t gateNum, uint8_t procNum) in SEMA42_Lock() argument
174 while (kStatus_Success != SEMA42_TryLock(base, gateNum, procNum)) in SEMA42_Lock()
Dfsl_sema42.h125 status_t SEMA42_TryLock(SEMA42_Type *base, uint8_t gateNum, uint8_t procNum);
138 void SEMA42_Lock(SEMA42_Type *base, uint8_t gateNum, uint8_t procNum);