| /openthread-latest/src/core/utils/ |
| D | power_calibration.hpp | 76 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];
|
| D | power_calibration.cpp | 44 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 …]
|
| D | parse_cmdline.hpp | 136 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()
|
| D | parse_cmdline.cpp | 167 Error ParseAsInt16(const char *aString, int16_t &aInt16) { return ParseInt<int16_t>(aString, aInt16… in ParseAsInt16()
|
| /openthread-latest/examples/platforms/utils/ |
| D | soft_source_match_table.c | 60 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 …]
|
| D | soft_source_match_table.h | 61 int16_t utilsSoftSrcMatchShortFindEntry(uint16_t aShortAddress); 65 int16_t utilsSoftSrcMatchExtFindEntry(const otExtAddress *aExtAddress);
|
| /openthread-latest/src/core/thread/ |
| D | radio_selector.hpp | 175 …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…
|
| D | radio_selector.cpp | 81 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/ |
| D | power.hpp | 128 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;
|
| D | radio.cpp | 722 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/ |
| D | numeric_limits.hpp | 78 template <> struct NumericLimits<int16_t> 80 static constexpr int16_t kMin = INT16_MIN; 81 static constexpr int16_t kMax = INT16_MAX;
|
| D | num_utils.hpp | 143 …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/ |
| D | debug.h | 30 int16_t : "0x%08" PRIx16, \ 41 int16_t : X, \
|
| D | types.h | 20 typedef int16_t FStar_Int16_t, FStar_Int16_t_;
|
| /openthread-latest/third_party/mbedtls/repo/library/ |
| D | psa_util_internal.h | 44 int16_t psa_status; 48 int16_t mbedtls_error;
|
| /openthread-latest/include/openthread/platform/ |
| D | diag.h | 285 int16_t *aTargetPower, 286 int16_t *aActualPower,
|
| D | radio.h | 1337 int16_t aActualPower, 1376 otError otPlatRadioSetChannelTargetPower(otInstance *aInstance, uint8_t aChannel, int16_t aTargetPo…
|
| /openthread-latest/src/lib/spinel/ |
| D | radio_spinel.hpp | 980 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;
|
| D | spinel_decoder.cpp | 133 otError Decoder::ReadInt16(int16_t &aInt16) in ReadInt16() 139 aInt16 = static_cast<int16_t>(u16); in ReadInt16()
|
| /openthread-latest/tests/unit/ |
| D | test_link_quality.cpp | 75 …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()
|
| D | test_cmd_line_parser.cpp | 207 TestCase<int16_t> kInt16TestCases[] = { in TestParsingInts() 242 VerifyParser<int16_t, ParseAsInt16>(kInt16TestCases, "ParseAsInt16", "%d"); in TestParsingInts()
|
| /openthread-latest/src/core/diags/ |
| D | factory_diags.hpp | 181 int16_t mTargetPower; 182 int16_t mActualPower;
|
| /openthread-latest/src/lib/url/ |
| D | url.cpp | 179 otError Url::ParseInt16(const char *aName, int16_t &aValue) const in ParseInt16() 186 aValue = static_cast<int16_t>(value); in ParseInt16()
|
| D | url.hpp | 178 otError ParseInt16(const char *aName, int16_t &aValue) const;
|
| /openthread-latest/tests/nexus/platform/ |
| D | nexus_radio.cpp | 240 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
|