/openthread-3.6.0/third_party/mbedtls/repo/3rdparty/everest/include/everest/kremlib/ |
D | FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.h | 59 extern uint64_t FStar_UInt64_shift_right(uint64_t x0, uint32_t x1); 61 extern uint64_t FStar_UInt64_shift_left(uint64_t x0, uint32_t x1); 75 extern uint32_t FStar_UInt64_n_minus_one; 87 extern Prims_int FStar_UInt32_v(uint32_t x0); 89 extern uint32_t FStar_UInt32_uint_to_t(Prims_int x0); 91 extern uint32_t FStar_UInt32_add(uint32_t x0, uint32_t x1); 93 extern uint32_t FStar_UInt32_add_underspec(uint32_t x0, uint32_t x1); 95 extern uint32_t FStar_UInt32_add_mod(uint32_t x0, uint32_t x1); 97 extern uint32_t FStar_UInt32_sub(uint32_t x0, uint32_t x1); 99 extern uint32_t FStar_UInt32_sub_underspec(uint32_t x0, uint32_t x1); [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/3rdparty/everest/library/ |
D | Hacl_Curve25519.c | 23 extern uint128_t FStar_UInt128_shift_right(uint128_t x0, uint32_t x1); 36 uint64_t b0_ = b0 + (uint64_t)19U * (b4 >> (uint32_t)51U); in Hacl_Bignum_Modulo_carry_top() 43 uint32_t i; in Hacl_Bignum_Fproduct_copy_from_wide_() 44 for (i = (uint32_t)0U; i < (uint32_t)5U; i = i + (uint32_t)1U) in Hacl_Bignum_Fproduct_copy_from_wide_() 54 uint32_t i; in Hacl_Bignum_Fproduct_sum_scalar_multiplication_() 55 for (i = (uint32_t)0U; i < (uint32_t)5U; i = i + (uint32_t)1U) in Hacl_Bignum_Fproduct_sum_scalar_multiplication_() 65 uint32_t i; in Hacl_Bignum_Fproduct_carry_wide_() 66 for (i = (uint32_t)0U; i < (uint32_t)4U; i = i + (uint32_t)1U) in Hacl_Bignum_Fproduct_carry_wide_() 68 uint32_t ctr = i; in Hacl_Bignum_Fproduct_carry_wide_() 70 uint128_t tctrp1 = tmp[ctr + (uint32_t)1U]; in Hacl_Bignum_Fproduct_carry_wide_() [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/3rdparty/everest/library/legacy/ |
D | Hacl_Curve25519.c | 26 extern FStar_UInt128_uint128 FStar_UInt128_shift_right(FStar_UInt128_uint128 x0, uint32_t x1); 39 uint64_t b0_ = b0 + (uint64_t)19U * (b4 >> (uint32_t)51U); in Hacl_Bignum_Modulo_carry_top() 47 uint32_t i; in Hacl_Bignum_Fproduct_copy_from_wide_() 48 for (i = (uint32_t)0U; i < (uint32_t)5U; i = i + (uint32_t)1U) in Hacl_Bignum_Fproduct_copy_from_wide_() 62 uint32_t i; in Hacl_Bignum_Fproduct_sum_scalar_multiplication_() 63 for (i = (uint32_t)0U; i < (uint32_t)5U; i = i + (uint32_t)1U) in Hacl_Bignum_Fproduct_sum_scalar_multiplication_() 73 uint32_t i; in Hacl_Bignum_Fproduct_carry_wide_() 74 for (i = (uint32_t)0U; i < (uint32_t)4U; i = i + (uint32_t)1U) in Hacl_Bignum_Fproduct_carry_wide_() 76 uint32_t ctr = i; in Hacl_Bignum_Fproduct_carry_wide_() 78 FStar_UInt128_uint128 tctrp1 = tmp[ctr + (uint32_t)1U]; in Hacl_Bignum_Fproduct_carry_wide_() [all …]
|
/openthread-3.6.0/src/core/common/ |
D | time.hpp | 64 …static constexpr uint32_t kOneSecondInMsec = 1000u; ///< One second interval in ms… 65 …static constexpr uint32_t kOneMinuteInMsec = kOneSecondInMsec * 60; ///< One minute interval in ms… 66 …static constexpr uint32_t kOneHourInMsec = kOneMinuteInMsec * 60; ///< One hour interval in msec. 67 … static constexpr uint32_t kOneDayInMsec = kOneHourInMsec * 24; ///< One day interval in msec. 68 …static constexpr uint32_t kOneMsecInUsec = 1000u; ///< One millisecond in micros… 74 static const uint32_t kMaxDuration = ~static_cast<uint32_t>(0UL); 88 explicit Time(uint32_t aValue) { SetValue(aValue); } in Time() 96 uint32_t GetValue(void) const { return mValue; } in GetValue() 104 void SetValue(uint32_t aValue) { mValue = aValue; } in SetValue() 119 uint32_t operator-(const Time &aOther) const { return mValue - aOther.mValue; } in operator -() [all …]
|
D | encoding.hpp | 54 inline uint32_t Swap32(uint32_t v) in Swap32() 56 …return ((v & static_cast<uint32_t>(0x000000ffUL)) << 24) | ((v & static_cast<uint32_t>(0x0000ff00U… in Swap32() 57 …((v & static_cast<uint32_t>(0x00ff0000UL)) >> 8) | ((v & static_cast<uint32_t>(0xff000000UL)) >> 2… in Swap32() 72 inline uint32_t Reverse32(uint32_t v) in Reverse32() 88 inline uint32_t HostSwap32(uint32_t v) { return v; } in HostSwap32() 94 inline uint32_t HostSwap32(uint32_t v) { return Swap32(v); } 113 template <> inline uint32_t HostSwap(uint32_t aValue) { return HostSwap32(aValue); } in HostSwap() 134 inline uint32_t ReadUint32(const uint8_t *aBuffer) in ReadUint32() 136 return ((static_cast<uint32_t>(aBuffer[0]) << 24) | (static_cast<uint32_t>(aBuffer[1]) << 16) | in ReadUint32() 137 (static_cast<uint32_t>(aBuffer[2]) << 8) | (static_cast<uint32_t>(aBuffer[3]) << 0)); in ReadUint32() [all …]
|
D | trickle_timer.hpp | 120 uint32_t GetIntervalMin(void) const { return mIntervalMin; } in GetIntervalMin() 131 void SetIntervalMin(uint32_t aIntervalMin); 139 uint32_t GetIntervalMax(void) const { return mIntervalMax; } in GetIntervalMax() 150 void SetIntervalMax(uint32_t aIntervalMax); 164 uint32_t aIntervalMin, 165 uint32_t aIntervalMax, 213 uint32_t mIntervalMin; // Minimum interval (aka `Imin`). 214 uint32_t mIntervalMax; // Maximum interval (aka `Imax`). 215 uint32_t mInterval; // Current interval (aka `I`). 216 uint32_t mTimeInInterval; // Time in interval (aka `t`).
|
D | random.hpp | 76 static uint32_t NonCryptoGetUint32(void); 95 void Init(uint32_t aSeed); 96 uint32_t GetNext(void); 99 uint32_t mState; 114 inline uint32_t GetUint32(void) { return Manager::NonCryptoGetUint32(); } in GetUint32() 167 uint32_t GetUint32InRange(uint32_t aMin, uint32_t aMax); 202 uint32_t AddJitter(uint32_t aValue, uint16_t aJitter);
|
/openthread-3.6.0/include/openthread/ |
D | link.h | 140 uint32_t mTxTotal; 146 uint32_t mTxUnicast; 152 uint32_t mTxBroadcast; 158 uint32_t mTxAckRequested; 164 uint32_t mTxAcked; 170 uint32_t mTxNoAckRequested; 176 uint32_t mTxData; 182 uint32_t mTxDataPoll; 188 uint32_t mTxBeacon; 194 uint32_t mTxBeaconRequest; [all …]
|
D | srp_server.h | 74 typedef uint32_t otSrpServerServiceUpdateId; 106 uint32_t mMinTtl; ///< The minimum TTL in seconds. 107 uint32_t mMaxTtl; ///< The maximum TTL in seconds. 116 uint32_t mMinLease; ///< The minimum LEASE interval in seconds. 117 uint32_t mMaxLease; ///< The maximum LEASE interval in seconds. 118 uint32_t mMinKeyLease; ///< The minimum KEY-LEASE interval in seconds. 119 uint32_t mMaxKeyLease; ///< The maximum KEY-LEASE interval in seconds. 128 uint32_t mLease; ///< The lease time of a host/service in milliseconds. 129 uint32_t mKeyLease; ///< The key lease time of a host/service in milliseconds. 130 uint32_t mRemainingLease; ///< The remaining lease time of the host/service in milliseconds. [all …]
|
D | dnssd_server.h | 124 uint32_t mTtl; ///< Service TTL (in seconds). 135 uint32_t mTtl; ///< Service TTL (in seconds). 157 uint32_t mQueries; ///< The number of queries forwarded. 158 uint32_t mResponses; ///< The number of responses forwarded. 159 uint32_t mFailures; ///< The number of upstream DNS failures. 168 uint32_t mSuccessResponse; ///< The number of successful responses. 169 uint32_t mServerFailureResponse; ///< The number of server failure responses. 170 uint32_t mFormatErrorResponse; ///< The number of format error responses. 171 uint32_t mNameErrorResponse; ///< The number of name error responses. 172 uint32_t mNotImplementedResponse; ///< The number of 'not implemented' responses. [all …]
|
D | thread.h | 93 uint32_t mAge; ///< Seconds since last heard 94 …uint32_t mConnectionTime; ///< Seconds since link establishment (requires `CONFIG_UPTIME… 96 uint32_t mLinkFrameCounter; ///< Link Frame Counter 97 uint32_t mMleFrameCounter; ///< MLE Frame Counter 121 uint32_t mPartitionId; ///< Partition ID 160 uint32_t mTxSuccess; ///< The number of IPv6 packets successfully transmitted. 161 uint32_t mRxSuccess; ///< The number of IPv6 packets successfully received. 162 uint32_t mTxFailure; ///< The number of IPv6 packets failed to transmit. 163 uint32_t mRxFailure; ///< The number of IPv6 packets failed to receive. 286 uint32_t aScanChannels, [all …]
|
/openthread-3.6.0/src/core/net/ |
D | sntp_client.hpp | 92 uint32_t GetUnixEra(void) const { return mUnixEra; } in GetUnixEra() 100 void SetUnixEra(uint32_t aUnixEra) { mUnixEra = aUnixEra; } in SetUnixEra() 117 …static constexpr uint32_t kTimeAt1970 = 2208988800UL; // num seconds between 1st Jan 1900 and 1st … 119 static constexpr uint32_t kResponseTimeout = OPENTHREAD_CONFIG_SNTP_CLIENT_RESPONSE_TIMEOUT; 154 uint32_t GetRootDelay(void) const { return BigEndian::HostSwap32(mRootDelay); } in GetRootDelay() 155 … void SetRootDelay(uint32_t aRootDelay) { mRootDelay = BigEndian::HostSwap32(aRootDelay); } in SetRootDelay() 157 uint32_t GetRootDispersion(void) const { return BigEndian::HostSwap32(mRootDispersion); } in GetRootDispersion() 158 …void SetRootDispersion(uint32_t aRootDispersion) { mRootDispersion = BigEndian::HostSwap32(aRootDi… in SetRootDispersion() 160 uint32_t GetReferenceId(void) const { return BigEndian::HostSwap32(mReferenceId); } in GetReferenceId() 161 …void SetReferenceId(uint32_t aReferenceId) { mReferenceId = BigEndian::HostSwap32(aReferenceId… in SetReferenceId() [all …]
|
D | dns_dso.hpp | 85 static constexpr uint32_t kInfiniteTimeout = 0xffffffff; 94 static constexpr uint32_t kDefaultTimeout = TimeMilli::SecToMsec(15); 102 static constexpr uint32_t kMinKeepAliveInterval = TimeMilli::SecToMsec(10); 108 static constexpr uint32_t kResponseTimeout = OPENTHREAD_CONFIG_DNS_DSO_RESPONSE_TIMEOUT; 114 static constexpr uint32_t kConnectingTimeout = OPENTHREAD_CONFIG_DNS_DSO_CONNECTING_TIMEOUT; 123 static constexpr uint32_t kMinServerInactivityWaitTime = TimeMilli::SecToMsec(5); 175 uint32_t GetSize(void) const { return sizeof(Tlv) + static_cast<uint32_t>(GetLength()); } in GetSize() 415 uint32_t aInactivityTimeout = kDefaultTimeout, 416 uint32_t aKeepAliveInterval = kDefaultTimeout); 550 uint32_t aResponseTimeout = kResponseTimeout); [all …]
|
D | srp_client.hpp | 286 uint32_t GetLease(void) const { return (mLease & kLeaseMask); } in GetLease() 294 uint32_t GetKeyLease(void) const { return mKeyLease; } in GetKeyLease() 303 static constexpr uint32_t kAppendedInMsgFlag = (1U << 31); 304 static constexpr uint32_t kLeaseMask = ~kAppendedInMsgFlag; 478 uint32_t GetTtl(void) const { return mTtl; } in GetTtl() 490 void SetTtl(uint32_t aTtl) { mTtl = aTtl; } in SetTtl() 501 uint32_t GetLeaseInterval(void) const { return mDefaultLease; } in GetLeaseInterval() 512 …void SetLeaseInterval(uint32_t aInterval) { mDefaultLease = DetermineLeaseInterval(aInterval, kDef… in SetLeaseInterval() 520 uint32_t GetKeyLeaseInterval(void) const { return mDefaultKeyLease; } in GetKeyLeaseInterval() 532 void SetKeyLeaseInterval(uint32_t aInterval) in SetKeyLeaseInterval() [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/3rdparty/everest/library/kremlib/ |
D | FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.c | 18 uint64_t xnx = x_or_minus_x >> (uint32_t)63U; in FStar_UInt64_eq_mask() 31 uint64_t x_xor_q_ = x_xor_q >> (uint32_t)63U; in FStar_UInt64_gte_mask() 35 uint32_t FStar_UInt32_eq_mask(uint32_t a, uint32_t b) in FStar_UInt32_eq_mask() 37 uint32_t x = a ^ b; in FStar_UInt32_eq_mask() 38 uint32_t minus_x = ~x + (uint32_t)1U; in FStar_UInt32_eq_mask() 39 uint32_t x_or_minus_x = x | minus_x; in FStar_UInt32_eq_mask() 40 uint32_t xnx = x_or_minus_x >> (uint32_t)31U; in FStar_UInt32_eq_mask() 41 return xnx - (uint32_t)1U; in FStar_UInt32_eq_mask() 44 uint32_t FStar_UInt32_gte_mask(uint32_t a, uint32_t b) in FStar_UInt32_gte_mask() 46 uint32_t x = a; in FStar_UInt32_gte_mask() [all …]
|
/openthread-3.6.0/src/core/thread/ |
D | key_manager.hpp | 319 uint32_t GetCurrentKeySequence(void) const { return mKeySequence; } in GetCurrentKeySequence() 327 void SetCurrentKeySequence(uint32_t aKeySequence); 346 const Mac::KeyMaterial &GetTemporaryTrelMacKey(uint32_t aKeySequence); 365 const Mle::KeyMaterial &GetTemporaryMleKey(uint32_t aKeySequence); 374 uint32_t Get154MacFrameCounter(void) const { return mMacFrameCounters.Get154(); } in Get154MacFrameCounter() 384 uint32_t GetTrelMacFrameCounter(void) const { return mMacFrameCounters.GetTrel(); } in GetTrelMacFrameCounter() 399 uint32_t GetMaximumMacFrameCounter(void) const { return mMacFrameCounters.GetMaximum(); } in GetMaximumMacFrameCounter() 409 void SetAllMacFrameCounters(uint32_t aFrameCounter, bool aSetIfLarger); 417 …void SetStoredMacFrameCounter(uint32_t aStoredMacFrameCounter) { mStoredMacFrameCounter = aStoredM… in SetStoredMacFrameCounter() 425 uint32_t GetMleFrameCounter(void) const { return mMleFrameCounter; } in GetMleFrameCounter() [all …]
|
D | network_diagnostic_tlvs.hpp | 164 typedef UintTlvInfo<Tlv::kTimeout, uint32_t> TimeoutTlv; 200 typedef UintTlvInfo<Tlv::kMaxChildTimeout, uint32_t> MaxChildTimeoutTlv; 362 uint32_t GetIfInUnknownProtos(void) const { return BigEndian::HostSwap32(mIfInUnknownProtos); } in GetIfInUnknownProtos() 370 void SetIfInUnknownProtos(const uint32_t aIfInUnknownProtos) in SetIfInUnknownProtos() 381 uint32_t GetIfInErrors(void) const { return BigEndian::HostSwap32(mIfInErrors); } in GetIfInErrors() 389 …void SetIfInErrors(const uint32_t aIfInErrors) { mIfInErrors = BigEndian::HostSwap32(aIfInErrors);… in SetIfInErrors() 397 uint32_t GetIfOutErrors(void) const { return BigEndian::HostSwap32(mIfOutErrors); } in GetIfOutErrors() 405 …void SetIfOutErrors(const uint32_t aIfOutErrors) { mIfOutErrors = BigEndian::HostSwap32(aIfOutErro… in SetIfOutErrors() 413 uint32_t GetIfInUcastPkts(void) const { return BigEndian::HostSwap32(mIfInUcastPkts); } in GetIfInUcastPkts() 421 …void SetIfInUcastPkts(const uint32_t aIfInUcastPkts) { mIfInUcastPkts = BigEndian::HostSwap32(aIfI… in SetIfInUcastPkts() [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/library/ |
D | poly1305.c | 60 static uint64_t mul64( uint32_t a, uint32_t b ) in mul64() 69 const uint32_t lo = (uint32_t) al * bl; in mul64() 70 const uint64_t me = (uint64_t)( (uint32_t) ah * bl ) + (uint32_t) al * bh; in mul64() 71 const uint32_t hi = (uint32_t) ah * bh; in mul64() 76 static inline uint64_t mul64( uint32_t a, uint32_t b ) in mul64() 97 uint32_t needs_padding ) in poly1305_process() 100 uint32_t acc0, acc1, acc2, acc3, acc4; in poly1305_process() 101 uint32_t r0, r1, r2, r3; in poly1305_process() 102 uint32_t rs1, rs2, rs3; in poly1305_process() 135 acc0 = (uint32_t) d0; in poly1305_process() [all …]
|
D | aria.c | 72 static inline uint32_t aria_p1( uint32_t x ) in aria_p1() 74 uint32_t r; in aria_p1() 81 static inline uint32_t aria_p1( uint32_t x ) in aria_p1() 83 uint32_t r; in aria_p1() 123 static inline uint32_t aria_p3( uint32_t x ) in aria_p3() 125 uint32_t r; in aria_p3() 132 static inline uint32_t aria_p3( uint32_t x ) in aria_p3() 134 uint32_t r; in aria_p3() 143 static inline uint32_t aria_p3( uint32_t x ) in aria_p3() 178 static inline void aria_a( uint32_t *a, uint32_t *b, in aria_a() [all …]
|
/openthread-3.6.0/examples/platforms/simulation/ |
D | alarm.c | 71 static uint32_t sMsAlarm = 0; 74 static uint32_t sUsAlarm = 0; 76 static uint32_t sSpeedUpFactor = 1; 89 static bool isExpired(uint32_t aTime, uint32_t aNow) in isExpired() 93 uint32_t diff = aNow - aTime; in isExpired() 98 static uint32_t calculateDuration(uint32_t aTime, uint32_t aNow) in calculateDuration() 106 void platformAlarmInit(uint32_t aSpeedUpFactor) in platformAlarmInit() 165 uint32_t otPlatAlarmMilliGetNow(void) { return (uint32_t)(platformGetNow() / US_PER_MS); } in otPlatAlarmMilliGetNow() 167 void otPlatAlarmMilliStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt) in otPlatAlarmMilliStartAt() 182 uint32_t otPlatAlarmMicroGetNow(void) { return (uint32_t)platformGetNow(); } in otPlatAlarmMicroGetNow() [all …]
|
/openthread-3.6.0/include/openthread/platform/ |
D | radio.h | 282 uint32_t mTxDelayBaseTime; 292 uint32_t mTxDelay; 357 …uint32_t mAckFrameCounter; ///< ACK security frame counter (applicable when `mAckedWithSecEnhAck` … 404 uint32_t mNumGrantGlitch; ///< Number of grant glitches. 405 uint32_t mNumTxRequest; ///< Number of tx requests. 406 uint32_t mNumTxGrantImmediate; ///< Number of tx requests while grant was active. 407 uint32_t mNumTxGrantWait; ///< Number of tx requests while grant was inactive. 408 …uint32_t mNumTxGrantWaitActivated; ///< Number of tx requests while grant was inactive that were u… 409 …uint32_t mNumTxGrantWaitTimeout; ///< Number of tx requests while grant was inactive that timed … 410 …uint32_t mNumTxGrantDeactivatedDuringRequest; ///< Number of tx that were in progress when grant w… [all …]
|
/openthread-3.6.0/src/core/mac/ |
D | data_poll_sender.hpp | 121 Error SetExternalPollPeriod(uint32_t aPeriod); 129 uint32_t GetExternalPollPeriod(void) const { return mExternalPollPeriod; } in GetExternalPollPeriod() 229 uint32_t GetKeepAlivePollPeriod(void) const; 246 uint32_t GetDefaultPollPeriod(void) const; 270 static constexpr uint32_t kAttachDataPollPeriod = OPENTHREAD_CONFIG_MAC_ATTACH_DATA_POLL_PERIOD; 271 static constexpr uint32_t kRetxPollPeriod = OPENTHREAD_CONFIG_MAC_RETX_POLL_PERIOD; 272 static constexpr uint32_t kFastPollPeriod = 188; 273 static constexpr uint32_t kMinPollPeriod = OPENTHREAD_CONFIG_MAC_MINIMUM_POLL_PERIOD; 274 static constexpr uint32_t kMaxExternalPeriod = ((1 << 26) - 1); // ~18.6 hours. 277 uint32_t CalculatePollPeriod(void) const; [all …]
|
/openthread-3.6.0/src/core/utils/ |
D | channel_manager.hpp | 185 Error SetAutoChannelSelectionInterval(uint32_t aInterval); 193 uint32_t GetAutoChannelSelectionInterval(void) const { return mAutoSelectInterval; } in GetAutoChannelSelectionInterval() 201 uint32_t GetSupportedChannels(void) const { return mSupportedChannelMask.GetMask(); } in GetSupportedChannels() 209 void SetSupportedChannels(uint32_t aChannelMask); 217 uint32_t GetFavoredChannels(void) const { return mFavoredChannelMask.GetMask(); } in GetFavoredChannels() 225 void SetFavoredChannels(uint32_t aChannelMask); 245 static constexpr uint32_t kPendingDatasetTxRetryInterval = 20000; 248 static constexpr uint32_t kRequestStartJitterInterval = 10000; 252 static constexpr uint32_t kMinChannelMonitorSampleCount = 263 static constexpr uint32_t kDefaultAutoSelectInterval = [all …]
|
/openthread-3.6.0/examples/platforms/simulation/virtual_time/ |
D | alarm-sim.c | 46 static uint32_t sMsAlarm = 0; 49 static uint32_t sUsAlarm = 0; 51 void platformAlarmInit(uint32_t aSpeedUpFactor) in platformAlarmInit() 62 uint32_t otPlatAlarmMilliGetNow(void) { return (uint32_t)(sNow / US_PER_MS); } in otPlatAlarmMilliGetNow() 64 void otPlatAlarmMilliStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt) in otPlatAlarmMilliStartAt() 79 uint32_t otPlatAlarmMicroGetNow(void) { return (uint32_t)sNow; } in otPlatAlarmMicroGetNow() 81 void otPlatAlarmMicroStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt) in otPlatAlarmMicroStartAt()
|
/openthread-3.6.0/src/posix/platform/ |
D | alarm.cpp | 44 static uint32_t sMsAlarm = 0; 48 static uint32_t sUsAlarm = 0; 51 static uint32_t sSpeedUpFactor = 1; 92 void platformAlarmInit(uint32_t aSpeedUpFactor, int aRealTimeSignal) in platformAlarmInit() 131 uint32_t otPlatAlarmMilliGetNow(void) { return (uint32_t)(platformAlarmGetNow() / US_PER_MS); } in otPlatAlarmMilliGetNow() 133 void otPlatAlarmMilliStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt) in otPlatAlarmMilliStartAt() 149 uint32_t otPlatAlarmMicroGetNow(void) { return static_cast<uint32_t>(platformAlarmGetNow()); } in otPlatAlarmMicroGetNow() 151 void otPlatAlarmMicroStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt) in otPlatAlarmMicroStartAt() 162 uint32_t diff = sUsAlarm - otPlatAlarmMicroGetNow(); in otPlatAlarmMicroStartAt() 207 remaining = (int32_t)(sMsAlarm - (uint32_t)(now / US_PER_MS)); in platformAlarmUpdateTimeout() [all …]
|