Home
last modified time | relevance | path

Searched refs:_MsOS_EventGroup_Info (Results 1 – 6 of 6) sorted by relevance

/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/
H A DMsOS_linux_kernel.c320 static MsOS_EventGroup_Info _MsOS_EventGroup_Info[MSOS_EVENTGROUP_MAX]; variable
485 _MsOS_EventGroup_Info[u32I].bUsed = FALSE; in MsOS_Init()
1697 if(_MsOS_EventGroup_Info[s32Id].bUsed == FALSE) in MsOS_CreateEventGroup()
1709 spin_lock_init(&_MsOS_EventGroup_Info[s32Id].stMutexEvent); in MsOS_CreateEventGroup()
1710 _MsOS_EventGroup_Info[s32Id].bUsed = TRUE; in MsOS_CreateEventGroup()
1711 _MsOS_EventGroup_Info[s32Id].u32Waiting = 0; in MsOS_CreateEventGroup()
1712 spin_lock_irqsave(&_MsOS_EventGroup_Info[s32Id].stMutexEvent, flag); in MsOS_CreateEventGroup()
1713 _MsOS_EventGroup_Info[s32Id].u32EventGroup= 0; in MsOS_CreateEventGroup()
1714 spin_unlock_irqrestore(&_MsOS_EventGroup_Info[s32Id].stMutexEvent, flag); in MsOS_CreateEventGroup()
1718 init_waitqueue_head(&_MsOS_EventGroup_Info[s32Id].stEventWaitQueue); in MsOS_CreateEventGroup()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/nuttx/
H A DMsOS_nuttx.c293 static MsOS_EventGroup_Info _MsOS_EventGroup_Info[MSOS_EVENTGROUP_MAX]; variable
455 _MsOS_EventGroup_Info[u32I].bUsed = FALSE; in MsOS_Init()
1222 if(_MsOS_EventGroup_Info[s32Id].bUsed == FALSE) in MsOS_CreateEventGroup()
1230 pthread_mutex_init(&_MsOS_EventGroup_Info[s32Id].stMutexEvent, &_MsOS_Mutex_Attr); in MsOS_CreateEventGroup()
1231 pthread_mutex_lock(&_MsOS_EventGroup_Info[s32Id].stMutexEvent); in MsOS_CreateEventGroup()
1232 _MsOS_EventGroup_Info[s32Id].bUsed = TRUE; in MsOS_CreateEventGroup()
1233 _MsOS_EventGroup_Info[s32Id].u32EventGroup= 0; in MsOS_CreateEventGroup()
1234 pthread_mutex_unlock(&_MsOS_EventGroup_Info[s32Id].stMutexEvent); in MsOS_CreateEventGroup()
1243 pthread_mutex_init(&_MsOS_EventGroup_Info[s32Id].stMutex, &_MsOS_Mutex_Attr); in MsOS_CreateEventGroup()
1244 pthread_cond_init(&_MsOS_EventGroup_Info[s32Id].stSemaphore, NULL); in MsOS_CreateEventGroup()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel/
H A DMsOS_linux_kernel.c377 static MsOS_EventGroup_Info _MsOS_EventGroup_Info[MSOS_EVENTGROUP_MAX]; variable
510 _MsOS_EventGroup_Info[u32I].bUsed = FALSE; in MsOS_Init()
1509 if(_MsOS_EventGroup_Info[s32Id].bUsed == FALSE) in MsOS_CreateEventGroup()
1516 _MsOS_EventGroup_Info[s32Id].bUsed = TRUE; in MsOS_CreateEventGroup()
1517 _MsOS_EventGroup_Info[s32Id].u32EventGroup= 0; in MsOS_CreateEventGroup()
1525 spin_lock_init(&_MsOS_EventGroup_Info[s32Id].stMutexEvent); in MsOS_CreateEventGroup()
1526 init_waitqueue_head(&_MsOS_EventGroup_Info[s32Id].stSemaphore); in MsOS_CreateEventGroup()
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()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A DMsOS_linux.c427 static MsOS_EventGroup_Info _MsOS_EventGroup_Info[MSOS_EVENTGROUP_MAX]; variable
668 _MsOS_EventGroup_Info[u32I].bUsed = FALSE; in MsOS_Init()
2160 if(_MsOS_EventGroup_Info[s32Id].bUsed == FALSE) in MsOS_CreateEventGroup()
2168 … PTH_RET_CHK(pthread_mutex_init(&_MsOS_EventGroup_Info[s32Id].stMutexEvent, &_MsOS_Mutex_Attr)); in MsOS_CreateEventGroup()
2169 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_EventGroup_Info[s32Id].stMutexEvent)); in MsOS_CreateEventGroup()
2170 _MsOS_EventGroup_Info[s32Id].bUsed = TRUE; in MsOS_CreateEventGroup()
2171 _MsOS_EventGroup_Info[s32Id].u32EventGroup= 0; in MsOS_CreateEventGroup()
2172 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_EventGroup_Info[s32Id].stMutexEvent)); in MsOS_CreateEventGroup()
2181 PTH_RET_CHK(pthread_mutex_init(&_MsOS_EventGroup_Info[s32Id].stMutex, &_MsOS_Mutex_Attr)); in MsOS_CreateEventGroup()
2186 PTH_RET_CHK(pthread_cond_init(&_MsOS_EventGroup_Info[s32Id].stSemaphore, &attr)); in MsOS_CreateEventGroup()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/ucos/
H A DMsOS_ucos.c282 static MsOS_EventGroup_Info _MsOS_EventGroup_Info[MSOS_EVENTGROUP_MAX]; variable
451 _MsOS_EventGroup_Info[u32I].bUsed = FALSE; in MsOS_Init()
1790 if(_MsOS_EventGroup_Info[s32Id].bUsed == FALSE) in MsOS_CreateEventGroup()
1797 _MsOS_EventGroup_Info[s32Id].bUsed = TRUE; in MsOS_CreateEventGroup()
1798 _MsOS_EventGroup_Info[s32Id].u32EventGroup= 0; in MsOS_CreateEventGroup()
1808 _MsOS_EventGroup_Info[s32Id].stMutexEvent = OSSemCreate(1); in MsOS_CreateEventGroup()
1809 _MsOS_EventGroup_Info[s32Id].u32EventGroup = 0; in MsOS_CreateEventGroup()
1819 if(_MsOS_EventGroup_Info[s32Id].bUsed == FALSE) in MsOS_CreateEventGroup()
1826 _MsOS_EventGroup_Info[s32Id].bUsed = TRUE; in MsOS_CreateEventGroup()
1837 _MsOS_EventGroup_Info[s32Id].stEventGroup = OSFlagCreate(0, &u8Err); in MsOS_CreateEventGroup()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/ecos/
H A DMsOS_ecos.c289 static MsOS_EventGroup_Info _MsOS_EventGroup_Info[MSOS_EVENTGROUP_MAX]; variable
439 _MsOS_EventGroup_Info[u32I].bUsed = FALSE; in MsOS_Init()
1763 if(_MsOS_EventGroup_Info[s32Id].bUsed == FALSE) in MsOS_CreateEventGroup()
1770 _MsOS_EventGroup_Info[s32Id].bUsed = TRUE; in MsOS_CreateEventGroup()
1781 cyg_flag_init(&_MsOS_EventGroup_Info[s32Id].stEventGroup); in MsOS_CreateEventGroup()
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()
1837 cyg_flag_setbits(&_MsOS_EventGroup_Info[s32EventGroupId].stEventGroup, u32EventFlag); in MsOS_SetEvent()
1859 cyg_flag_maskbits(&_MsOS_EventGroup_Info[s32EventGroupId].stEventGroup, ~u32EventFlag); in MsOS_ClearEvent()
[all …]