/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
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()
|
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()
|
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/ |
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()
|
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()
|
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/ |
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()
|
D | osal_mutex.c | 70 int32_t OsalMutexTimedLock(struct OsalMutex *mutex, uint32_t ms) in OsalMutexTimedLock() argument 73 (void)ms; in OsalMutexTimedLock()
|
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/ |
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()
|
D | osal_time.c | 65 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()
|
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()
|
/drivers/hdf_core/interfaces/inner_api/osal/shared/ |
D | osal_time.h | 68 void OsalMSleep(uint32_t ms); 134 void OsalMDelay(uint32_t ms);
|
D | osal_sem.h | 89 int32_t OsalSemWait(struct OsalSem *sem, uint32_t ms);
|
D | osal_mutex.h | 123 int32_t OsalMutexTimedLock(struct OsalMutex *mutex, uint32_t ms);
|
/drivers/peripheral/camera/vdi_base/common/utils/watchdog/ |
D | watchdog.cpp | 26 void WatchDog::Init(int ms, std::function<void()> executor, bool isKill) in Init() argument 28 timeMs_ = ms; in Init()
|
D | watchdog.h | 28 void Init(int ms, std::function<void()> executor, bool isKill = false);
|
/drivers/hdf_core/framework/include/platform/ |
D | rtc_base.h | 50 #define IS_INVALID_MS(ms) ((ms) >= RTC_MAX_MS) argument
|
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
D | osal_time.c | 95 void OsalMDelay(uint32_t ms) in OsalMDelay() argument 97 mdelay(ms); in OsalMDelay()
|
/drivers/peripheral/display/composer/test/unittest/ |
D | hdi_composer_ut.h | 47 int32_t WaitVblank(uint32_t ms);
|
/drivers/hdf_core/framework/include/utils/ |
D | hdf_workqueue.h | 195 bool HdfAddDelayedWork(HdfWorkQueue *queue, HdfWork *work, uint32_t ms);
|
/drivers/hdf_core/framework/tools/hcs-view/docs/ |
D | DEVELOP_zh.md | 64 …n: https://aka.ms/vscode-bundle-extension . You should also exclude unnecessary files by adding th…
|
/drivers/peripheral/audio/interfaces/include/ |
D | audio_render.h | 81 int32_t (*GetLatency)(struct AudioRender *render, uint32_t *ms);
|
/drivers/peripheral/audio/hdi_service/primary_impl/vendor_include/include/ |
D | i_audio_render.h | 81 int32_t (*GetLatency)(struct AudioHwiRender *render, uint32_t *ms);
|
/drivers/peripheral/bluetooth/audio/interfaces/include/ |
D | audio_render.h | 81 int32_t (*GetLatency)(struct AudioRender *render, uint32_t *ms);
|