Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 25 of 63) sorted by relevance

123

/drivers/hdf_core/adapter/khdf/liteos/osal/src/
Dosal_time.c42 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()
Dosal_sem.c61 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()
Dosal_mutex.c106 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/
Dosal_time.c41 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()
Dosal_sem.c65 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()
Dosal_mutex.c98 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/
Dosal_time.c42 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()
Dosal_mutex.c70 int32_t OsalMutexTimedLock(struct OsalMutex *mutex, uint32_t ms) in OsalMutexTimedLock() argument
73 (void)ms; in OsalMutexTimedLock()
Dosal_sem.c60 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/
Dosal_sem.c48 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()
Dosal_time.c65 void OsalMSleep(uint32_t ms) in OsalMSleep() argument
70 ts.tv_sec = (time_t)ms / HDF_KILO_UNIT; in OsalMSleep()
71 ts.tv_nsec = (time_t)HDF_KILO_UNIT * HDF_KILO_UNIT * ((long)(ms % HDF_KILO_UNIT)); in OsalMSleep()
96 void OsalMDelay(uint32_t ms) in OsalMDelay() argument
98 (void)ms; in OsalMDelay()
Dosal_mutex.c76 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()
/drivers/hdf_core/interfaces/inner_api/osal/shared/
Dosal_time.h68 void OsalMSleep(uint32_t ms);
134 void OsalMDelay(uint32_t ms);
Dosal_sem.h89 int32_t OsalSemWait(struct OsalSem *sem, uint32_t ms);
Dosal_mutex.h123 int32_t OsalMutexTimedLock(struct OsalMutex *mutex, uint32_t ms);
/drivers/peripheral/camera/vdi_base/common/utils/watchdog/
Dwatchdog.cpp26 void WatchDog::Init(int ms, std::function<void()> executor, bool isKill) in Init() argument
28 timeMs_ = ms; in Init()
Dwatchdog.h28 void Init(int ms, std::function<void()> executor, bool isKill = false);
/drivers/hdf_core/framework/include/platform/
Drtc_base.h50 #define IS_INVALID_MS(ms) ((ms) >= RTC_MAX_MS) argument
/drivers/hdf_core/adapter/khdf/linux/osal/src/
Dosal_time.c95 void OsalMDelay(uint32_t ms) in OsalMDelay() argument
97 mdelay(ms); in OsalMDelay()
/drivers/peripheral/display/composer/test/unittest/
Dhdi_composer_ut.h47 int32_t WaitVblank(uint32_t ms);
/drivers/hdf_core/framework/include/utils/
Dhdf_workqueue.h195 bool HdfAddDelayedWork(HdfWorkQueue *queue, HdfWork *work, uint32_t ms);
/drivers/hdf_core/framework/tools/hcs-view/docs/
DDEVELOP_zh.md64 …n: https://aka.ms/vscode-bundle-extension . You should also exclude unnecessary files by adding th…
/drivers/peripheral/audio/interfaces/include/
Daudio_render.h81 int32_t (*GetLatency)(struct AudioRender *render, uint32_t *ms);
/drivers/peripheral/audio/hdi_service/primary_impl/vendor_include/include/
Di_audio_render.h81 int32_t (*GetLatency)(struct AudioHwiRender *render, uint32_t *ms);
/drivers/peripheral/bluetooth/audio/interfaces/include/
Daudio_render.h81 int32_t (*GetLatency)(struct AudioRender *render, uint32_t *ms);

123