Home
last modified time | relevance | path

Searched refs:int16_t (Results 1 – 25 of 46) sorted by relevance

12

/openthread-latest/src/core/utils/
Dpower_calibration.hpp76 int16_t aActualPower,
94 Error SetChannelTargetPower(uint8_t aChannel, int16_t aTargetPower);
117 int16_t *aTargetPower,
118 int16_t *aActualPower,
134 …void Init(int16_t aActualPower, const uint8_t *aRawPowerSetting, uint16_t aRawPowerSettingLengt…
136 int16_t GetActualPower(void) const { return mActualPower; } in GetActualPower()
137 bool Matches(int16_t aActualPower) const { return aActualPower == mActualPower; } in Matches()
140 int16_t mActualPower;
152 static constexpr uint16_t kInvalidPower = NumericLimits<int16_t>::kMax;
163 int16_t mTargetPowerTable[kNumChannels];
Dpower_calibration.cpp44 for (int16_t &targetPower : mTargetPowerTable) in PowerCalibration()
50 void PowerCalibration::CalibratedPowerEntry::Init(int16_t aActualPower, in Init()
79 int16_t aActualPower, in AddCalibratedPower()
117 Error PowerCalibration::SetChannelTargetPower(uint8_t aChannel, int16_t aTargetPower) in SetChannelTargetPower()
134 int16_t *aTargetPower, in GetPowerSettings()
135 int16_t *aActualPower, in GetPowerSettings()
142 int16_t foundPower = kInvalidPower; in GetPowerSettings()
143 int16_t targetPower; in GetPowerSettings()
144 int16_t actualPower; in GetPowerSettings()
145 int16_t minPower = NumericLimits<int16_t>::kMax; in GetPowerSettings()
[all …]
Dparse_cmdline.hpp136 otError ParseAsInt16(const char *aString, int16_t &aInt16);
428 …otError ParseAsInt16(int16_t &aInt16) const { return CmdLineParser::ParseAsInt16(mString, aInt16);… in ParseAsInt16()
630 template <> inline otError Arg::ParseAs(int16_t &aValue) const { return ParseAsInt16(aValue); } in ParseAs()
Dparse_cmdline.cpp167 Error ParseAsInt16(const char *aString, int16_t &aInt16) { return ParseInt<int16_t>(aString, aInt16… in ParseAsInt16()
/openthread-latest/examples/platforms/utils/
Dsoft_source_match_table.c60 int16_t utilsSoftSrcMatchShortFindEntry(uint16_t aShortAddress) in utilsSoftSrcMatchShortFindEntry()
62 int16_t entry = -1; in utilsSoftSrcMatchShortFindEntry()
65 for (int16_t i = 0; i < RADIO_CONFIG_SRC_MATCH_SHORT_ENTRY_NUM; i++) in utilsSoftSrcMatchShortFindEntry()
77 static int16_t findSrcMatchShortAvailEntry(void) in findSrcMatchShortAvailEntry()
79 int16_t entry = -1; in findSrcMatchShortAvailEntry()
81 for (int16_t i = 0; i < RADIO_CONFIG_SRC_MATCH_SHORT_ENTRY_NUM; i++) in findSrcMatchShortAvailEntry()
112 int16_t entry = -1; in otPlatRadioAddSrcMatchShortEntry()
130 int16_t entry = -1; in otPlatRadioClearSrcMatchShortEntry()
162 int16_t utilsSoftSrcMatchExtFindEntry(const otExtAddress *aExtAddress) in utilsSoftSrcMatchExtFindEntry()
164 int16_t entry = -1; in utilsSoftSrcMatchExtFindEntry()
[all …]
Dsoft_source_match_table.h61 int16_t utilsSoftSrcMatchShortFindEntry(uint16_t aShortAddress);
65 int16_t utilsSoftSrcMatchExtFindEntry(const otExtAddress *aExtAddress);
/openthread-latest/src/core/thread/
Dradio_selector.hpp175 …static constexpr int16_t kPreferenceChangeOnTxError = -35; // Change on a tx error on …
176 …static constexpr int16_t kPreferenceChangeOnTxSuccess = 25; // Change on tx success on …
177 …static constexpr int16_t kPreferenceChangeOnDeferredAckSuccess = 25; // Change on deferred ack s…
178 …static constexpr int16_t kPreferenceChangeOnDeferredAckTimeout = -100; // Change on deferred ack t…
179 …static constexpr int16_t kPreferenceChangeOnRx = 15; // Change on new (secure) r…
180 …static constexpr int16_t kPreferenceChangeOnRxDuplicate = 15; // Change on new (secure) d…
191 …LogLevel UpdatePreference(Neighbor &aNeighbor, Mac::RadioType aRadioType, int16_t aDifferenc…
Dradio_selector.cpp81 LogLevel RadioSelector::UpdatePreference(Neighbor &aNeighbor, Mac::RadioType aRadioType, int16_t aD… in UpdatePreference()
84 int16_t preference = static_cast<int16_t>(old); in UpdatePreference()
/openthread-latest/src/posix/platform/
Dpower.hpp128 int16_t GetTargetPower(void) const { return mTargetPower; } in GetTargetPower()
140 int16_t mTargetPower;
230 int16_t GetActualPower(void) const { return mActualPower; } in GetActualPower()
237 void SetActualPower(int16_t aActualPower) { mActualPower = aActualPower; } in SetActualPower()
263 int16_t mActualPower;
Dradio.cpp722 int16_t *aTargetPower, in otPlatDiagRadioGetPowerSettings()
723 int16_t *aActualPower, in otPlatDiagRadioGetPowerSettings()
751 *aTargetPower = static_cast<int16_t>(targetPower); in otPlatDiagRadioGetPowerSettings()
752 *aActualPower = static_cast<int16_t>(actualPower); in otPlatDiagRadioGetPowerSettings()
975 int16_t aActualPower, in otPlatRadioAddCalibratedPower()
989 otError otPlatRadioSetChannelTargetPower(otInstance *aInstance, uint8_t aChannel, int16_t aTargetPo… in otPlatRadioSetChannelTargetPower()
/openthread-latest/src/core/common/
Dnumeric_limits.hpp78 template <> struct NumericLimits<int16_t>
80 static constexpr int16_t kMin = INT16_MIN;
81 static constexpr int16_t kMax = INT16_MAX;
Dnum_utils.hpp143 …static_assert(TypeTraits::IsSame<IntType, int16_t>::kValue || TypeTraits::IsSame<IntType, int32_t>… in ClampToInt8()
/openthread-latest/third_party/mbedtls/repo/3rdparty/everest/include/everest/kremlin/internal/
Ddebug.h30 int16_t : "0x%08" PRIx16, \
41 int16_t : X, \
Dtypes.h20 typedef int16_t FStar_Int16_t, FStar_Int16_t_;
/openthread-latest/third_party/mbedtls/repo/library/
Dpsa_util_internal.h44 int16_t psa_status;
48 int16_t mbedtls_error;
/openthread-latest/include/openthread/platform/
Ddiag.h285 int16_t *aTargetPower,
286 int16_t *aActualPower,
Dradio.h1337 int16_t aActualPower,
1376 otError otPlatRadioSetChannelTargetPower(otInstance *aInstance, uint8_t aChannel, int16_t aTargetPo…
/openthread-latest/src/lib/spinel/
Dradio_spinel.hpp980 int16_t aActualPower,
1006 otError SetChannelTargetPower(uint8_t aChannel, int16_t aTargetPower);
1273 int16_t mRcpFailureCount; ///< Count of consecutive RCP failures.
1285 int16_t mSrcMatchShortEntryCount;
1287 int16_t mSrcMatchExtEntryCount;
Dspinel_decoder.cpp133 otError Decoder::ReadInt16(int16_t &aInt16) in ReadInt16()
139 aInt16 = static_cast<int16_t>(u16); in ReadInt16()
/openthread-latest/tests/unit/
Dtest_link_quality.cpp75 …VerifyOrQuit(aAverage == -static_cast<int16_t>((aRawValue + (kRawAverageMultiple / 2)) >> kRawAver… in VerifyRawRssValue()
128 …VerifyOrQuit(average == -static_cast<int16_t>((rawValue + (kRawAverageMultiple / 2)) >> kRawAverag… in VerifyRawRssValue()
152 int16_t diff; in TestRssAveraging()
155 int16_t sum; in TestRssAveraging()
Dtest_cmd_line_parser.cpp207 TestCase<int16_t> kInt16TestCases[] = { in TestParsingInts()
242 VerifyParser<int16_t, ParseAsInt16>(kInt16TestCases, "ParseAsInt16", "%d"); in TestParsingInts()
/openthread-latest/src/core/diags/
Dfactory_diags.hpp181 int16_t mTargetPower;
182 int16_t mActualPower;
/openthread-latest/src/lib/url/
Durl.cpp179 otError Url::ParseInt16(const char *aName, int16_t &aValue) const in ParseInt16()
186 aValue = static_cast<int16_t>(value); in ParseInt16()
Durl.hpp178 otError ParseInt16(const char *aName, int16_t &aValue) const;
/openthread-latest/tests/nexus/platform/
Dnexus_radio.cpp240 otError otPlatRadioSetChannelTargetPower(otInstance *, uint8_t, int16_t) { return kErrorNotImplemen… in otPlatRadioSetChannelTargetPower() argument
242 otError otPlatRadioAddCalibratedPower(otInstance *, uint8_t, int16_t, const uint8_t *, uint16_t) in otPlatRadioAddCalibratedPower() argument

12