Searched refs:aMode (Results 1 – 2 of 2) sorted by relevance
91 void otPlatDiagModeSet(bool aMode) in otPlatDiagModeSet() argument93 sDiagMode = aMode; in otPlatDiagModeSet()251 otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode) in otPlatDiagGpioSetMode() argument263 switch (aMode) { in otPlatDiagGpioSetMode()284 otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode) in otPlatDiagGpioGetMode() argument295 if (aMode == NULL) { in otPlatDiagGpioGetMode()304 *aMode = OT_GPIO_MODE_INPUT; in otPlatDiagGpioGetMode()306 *aMode = OT_GPIO_MODE_OUTPUT; in otPlatDiagGpioGetMode()
365 void otPlatDiagModeSet(bool aMode) in otPlatDiagModeSet() argument367 SuccessOrExit(psRadioSpinel->PlatDiagProcess(aMode ? "start" : "stop", NULL, 0)); in otPlatDiagModeSet()368 psRadioSpinel->SetDiagEnabled(aMode); in otPlatDiagModeSet()