/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
H A D | osal_time.c | 42 uint64_t ms; in OsalGetTime() local 48 ms = LOS_TickCountGet() * (HDF_KILO_UNIT / LOSCFG_BASE_CORE_TICK_PER_SECOND); in OsalGetTime() 50 time->sec = ms / HDF_KILO_UNIT; in OsalGetTime() 51 time->usec = (ms % HDF_KILO_UNIT) * HDF_KILO_UNIT; in OsalGetTime() 91 void OsalMSleep(uint32_t ms) in OsalMSleep() argument 93 LOS_Msleep(ms); in OsalMSleep() 101 void OsalMDelay(uint32_t ms) in OsalMDelay() argument 103 LOS_Mdelay(ms); in OsalMDelay()
|
H A D | osal_sem.c | 61 int32_t OsalSemWait(struct OsalSem *sem, uint32_t ms) in OsalSemWait() argument 70 ret = LOS_SemPend((uint32_t)(uintptr_t)sem->realSemaphore, LOS_MS2Tick(ms)); in OsalSemWait()
|
H A D | osal_mutex.c | 106 int32_t OsalMutexTimedLock(struct OsalMutex *mutex, uint32_t ms) in OsalMutexTimedLock() argument 115 ret = LOS_MuxLock((LosMux *)mutex->realMutex, LOS_MS2Tick(ms)); in OsalMutexTimedLock()
|
/drivers/hdf_core/adapter/khdf/liteos_m/osal/src/ |
H A D | osal_time.c | 41 uint64_t ms; in OsalGetTime() local 47 ms = LOS_TickCountGet() * (HDF_KILO_UNIT / LOSCFG_BASE_CORE_TICK_PER_SECOND); in OsalGetTime() 49 time->sec = ms / HDF_KILO_UNIT; in OsalGetTime() 50 time->usec = (ms % HDF_KILO_UNIT) * HDF_KILO_UNIT; in OsalGetTime() 90 void OsalMSleep(uint32_t ms) in OsalMSleep() argument 92 LOS_Msleep(ms); in OsalMSleep()
|
H A D | osal_sem.c | 65 int32_t OsalSemWait(struct OsalSem *sem, uint32_t ms) in OsalSemWait() argument 74 ret = LOS_SemPend((uint32_t)(uintptr_t)sem->realSemaphore, LOS_MS2Tick(ms)); in OsalSemWait()
|
H A D | osal_mutex.c | 98 int32_t OsalMutexTimedLock(struct OsalMutex *mutex, uint32_t ms) in OsalMutexTimedLock() argument 107 ret = LOS_MuxPend((uint32_t)(uintptr_t)mutex->realMutex, LOS_MS2Tick(ms)); in OsalMutexTimedLock()
|
/drivers/hdf_core/adapter/khdf/uniproton/osal/src/ |
H A D | osal_time.c | 42 uint64_t ms; in OsalGetTime() local 48 ms = PRT_TickGetCount() * HDF_KILO_UNIT / OS_TICK_PER_SECOND; in OsalGetTime() 50 time->sec = ms / HDF_KILO_UNIT; in OsalGetTime() 51 time->usec = (ms % HDF_KILO_UNIT) * HDF_KILO_UNIT; in OsalGetTime() 91 void OsalMSleep(uint32_t ms) in OsalMSleep() argument 93 uint32_t ticks = (uint32_t)(((uint64_t)ms * OS_TICK_PER_SECOND) / 1000); in OsalMSleep()
|
H A D | osal_mutex.c | 70 int32_t OsalMutexTimedLock(struct OsalMutex *mutex, uint32_t ms) in OsalMutexTimedLock() argument 73 (void)ms; in OsalMutexTimedLock()
|
H A D | osal_sem.c | 60 int32_t OsalSemWait(struct OsalSem *sem, uint32_t ms) in OsalSemWait() argument 63 uint32_t ticks = (uint32_t)(((uint64_t)ms * OS_TICK_PER_SECOND) / 1000); in OsalSemWait()
|
/drivers/hdf_core/framework/support/posix/src/ |
H A D | osal_mutex.c | 76 int32_t OsalMutexTimedLock(struct OsalMutex *mutex, uint32_t ms) in OsalMutexTimedLock() argument 85 if (ms == HDF_WAIT_FOREVER) { in OsalMutexTimedLock() 95 time.tv_sec += (time_t)ms / HDF_KILO_UNIT; in OsalMutexTimedLock() 96 time.tv_nsec += (time_t)(ms % HDF_KILO_UNIT) * HDF_KILO_UNIT * HDF_KILO_UNIT; in OsalMutexTimedLock() 106 HDF_LOGE("%s time_out time:%u ret:%d", __func__, ms, ret); in OsalMutexTimedLock()
|
H A D | osal_sem.c | 48 int32_t OsalSemWait(struct OsalSem *sem, uint32_t ms) in OsalSemWait() argument 55 if (ms == HDF_WAIT_FOREVER) { in OsalSemWait() 64 time.tv_sec += (time_t)ms / HDF_KILO_UNIT; in OsalSemWait() 65 time.tv_nsec += (time_t)(ms % HDF_KILO_UNIT) * HDF_KILO_UNIT * HDF_KILO_UNIT; in OsalSemWait() 75 HDF_LOGE("%s time_out time:%d ret:%d,errno:%d", __func__, ms, ret, errno); in OsalSemWait()
|
H A D | osal_time.c | 71 void OsalMSleep(uint32_t ms) in OsalMSleep() argument 76 ts.tv_sec = (time_t)ms / HDF_KILO_UNIT; in OsalMSleep() 77 ts.tv_nsec = (time_t)HDF_KILO_UNIT * HDF_KILO_UNIT * ((long)(ms % HDF_KILO_UNIT)); in OsalMSleep() 102 void OsalMDelay(uint32_t ms) in OsalMDelay() argument 104 (void)ms; in OsalMDelay()
|
/drivers/hdf_core/interfaces/inner_api/osal/shared/ |
H A D | osal_time.h | 64 * @param ms Indicates the sleep time, in milliseconds. 68 void OsalMSleep(uint32_t ms); 130 * @param ms Indicates the delay time, in milliseconds. 134 void OsalMDelay(uint32_t ms);
|
H A D | osal_mutex.h | 110 * @param ms Indicates the timeout duration, in milliseconds. 123 int32_t OsalMutexTimedLock(struct OsalMutex *mutex, uint32_t ms);
|
H A D | osal_sem.h | 76 * @param ms Indicates the timeout interval. 89 int32_t OsalSemWait(struct OsalSem *sem, uint32_t ms);
|
/drivers/peripheral/camera/vdi_base/common/utils/watchdog/ |
H A D | watchdog.cpp | 26 void WatchDog::Init(int ms, std::function<void()> executor, bool isKill) in Init() argument 28 timeMs_ = ms; in Init()
|
H A D | watchdog.h | 28 void Init(int ms, std::function<void()> executor, bool isKill = false);
|
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
H A D | osal_time.c | 95 void OsalMDelay(uint32_t ms) in OsalMDelay() argument 97 mdelay(ms); in OsalMDelay()
|
/drivers/hdf_core/framework/include/platform/ |
H A D | rtc_base.h | 50 #define IS_INVALID_MS(ms) ((ms) >= RTC_MAX_MS)
|
/drivers/hdf_core/framework/include/utils/ |
H A D | hdf_workqueue.h | 186 * A delayed work item is added to a work queue after the configured delayed time (ms), 195 bool HdfAddDelayedWork(HdfWorkQueue *queue, HdfWork *work, uint32_t ms);
|
/drivers/peripheral/audio/interfaces/2.0/include/ |
H A D | audio_render.h | 80 * @param ms Indicates the pointer to the latency (in milliseconds) to be obtained. 83 int32_t (*GetLatency)(struct AudioRender *render, uint32_t *ms);
|
/drivers/peripheral/bluetooth/audio/interfaces/include/ |
H A D | audio_render.h | 78 * @param ms Indicates the pointer to the latency (in milliseconds) to be obtained. 81 int32_t (*GetLatency)(struct AudioRender *render, uint32_t *ms);
|
/drivers/peripheral/audio/interfaces/include/ |
H A D | audio_render.h | 78 * @param ms Indicates the pointer to the latency (in milliseconds) to be obtained. 81 int32_t (*GetLatency)(struct AudioRender *render, uint32_t *ms);
|
/drivers/peripheral/display/composer/test/moduletest/ |
H A D | hdi_device_test.h | 59 int32_t WaitVblank(uint32_t ms);
|
/drivers/peripheral/display/composer/test/unittest/ |
H A D | hdi_composer_ut.h | 49 int32_t WaitVblank(uint32_t ms);
|