Lines Matching refs:sState

87 static otRadioState sState = OT_RADIO_STATE_DISABLED;  variable
216 if (sState == OT_RADIO_STATE_TRANSMIT) { in handle_radio_event()
221 if (sState == OT_RADIO_STATE_RECEIVE) { in handle_radio_event()
627 sState = OT_RADIO_STATE_TRANSMIT; in run_tx_task()
679 if (sState == OT_RADIO_STATE_TRANSMIT || in platformRadioProcess()
681 sState = OT_RADIO_STATE_RECEIVE; in platformRadioProcess()
692 if (sState != OT_RADIO_STATE_TRANSMIT) { in platformRadioProcess()
754 return (sState != OT_RADIO_STATE_DISABLED) ? true : false; in otPlatRadioIsEnabled()
760 sState = OT_RADIO_STATE_SLEEP; in otPlatRadioEnable()
769 sState = OT_RADIO_STATE_DISABLED; in otPlatRadioDisable()
781 if (sState == OT_RADIO_STATE_SLEEP || in otPlatRadioSleep()
782 sState == OT_RADIO_STATE_RECEIVE || in otPlatRadioSleep()
783 sState == OT_RADIO_STATE_TRANSMIT) { in otPlatRadioSleep()
786 sState = OT_RADIO_STATE_SLEEP; in otPlatRadioSleep()
801 sState = OT_RADIO_STATE_RECEIVE; in otPlatRadioReceive()
834 if ((aEnable) && (sState == OT_RADIO_STATE_RECEIVE)) { in platformRadioTransmitCarrier()
841 sState = OT_RADIO_STATE_TRANSMIT; in platformRadioTransmitCarrier()
842 } else if ((!aEnable) && (sState == OT_RADIO_STATE_TRANSMIT)) { in platformRadioTransmitCarrier()
858 if (aEnable && sState == OT_RADIO_STATE_RECEIVE) { in platformRadioTransmitModulatedCarrier()
868 sState = OT_RADIO_STATE_TRANSMIT; in platformRadioTransmitModulatedCarrier()
869 } else if ((!aEnable) && sState == OT_RADIO_STATE_TRANSMIT) { in platformRadioTransmitModulatedCarrier()
884 return sState; in otPlatRadioGetState()
900 if ((sState == OT_RADIO_STATE_RECEIVE) || (radio_caps & IEEE802154_HW_SLEEP_TO_TX)) { in otPlatRadioTransmit()