Searched refs:aRegionCode (Results 1 – 6 of 6) sorted by relevance
/external/openthread/src/core/radio/ |
D | radio_platform.cpp | 285 OT_TOOL_WEAK otError otPlatRadioSetRegion(otInstance *aInstance, uint16_t aRegionCode) in otPlatRadioSetRegion() argument 288 OT_UNUSED_VARIABLE(aRegionCode); in otPlatRadioSetRegion() 293 OT_TOOL_WEAK otError otPlatRadioGetRegion(otInstance *aInstance, uint16_t *aRegionCode) in otPlatRadioGetRegion() argument 296 OT_UNUSED_VARIABLE(aRegionCode); in otPlatRadioGetRegion()
|
/external/openthread/src/posix/platform/ |
D | radio.cpp | 636 otError otPlatRadioSetRegion(otInstance *aInstance, uint16_t aRegionCode) in otPlatRadioSetRegion() argument 639 return sRadioSpinel.SetRadioRegion(aRegionCode); in otPlatRadioSetRegion() 642 otError otPlatRadioGetRegion(otInstance *aInstance, uint16_t *aRegionCode) in otPlatRadioGetRegion() argument 645 return sRadioSpinel.GetRadioRegion(aRegionCode); in otPlatRadioGetRegion()
|
/external/openthread/include/openthread/platform/ |
D | radio.h | 1101 otError otPlatRadioSetRegion(otInstance *aInstance, uint16_t aRegionCode); 1117 otError otPlatRadioGetRegion(otInstance *aInstance, uint16_t *aRegionCode);
|
/external/openthread/examples/platforms/simulation/ |
D | radio.c | 1305 otError otPlatRadioSetRegion(otInstance *aInstance, uint16_t aRegionCode) in otPlatRadioSetRegion() argument 1309 sRegionCode = aRegionCode; in otPlatRadioSetRegion() 1313 otError otPlatRadioGetRegion(otInstance *aInstance, uint16_t *aRegionCode) in otPlatRadioGetRegion() argument 1318 otEXPECT_ACTION(aRegionCode != NULL, error = OT_ERROR_INVALID_ARGS); in otPlatRadioGetRegion() 1320 *aRegionCode = sRegionCode; in otPlatRadioGetRegion()
|
/external/openthread/src/lib/spinel/ |
D | radio_spinel.hpp | 665 otError SetRadioRegion(uint16_t aRegionCode); 677 otError GetRadioRegion(uint16_t *aRegionCode);
|
D | radio_spinel_impl.hpp | 2419 otError RadioSpinel<InterfaceType, ProcessContextType>::SetRadioRegion(uint16_t aRegionCode) in SetRadioRegion() argument 2423 error = Set(SPINEL_PROP_PHY_REGION_CODE, SPINEL_DATATYPE_UINT16_S, aRegionCode); in SetRadioRegion() 2427 otLogNotePlat("Set region code \"%c%c\" successfully", static_cast<char>(aRegionCode >> 8), in SetRadioRegion() 2428 static_cast<char>(aRegionCode)); in SetRadioRegion() 2432 otLogWarnPlat("Failed to set region code \"%c%c\": %s", static_cast<char>(aRegionCode >> 8), in SetRadioRegion() 2433 static_cast<char>(aRegionCode), otThreadErrorToString(error)); in SetRadioRegion() 2440 otError RadioSpinel<InterfaceType, ProcessContextType>::GetRadioRegion(uint16_t *aRegionCode) in GetRadioRegion() argument 2444 VerifyOrExit(aRegionCode != nullptr, error = OT_ERROR_INVALID_ARGS); in GetRadioRegion() 2445 error = Get(SPINEL_PROP_PHY_REGION_CODE, SPINEL_DATATYPE_UINT16_S, aRegionCode); in GetRadioRegion()
|