Home
last modified time | relevance | path

Searched refs:aRegionCode (Results 1 – 6 of 6) sorted by relevance

/external/openthread/src/core/radio/
Dradio_platform.cpp285 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/
Dradio.cpp636 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/
Dradio.h1101 otError otPlatRadioSetRegion(otInstance *aInstance, uint16_t aRegionCode);
1117 otError otPlatRadioGetRegion(otInstance *aInstance, uint16_t *aRegionCode);
/external/openthread/examples/platforms/simulation/
Dradio.c1305 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/
Dradio_spinel.hpp665 otError SetRadioRegion(uint16_t aRegionCode);
677 otError GetRadioRegion(uint16_t *aRegionCode);
Dradio_spinel_impl.hpp2419 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()