/openthread-3.7.0/src/core/utils/ |
D | power_calibration.cpp | 53 const uint8_t *aRawPowerSetting, in Init() argument 56 AssertPointerIsNotNull(aRawPowerSetting); in Init() 61 memcpy(mSettings, aRawPowerSetting, aRawPowerSettingLength); in Init() 64 Error PowerCalibration::CalibratedPowerEntry::GetRawPowerSetting(uint8_t *aRawPowerSetting, in GetRawPowerSetting() argument 69 AssertPointerIsNotNull(aRawPowerSetting); in GetRawPowerSetting() 73 memcpy(aRawPowerSetting, mSettings, mLength); in GetRawPowerSetting() 82 const uint8_t *aRawPowerSetting, in AddCalibratedPower() argument 89 AssertPointerIsNotNull(aRawPowerSetting); in AddCalibratedPower() 97 entry.Init(aActualPower, aRawPowerSetting, aRawPowerSettingLength); in AddCalibratedPower() 138 uint8_t *aRawPowerSetting, in GetPowerSettings() argument [all …]
|
D | power_calibration.hpp | 80 const uint8_t *aRawPowerSetting, 125 uint8_t *aRawPowerSetting, 140 …void Init(int16_t aActualPower, const uint8_t *aRawPowerSetting, uint16_t aRawPowerSettingLengt… 141 Error GetRawPowerSetting(uint8_t *aRawPowerSetting, uint16_t *aRawPowerSettingLength);
|
/openthread-3.7.0/examples/platforms/simulation/ |
D | diag.c | 123 const uint8_t *aRawPowerSetting, in otPlatDiagRadioSetRawPowerSetting() argument 129 …otEXPECT_ACTION((aRawPowerSetting != NULL) && (aRawPowerSettingLength <= sizeof(sRawPowerSetting)), in otPlatDiagRadioSetRawPowerSetting() 131 memcpy(sRawPowerSetting, aRawPowerSetting, aRawPowerSettingLength); in otPlatDiagRadioSetRawPowerSetting() 139 uint8_t *aRawPowerSetting, in otPlatDiagRadioGetRawPowerSetting() argument 145 …otEXPECT_ACTION((aRawPowerSetting != NULL) && (aRawPowerSettingLength != NULL), error = OT_ERROR_I… in otPlatDiagRadioGetRawPowerSetting() 149 memcpy(aRawPowerSetting, sRawPowerSetting, sRawPowerSettingLength); in otPlatDiagRadioGetRawPowerSetting()
|
/openthread-3.7.0/include/openthread/platform/ |
D | diag.h | 216 const uint8_t *aRawPowerSetting, 235 uint8_t *aRawPowerSetting, 298 uint8_t *aRawPowerSetting,
|
D | radio.h | 1322 const uint8_t *aRawPowerSetting, 1384 uint8_t *aRawPowerSetting,
|
/openthread-3.7.0/src/posix/platform/ |
D | power.hpp | 168 otError Set(const char *aRawPowerSetting); 271 …void SetRawPowerSetting(const RawPowerSetting &aRawPowerSetting) { mRawPowerSetting = aRawPowerSet… in SetRawPowerSetting() argument
|
D | radio.cpp | 633 uint8_t *aRawPowerSetting, in otPlatDiagRadioGetPowerSettings() argument 648 … assert((aTargetPower != nullptr) && (aActualPower != nullptr) && (aRawPowerSetting != nullptr) && in otPlatDiagRadioGetPowerSettings() 657 …tils::CmdLineParser::ParseAsHexString(rawPowerSetting, *aRawPowerSettingLength, aRawPowerSetting)); in otPlatDiagRadioGetPowerSettings() 666 const uint8_t *aRawPowerSetting, in otPlatDiagRadioSetRawPowerSetting() argument 675 assert(aRawPowerSetting != nullptr); in otPlatDiagRadioSetRawPowerSetting() 681 … += snprintf(cmd + nbytes, sizeof(cmd) - static_cast<size_t>(nbytes), "%02x", aRawPowerSetting[i]); in otPlatDiagRadioSetRawPowerSetting() 692 uint8_t *aRawPowerSetting, in otPlatDiagRadioGetRawPowerSetting() argument 701 assert((aRawPowerSetting != nullptr) && (aRawPowerSettingLength != nullptr)); in otPlatDiagRadioGetRawPowerSetting() 706 …rror = ot::Utils::CmdLineParser::ParseAsHexString(str, *aRawPowerSettingLength, aRawPowerSetting)); in otPlatDiagRadioGetRawPowerSetting() 871 const uint8_t *aRawPowerSetting, in otPlatRadioAddCalibratedPower() argument [all …]
|
D | power.cpp | 77 otError RawPowerSetting::Set(const char *aRawPowerSetting) in Set() argument 82 …SuccessOrExit(error = ot::Utils::CmdLineParser::ParseAsHexString(aRawPowerSetting, length, mData)); in Set()
|
/openthread-3.7.0/src/core/diags/ |
D | factory_diags.cpp | 671 Error Diags::GetRawPowerSetting(RawPowerSetting &aRawPowerSetting) in GetRawPowerSetting() argument 673 aRawPowerSetting.mLength = RawPowerSetting::kMaxDataSize; in GetRawPowerSetting() 674 …eturn otPlatDiagRadioGetRawPowerSetting(&GetInstance(), aRawPowerSetting.mData, &aRawPowerSetting.… in GetRawPowerSetting() 928 const uint8_t *aRawPowerSetting, in otPlatDiagRadioSetRawPowerSetting() argument 932 OT_UNUSED_VARIABLE(aRawPowerSetting); in otPlatDiagRadioSetRawPowerSetting() 939 uint8_t *aRawPowerSetting, in otPlatDiagRadioGetRawPowerSetting() argument 943 OT_UNUSED_VARIABLE(aRawPowerSetting); in otPlatDiagRadioGetRawPowerSetting() 977 uint8_t *aRawPowerSetting, in otPlatDiagRadioGetPowerSettings() argument 984 OT_UNUSED_VARIABLE(aRawPowerSetting); in otPlatDiagRadioGetPowerSettings()
|
D | factory_diags.hpp | 200 Error GetRawPowerSetting(RawPowerSetting &aRawPowerSetting);
|
/openthread-3.7.0/src/lib/spinel/ |
D | radio_spinel.hpp | 973 const uint8_t *aRawPowerSetting,
|
D | radio_spinel.cpp | 2284 const uint8_t *aRawPowerSetting, in AddCalibratedPower() argument 2289 assert(aRawPowerSetting != nullptr); in AddCalibratedPower() 2292 … aChannel, aActualPower, aRawPowerSetting, aRawPowerSettingLength)); in AddCalibratedPower()
|
/openthread-3.7.0/tests/unit/ |
D | test_platform.cpp | 709 const uint8_t *aRawPowerSetting, in otPlatRadioAddCalibratedPower() argument
|