Home
last modified time | relevance | path

Searched refs:u32WaitMs (Results 1 – 25 of 32) sorted by relevance

12

/utopia/UTPA2-700.0.x/modules/msos/msos/ecos/
H A DMsOS_ecos.c1470 MS_BOOL MsOS_ObtainMutex (MS_S32 s32MutexId, MS_U32 u32WaitMs) in MsOS_ObtainMutex() argument
1487 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainMutex()
1492 else if (u32WaitMs==0) //non-blocking in MsOS_ObtainMutex()
1502 cyg_current_time()+u32WaitMs*TICK_PER_ONE_MS) ) in MsOS_ObtainMutex()
1649 MS_BOOL MsOS_ObtainSemaphore (MS_S32 s32SemaphoreId, MS_U32 u32WaitMs) in MsOS_ObtainSemaphore() argument
1664 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainSemaphore()
1669 else if (u32WaitMs==0) //non-blocking in MsOS_ObtainSemaphore()
1679 cyg_current_time()+u32WaitMs*TICK_PER_ONE_MS) ) in MsOS_ObtainSemaphore()
1877 MS_U32 u32WaitMs) in MsOS_WaitEvent() argument
1915 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_WaitEvent()
[all …]
H A DMsOS_private.h136 MS_BOOL MsOS_WaitCondition(MS_S32 s32CondId, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/
H A DMsOS_linux_kernel.c1290 MS_BOOL MsOS_ObtainMutex (MS_S32 s32MutexId, MS_U32 u32WaitMs) in MsOS_ObtainMutex() argument
1311 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainMutex()
1316 else if (u32WaitMs==0) //non-blocking in MsOS_ObtainMutex()
1533 MS_BOOL MsOS_ObtainSemaphore (MS_S32 s32SemaphoreId, MS_U32 u32WaitMs) in MsOS_ObtainSemaphore() argument
1555 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainSemaphore()
1588 timeout = msecs_to_jiffies(u32WaitMs); in MsOS_ObtainSemaphore()
1851 MS_U32 u32WaitMs) in MsOS_WaitEvent() argument
1889 if (u32WaitMs== MSOS_WAIT_FOREVER) //blocking wait in MsOS_WaitEvent()
1906 else if (u32WaitMs == 0) in MsOS_WaitEvent()
1913 u32WaitMs = msecs_to_jiffies(u32WaitMs); in MsOS_WaitEvent()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A DMsOS_linux.c1777 MS_BOOL MsOS_ObtainMutex (MS_S32 s32MutexId, MS_U32 u32WaitMs) in MsOS_ObtainMutex() argument
1790 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainMutex()
1826 else if (u32WaitMs==0) //non-blocking in MsOS_ObtainMutex()
1850 bRet = MsOS_LockMutex(_MsOS_Mutex_Info[s32MutexId].msos_mutex.u32Index,u32WaitMs); in MsOS_ObtainMutex()
1858 _TimeAbs(StopTime, u32WaitMs); in MsOS_ObtainMutex()
2057 MS_BOOL MsOS_ObtainSemaphore (MS_S32 s32SemaphoreId, MS_U32 u32WaitMs) in MsOS_ObtainSemaphore() argument
2070 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainSemaphore()
2081 _TimeAbs(StopTime, u32WaitMs); in MsOS_ObtainSemaphore()
2296 MS_U32 u32WaitMs) in MsOS_WaitEvent() argument
2322 if (u32WaitMs!= MSOS_WAIT_FOREVER) //blocking wait in MsOS_WaitEvent()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/ucos/
H A DMsOS_ucos.c1440 MS_BOOL MsOS_ObtainMutex (MS_S32 s32MutexId, MS_U32 u32WaitMs) in MsOS_ObtainMutex() argument
1456 if (u32WaitMs == MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainMutex()
1464 else if (u32WaitMs == 0) //non-blocking in MsOS_ObtainMutex()
1478 OSSemPend(_MsOS_Mutex_Info[s32MutexId].stMutex, u32WaitMs, &u8Err); in MsOS_ObtainMutex()
1647 MS_BOOL MsOS_ObtainSemaphore (MS_S32 s32SemaphoreId, MS_U32 u32WaitMs) in MsOS_ObtainSemaphore() argument
1663 if (u32WaitMs == MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainSemaphore()
1671 else if (u32WaitMs == 0) //non-blocking in MsOS_ObtainSemaphore()
1685 OSSemPend(_MsOS_Semaphore_Info[s32SemaphoreId].stSemaphore, u32WaitMs, &u8Err); in MsOS_ObtainSemaphore()
2018 MS_U32 u32WaitMs) in MsOS_WaitEvent() argument
2041 u32Timeout = (u32WaitMs== MSOS_WAIT_FOREVER)? 0xFFFFFFFF : u32WaitMs; in MsOS_WaitEvent()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel/
H A DMsOS_linux_kernel.c1246 MS_BOOL MsOS_ObtainMutex (MS_S32 s32MutexId, MS_U32 u32WaitMs) in MsOS_ObtainMutex() argument
1259 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainMutex()
1264 else if (u32WaitMs==0) //non-blocking in MsOS_ObtainMutex()
1415 MS_BOOL MsOS_ObtainSemaphore (MS_S32 s32SemaphoreId, MS_U32 u32WaitMs)
1428 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait
1439 _TimeAbs(StopTime, u32WaitMs);
1625 MS_U32 u32WaitMs) in MsOS_WaitEvent() argument
1659 if (u32WaitMs== MSOS_WAIT_FOREVER) //blocking wait in MsOS_WaitEvent()
1674 u32WaitMs = msecs_to_jiffies(u32WaitMs); in MsOS_WaitEvent()
1679 u32WaitMs); in MsOS_WaitEvent()
[all …]
/utopia/UTPA2-700.0.x/modules/sem/drv/sem/
H A DdrvSEM.c392 MS_BOOL MDrv_SEM_Lock_U2K(eSemId SemId, MS_U32 u32WaitMs) in MDrv_SEM_Lock_U2K() argument
405 SEM_DEBUG("Lock u32WaitMs = %ld\n", u32WaitMs); in MDrv_SEM_Lock_U2K()
421 if(u32WaitMs == SEM_WAIT_FOREVER) in MDrv_SEM_Lock_U2K()
447 bRet = SEM_MUTEX_LOCK(s16SemId, (u32WaitMs - u32Interval)); in MDrv_SEM_Lock_U2K()
459 }while((bRet!= TRUE) && (u32Interval < u32WaitMs)); in MDrv_SEM_Lock_U2K()
464 … SEM_ERROR("Obtain hardware semaphore %d failed, timeout=%ld\n", s16SemId, u32WaitMs); in MDrv_SEM_Lock_U2K()
473 MS_BOOL MDrv_SEM_Lock(eSemId SemId, MS_U32 u32WaitMs) in MDrv_SEM_Lock() argument
482 pSemLockParam->u32WaitMs = u32WaitMs; in MDrv_SEM_Lock()
488 return MDrv_SEM_Lock_U2K(SemId, u32WaitMs); in MDrv_SEM_Lock()
H A DdrvSEM_priv.h170 MS_U32 u32WaitMs; member
220 MS_BOOL MDrv_SEM_Lock_U2K(eSemId SemId, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/msos/msos/nuttx/
H A DMsOS_nuttx.c940 MS_BOOL MsOS_ObtainMutex (MS_S32 s32MutexId, MS_U32 u32WaitMs) in MsOS_ObtainMutex() argument
944 u32WaitMs=MSOS_WAIT_FOREVER; in MsOS_ObtainMutex()
955 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainMutex()
1131 MS_BOOL MsOS_ObtainSemaphore (MS_S32 s32SemaphoreId, MS_U32 u32WaitMs) in MsOS_ObtainSemaphore() argument
1135 u32WaitMs=MSOS_WAIT_FOREVER; in MsOS_ObtainSemaphore()
1146 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainSemaphore()
1372 MS_U32 u32WaitMs) in MsOS_WaitEvent() argument
1398 if (u32WaitMs!= MSOS_WAIT_FOREVER) //blocking wait in MsOS_WaitEvent()
1400 _TimeAbs(StopTime, u32WaitMs); in MsOS_WaitEvent()
1410 if (u32WaitMs== MSOS_WAIT_FOREVER) //blocking wait in MsOS_WaitEvent()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/optee/
H A DMsOS_optee.c893 MS_BOOL MsOS_ObtainMutex (MS_S32 s32MutexId, MS_U32 u32WaitMs) in MsOS_ObtainMutex() argument
912 if (u32WaitMs==MSOS_WAIT_FOREVER) //blocking wait in MsOS_ObtainMutex()
918 else if (u32WaitMs==0) //non-blocking in MsOS_ObtainMutex()
1084 MS_BOOL MsOS_ObtainSemaphore (MS_S32 s32SemaphoreId, MS_U32 u32WaitMs) in MsOS_ObtainSemaphore() argument
1086 return MsOS_ObtainMutex(s32SemaphoreId,u32WaitMs); in MsOS_ObtainSemaphore()
1243 MS_U32 u32WaitMs) in MsOS_WaitEvent() argument
1415 MS_BOOL MsOS_SendToQueue (MS_S32 s32QueueId, MS_U8 *pu8Message, MS_U32 u32Size, MS_U32 u32WaitMs) in MsOS_SendToQueue() argument
1431 …32 s32QueueId, MS_U8 *pu8Message, MS_U32 u32IntendedSize, MS_U32 *pu32ActualSize, MS_U32 u32WaitMs) in MsOS_RecvFromQueue() argument
/utopia/UTPA2-700.0.x/projects/tmplib/include/
H A DMsOS.h765 MS_BOOL MsOS_ObtainMutex (MS_S32 s32MutexId, MS_U32 u32WaitMs);
822 MS_BOOL MsOS_ObtainSemaphore (MS_S32 s32SemaphoreId, MS_U32 u32WaitMs);
900 MS_U32 u32WaitMs);
906 MS_U32 u32WaitMs);
1042 MS_BOOL MsOS_SendToQueue (MS_S32 s32QueueId, MS_U8 *pu8Message, MS_U32 u32Size, MS_U32 u32WaitMs);
1055 …2 s32QueueId, MS_U8 *pu8Message, MS_U32 u32IntendedSize, MS_U32 *pu32ActualSize, MS_U32 u32WaitMs);
H A DdrvSEM.h266 MS_BOOL MDrv_SEM_Lock(eSemId eSemId, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/mxlib/include/
H A DMsOS.h897 MS_BOOL MsOS_ObtainMutex (MS_S32 s32MutexId, MS_U32 u32WaitMs);
964 MS_BOOL MsOS_ObtainSemaphore (MS_S32 s32SemaphoreId, MS_U32 u32WaitMs);
1042 MS_U32 u32WaitMs);
1048 MS_U32 u32WaitMs);
1184 MS_BOOL MsOS_SendToQueue (MS_S32 s32QueueId, MS_U8 *pu8Message, MS_U32 u32Size, MS_U32 u32WaitMs);
1197 …2 s32QueueId, MS_U8 *pu8Message, MS_U32 u32IntendedSize, MS_U32 *pu32ActualSize, MS_U32 u32WaitMs);
H A DdrvSEM.h267 MS_BOOL MDrv_SEM_Lock(eSemId eSemId, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/msos/msos/nos/
H A DMsOS_nos.c972 MS_BOOL MsOS_ObtainMutex (MS_S32 s32MutexId, MS_U32 u32WaitMs) in MsOS_ObtainMutex() argument
1044 MS_BOOL MsOS_ObtainSemaphore (MS_S32 s32SemaphoreId, MS_U32 u32WaitMs) in MsOS_ObtainSemaphore() argument
1147 MS_U32 u32WaitMs) in MsOS_WaitEvent() argument
1348 MS_BOOL MsOS_SendToQueue (MS_S32 s32QueueId, MS_U8 *pu8Message, MS_U32 u32Size, MS_U32 u32WaitMs) in MsOS_SendToQueue() argument
1364 …32 s32QueueId, MS_U8 *pu8Message, MS_U32 u32IntendedSize, MS_U32 *pu32ActualSize, MS_U32 u32WaitMs) in MsOS_RecvFromQueue() argument
/utopia/UTPA2-700.0.x/modules/dscmb/hal/k6lite/dscmb/
H A DhalDSCMB.h743 MS_BOOL HAL_DSCMB_KTE_HW_SEM_Lock(MS_U32 u32WaitMs);
825 MS_BOOL HAL_DSCMB_KL_HW_SEM_Lock(DSCMB_KL_SelEng eKLEng, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/dscmb/hal/k7u/dscmb/
H A DhalDSCMB.h749 MS_BOOL HAL_DSCMB_KTE_HW_SEM_Lock(MS_U32 u32WaitMs);
831 MS_BOOL HAL_DSCMB_KL_HW_SEM_Lock(DSCMB_KL_SelEng eKLEng, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/dscmb/hal/k6/nsk2/
H A DhalDSCMB.h739 MS_BOOL HAL_DSCMB_KTE_HW_SEM_Lock(MS_U32 u32WaitMs);
820 MS_BOOL HAL_DSCMB_KL_HW_SEM_Lock(DSCMB_KL_SelEng eKLEng, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/dscmb/hal/curry/dscmb/
H A DhalDSCMB.h734 MS_BOOL HAL_DSCMB_KTE_HW_SEM_Lock(MS_U32 u32WaitMs);
827 MS_BOOL HAL_DSCMB_KL_HW_SEM_Lock(DSCMB_KL_SelEng eKLEng, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/dscmb/hal/kano/dscmb/
H A DhalDSCMB.h734 MS_BOOL HAL_DSCMB_KTE_HW_SEM_Lock(MS_U32 u32WaitMs);
827 MS_BOOL HAL_DSCMB_KL_HW_SEM_Lock(DSCMB_KL_SelEng eKLEng, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/dscmb/hal/k6/dscmb/
H A DhalDSCMB.h740 MS_BOOL HAL_DSCMB_KTE_HW_SEM_Lock(MS_U32 u32WaitMs);
822 MS_BOOL HAL_DSCMB_KL_HW_SEM_Lock(DSCMB_KL_SelEng eKLEng, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/dscmb/hal/k6lite/nsk2/
H A DhalDSCMB.h739 MS_BOOL HAL_DSCMB_KTE_HW_SEM_Lock(MS_U32 u32WaitMs);
820 MS_BOOL HAL_DSCMB_KL_HW_SEM_Lock(DSCMB_KL_SelEng eKLEng, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/dscmb/hal/k7u/nsk2/
H A DhalDSCMB.h739 MS_BOOL HAL_DSCMB_KTE_HW_SEM_Lock(MS_U32 u32WaitMs);
820 MS_BOOL HAL_DSCMB_KL_HW_SEM_Lock(DSCMB_KL_SelEng eKLEng, MS_U32 u32WaitMs);
/utopia/UTPA2-700.0.x/modules/mfe/drv/mfe/
H A Dmdrv_mfe.c311 static MFE_BOOL MDrv_MFE_Sem_Wait(MFE_U32 u32WaitMs) in MDrv_MFE_Sem_Wait() argument
314 return MsOS_ObtainSemaphore(_MFE_wait_queue, u32WaitMs); in MDrv_MFE_Sem_Wait()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvTransport.c251 …usb_Stor_wait_for_completion(struct completion *x, S32 waitFlag, struct us_data *us, U32 u32WaitMs) in usb_Stor_wait_for_completion() argument
256 err= MsOS_WaitEvent(waitFlag, USB_STOR_BLK_COMPLETE, &RtnPattern, E_OR_CLEAR, u32WaitMs); in usb_Stor_wait_for_completion()

12