Searched refs:OT_US_PER_MS (Results 1 – 8 of 8) sorted by relevance
131 uint32_t otPlatAlarmMilliGetNow(void) { return (uint32_t)(platformAlarmGetNow() / OT_US_PER_MS); } in otPlatAlarmMilliGetNow()207 remaining = (int32_t)(sMsAlarm - (uint32_t)(now / OT_US_PER_MS)); in platformAlarmUpdateTimeout()209 remaining *= OT_US_PER_MS; in platformAlarmUpdateTimeout()210 remaining -= (now % OT_US_PER_MS); in platformAlarmUpdateTimeout()
395 uint64_t end = now + kMaxWaitTime * OT_US_PER_MS; in WaitForWritable()748 usleep(static_cast<useconds_t>(kRemoveRcpDelay) * OT_US_PER_MS); in ResetConnection()751 end = otPlatTimeGet() + kResetTimeout * OT_US_PER_MS; in ResetConnection()759 usleep(static_cast<useconds_t>(kOpenFileDelay) * OT_US_PER_MS); in ResetConnection()
61 uint32_t otPlatAlarmMilliGetNow(void) { return (uint32_t)(sNow / OT_US_PER_MS); } in otPlatAlarmMilliGetNow()110 remaining *= OT_US_PER_MS; in platformAlarmGetNext()
45 #define OT_US_PER_MS 1000 ///< Number of microseconds per millisecond macro
161 uint32_t otPlatAlarmMilliGetNow(void) { return (uint32_t)(platformGetNow() / OT_US_PER_MS); } in otPlatAlarmMilliGetNow()236 remaining = ((uint64_t)msRemaining) * OT_US_PER_MS; in platformAlarmUpdateTimeout()
726 tv.tv_usec = (remaining % OT_MS_PER_S) * OT_US_PER_MS; in platformRadioUpdateFdSet()
112 uint64_t start = mNow - (mNow % OT_US_PER_MS); in StartMilliAlarm()113 uint32_t now = (mNow / OT_US_PER_MS); in StartMilliAlarm()117 start += (static_cast<uint64_t>(aDt) + static_cast<int32_t>(aT0 - now)) * OT_US_PER_MS; in StartMilliAlarm()340 …_t otPlatAlarmMilliGetNow(void) { return FakePlatform::CurrentPlatform().GetNow() / OT_US_PER_MS; } in otPlatAlarmMilliGetNow()
68 void GoInMs(uint32_t aTimeoutInMs = 0) { GoInUs(aTimeoutInMs * OT_US_PER_MS); } in GoInMs()