Home
last modified time | relevance | path

Searched refs:s32EventGroupId (Results 1 – 25 of 30) sorted by relevance

12

/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/
H A DMsOS_linux_kernel.c1730 MS_BOOL MsOS_DeleteEventGroup (MS_S32 s32EventGroupId) in MsOS_DeleteEventGroup() argument
1733 if ( (s32EventGroupId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_DeleteEventGroup()
1739 s32EventGroupId &= MSOS_ID_MASK; in MsOS_DeleteEventGroup()
1743 if (!_MsOS_EventGroup_Info[s32EventGroupId].bUsed) in MsOS_DeleteEventGroup()
1749 if (0 < _MsOS_EventGroup_Info[s32EventGroupId].u32Waiting) in MsOS_DeleteEventGroup()
1756 spin_lock_irqsave(&_MsOS_EventGroup_Info[s32EventGroupId].stMutexEvent, flags); in MsOS_DeleteEventGroup()
1757 _MsOS_EventGroup_Info[s32EventGroupId].u32EventGroup= 0; in MsOS_DeleteEventGroup()
1758 spin_unlock_irqrestore(&_MsOS_EventGroup_Info[s32EventGroupId].stMutexEvent, flags); in MsOS_DeleteEventGroup()
1759 _MsOS_EventGroup_Info[s32EventGroupId].bUsed = FALSE; in MsOS_DeleteEventGroup()
1760 _MsOS_EventGroup_Info[s32EventGroupId].u32Waiting = 0; in MsOS_DeleteEventGroup()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/nuttx/
H A DMsOS_nuttx.c1258 MS_BOOL MsOS_DeleteEventGroup (MS_S32 s32EventGroupId) in MsOS_DeleteEventGroup() argument
1260 if ( (s32EventGroupId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_DeleteEventGroup()
1266 s32EventGroupId &= MSOS_ID_MASK; in MsOS_DeleteEventGroup()
1270 if( _MsOS_EventGroup_Info[s32EventGroupId].bUsed == FALSE) in MsOS_DeleteEventGroup()
1272 MSOS_PRINT("EVENTGROUP WITH EVENTGROUP:0x%lx NOT EXIST\n",s32EventGroupId); in MsOS_DeleteEventGroup()
1277 pthread_cond_destroy(&_MsOS_EventGroup_Info[s32EventGroupId].stSemaphore); in MsOS_DeleteEventGroup()
1278 pthread_mutex_destroy(&_MsOS_EventGroup_Info[s32EventGroupId].stMutex); in MsOS_DeleteEventGroup()
1280 pthread_mutex_lock(&_MsOS_EventGroup_Info[s32EventGroupId].stMutexEvent); in MsOS_DeleteEventGroup()
1281 _MsOS_EventGroup_Info[s32EventGroupId].u32EventGroup= 0; in MsOS_DeleteEventGroup()
1282 pthread_mutex_unlock(&_MsOS_EventGroup_Info[s32EventGroupId].stMutexEvent); in MsOS_DeleteEventGroup()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel/
H A DMsOS_linux_kernel.c1538 MS_BOOL MsOS_DeleteEventGroup (MS_S32 s32EventGroupId) in MsOS_DeleteEventGroup() argument
1541 if ( (s32EventGroupId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_DeleteEventGroup()
1547 s32EventGroupId &= MSOS_ID_MASK; in MsOS_DeleteEventGroup()
1550 init_waitqueue_head(&_MsOS_EventGroup_Info[s32EventGroupId].stSemaphore); in MsOS_DeleteEventGroup()
1553 _MsOS_EventGroup_Info[s32EventGroupId].u32EventGroup= 0; in MsOS_DeleteEventGroup()
1554 _MsOS_EventGroup_Info[s32EventGroupId].bUsed = FALSE; in MsOS_DeleteEventGroup()
1567 MS_BOOL MsOS_SetEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in MsOS_SetEvent() argument
1570 if ( (s32EventGroupId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_SetEvent()
1576 s32EventGroupId &= MSOS_ID_MASK; in MsOS_SetEvent()
1579 spin_lock_irqsave(&_MsOS_EventGroup_Info[s32EventGroupId].stMutexEvent, flag); in MsOS_SetEvent()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/ucos/
H A DMsOS_ucos.c1858 MS_BOOL MsOS_DeleteEventGroup (MS_S32 s32EventGroupId) in MsOS_DeleteEventGroup() argument
1884 if ((s32EventGroupId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX) in MsOS_DeleteEventGroup()
1890 s32EventGroupId &= MSOS_ID_MASK; in MsOS_DeleteEventGroup()
1893 OSFlagDel(_MsOS_EventGroup_Info[s32EventGroupId].stEventGroup, OS_DEL_NO_PEND, &u8Err); in MsOS_DeleteEventGroup()
1897 _MsOS_EventGroup_Info[s32EventGroupId].bUsed = FALSE; in MsOS_DeleteEventGroup()
1918 MS_BOOL MsOS_SetEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in MsOS_SetEvent() argument
1923 if ( (s32EventGroupId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_SetEvent()
1929 s32EventGroupId &= MSOS_ID_MASK; in MsOS_SetEvent()
1932 EVENT_EACH_MUTEX_LOCK(_MsOS_EventGroup_Info[s32EventGroupId].stMutexEvent, u8Err); in MsOS_SetEvent()
1933 SET_FLAG(_MsOS_EventGroup_Info[s32EventGroupId].u32EventGroup, u32EventFlag); in MsOS_SetEvent()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A DMsOS_linux.c2201 MS_BOOL MsOS_DeleteEventGroup (MS_S32 s32EventGroupId) in MsOS_DeleteEventGroup() argument
2203 if ( (s32EventGroupId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_DeleteEventGroup()
2209 s32EventGroupId &= MSOS_ID_MASK; in MsOS_DeleteEventGroup()
2213 if( _MsOS_EventGroup_Info[s32EventGroupId].bUsed == FALSE) in MsOS_DeleteEventGroup()
2215 MSOS_ERROR("EVENTGROUP WITH EVENTGROUP: %td NOT EXIST\n", (ptrdiff_t)s32EventGroupId); in MsOS_DeleteEventGroup()
2220 PTH_RET_CHK(pthread_cond_destroy(&_MsOS_EventGroup_Info[s32EventGroupId].stSemaphore)); in MsOS_DeleteEventGroup()
2221 PTH_RET_CHK(pthread_mutex_destroy(&_MsOS_EventGroup_Info[s32EventGroupId].stMutex)); in MsOS_DeleteEventGroup()
2223 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_EventGroup_Info[s32EventGroupId].stMutexEvent)); in MsOS_DeleteEventGroup()
2224 _MsOS_EventGroup_Info[s32EventGroupId].u32EventGroup= 0; in MsOS_DeleteEventGroup()
2225 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_EventGroup_Info[s32EventGroupId].stMutexEvent)); in MsOS_DeleteEventGroup()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/ecos/
H A DMsOS_ecos.c1794 MS_BOOL MsOS_DeleteEventGroup (MS_S32 s32EventGroupId) in MsOS_DeleteEventGroup() argument
1796 if ( (s32EventGroupId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_DeleteEventGroup()
1802 s32EventGroupId &= MSOS_ID_MASK; in MsOS_DeleteEventGroup()
1805 if ( cyg_flag_waiting(&_MsOS_EventGroup_Info[s32EventGroupId].stEventGroup) ) in MsOS_DeleteEventGroup()
1811 cyg_flag_destroy(&_MsOS_EventGroup_Info[s32EventGroupId].stEventGroup); in MsOS_DeleteEventGroup()
1813 _MsOS_EventGroup_Info[s32EventGroupId].bUsed = FALSE; in MsOS_DeleteEventGroup()
1826 MS_BOOL MsOS_SetEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in MsOS_SetEvent() argument
1828 if ( (s32EventGroupId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_SetEvent()
1834 s32EventGroupId &= MSOS_ID_MASK; in MsOS_SetEvent()
1837 cyg_flag_setbits(&_MsOS_EventGroup_Info[s32EventGroupId].stEventGroup, u32EventFlag); in MsOS_SetEvent()
[all …]
/utopia/UTPA2-700.0.x/modules/dmx/drv/tsp3/
H A DosalTSP_ecos.c162 inline MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId) in OSAL_TSP_EventDelete() argument
164 return MsOS_DeleteEventGroup(s32EventGroupId); in OSAL_TSP_EventDelete()
167 inline MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in OSAL_TSP_EventSet() argument
169 return MsOS_SetEvent(s32EventGroupId, u32EventFlag); in OSAL_TSP_EventSet()
H A DosalTSP_linux.c166 inline MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId) in OSAL_TSP_EventDelete() argument
168 return MsOS_DeleteEventGroup(s32EventGroupId); in OSAL_TSP_EventDelete()
171 inline MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in OSAL_TSP_EventSet() argument
173 return MsOS_SetEvent(s32EventGroupId, u32EventFlag); in OSAL_TSP_EventSet()
H A DosalTSP_linux_kernel.c165 inline MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId) in OSAL_TSP_EventDelete() argument
167 return MsOS_DeleteEventGroup(s32EventGroupId); in OSAL_TSP_EventDelete()
170 inline MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in OSAL_TSP_EventSet() argument
172 return MsOS_SetEvent(s32EventGroupId, u32EventFlag); in OSAL_TSP_EventSet()
H A DosalTSP_nos.c203 inline MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in OSAL_TSP_EventSet() argument
207 if (0x87650000UL != (0xFFFF0000UL & s32EventGroupId)) in OSAL_TSP_EventSet()
212 u32Id = s32EventGroupId & 0x0000FFFFUL; in OSAL_TSP_EventSet()
H A DosalTSP_linux_kernel.h133 MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId);
134 MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag);
H A DosalTSP_linux.h133 MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId);
134 MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag);
H A DosalTSP_ecos.h129 MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId);
130 MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag);
/utopia/UTPA2-700.0.x/modules/dmx/drv/tsp/
H A DosalTSP_ecos.c162 inline MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId) in OSAL_TSP_EventDelete() argument
164 return MsOS_DeleteEventGroup(s32EventGroupId); in OSAL_TSP_EventDelete()
167 inline MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in OSAL_TSP_EventSet() argument
169 return MsOS_SetEvent(s32EventGroupId, u32EventFlag); in OSAL_TSP_EventSet()
H A DosalTSP_linux_kernel.c165 inline MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId) in OSAL_TSP_EventDelete() argument
167 return MsOS_DeleteEventGroup(s32EventGroupId); in OSAL_TSP_EventDelete()
170 inline MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in OSAL_TSP_EventSet() argument
172 return MsOS_SetEvent(s32EventGroupId, u32EventFlag); in OSAL_TSP_EventSet()
H A DosalTSP_linux.c166 inline MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId) in OSAL_TSP_EventDelete() argument
168 return MsOS_DeleteEventGroup(s32EventGroupId); in OSAL_TSP_EventDelete()
171 inline MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in OSAL_TSP_EventSet() argument
173 return MsOS_SetEvent(s32EventGroupId, u32EventFlag); in OSAL_TSP_EventSet()
H A DosalTSP_nos.c203 inline MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in OSAL_TSP_EventSet() argument
207 if (0x87650000 != (0xFFFF0000 & s32EventGroupId)) in OSAL_TSP_EventSet()
212 u32Id = s32EventGroupId & 0x0000FFFF; in OSAL_TSP_EventSet()
H A DosalTSP_linux_kernel.h129 MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId);
130 MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag);
H A DosalTSP_linux.h128 MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId);
129 MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag);
H A DosalTSP_ecos.h129 MS_BOOL OSAL_TSP_EventDelete(MS_S32 s32EventGroupId);
130 MS_BOOL OSAL_TSP_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag);
/utopia/UTPA2-700.0.x/projects/tmplib/include/
H A DMsOS.h863 MS_BOOL MsOS_DeleteEventGroup (MS_S32 s32EventGroupId);
873 MS_BOOL MsOS_SetEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag);
883 MS_BOOL MsOS_ClearEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag);
896 MS_BOOL MsOS_WaitEvent (MS_S32 s32EventGroupId,
902 MS_S32 MsOS_WaitEvent_Interrupt (MS_S32 s32EventGroupId,
/utopia/UTPA2-700.0.x/modules/dmx/drv/tsp4/
H A Dtsp2_nos.c231 MS_BOOL TSP_OS_EventSet(MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in TSP_OS_EventSet() argument
235 if (0x87650000 != (0xFFFF0000 & s32EventGroupId)) in TSP_OS_EventSet()
240 u32Id = s32EventGroupId & 0x0000FFFF; in TSP_OS_EventSet()
/utopia/UTPA2-700.0.x/mxlib/include/
H A DMsOS.h1005 MS_BOOL MsOS_DeleteEventGroup (MS_S32 s32EventGroupId);
1015 MS_BOOL MsOS_SetEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag);
1025 MS_BOOL MsOS_ClearEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag);
1038 MS_BOOL MsOS_WaitEvent (MS_S32 s32EventGroupId,
1044 MS_S32 MsOS_WaitEvent_Interrupt (MS_S32 s32EventGroupId,
/utopia/UTPA2-700.0.x/modules/msos/msos/optee/
H A DMsOS_optee.c1196 MS_BOOL MsOS_DeleteEventGroup (MS_S32 s32EventGroupId) in MsOS_DeleteEventGroup() argument
1209 MS_BOOL MsOS_SetEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in MsOS_SetEvent() argument
1223 MS_BOOL MsOS_ClearEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in MsOS_ClearEvent() argument
1239 MS_BOOL MsOS_WaitEvent (MS_S32 s32EventGroupId, in MsOS_WaitEvent() argument
/utopia/UTPA2-700.0.x/modules/msos/msos/nos/
H A DMsOS_nos.c1101 MS_BOOL MsOS_DeleteEventGroup (MS_S32 s32EventGroupId) in MsOS_DeleteEventGroup() argument
1114 MS_BOOL MsOS_SetEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in MsOS_SetEvent() argument
1127 MS_BOOL MsOS_ClearEvent (MS_S32 s32EventGroupId, MS_U32 u32EventFlag) in MsOS_ClearEvent() argument
1143 MS_BOOL MsOS_WaitEvent (MS_S32 s32EventGroupId, in MsOS_WaitEvent() argument

12