Lines Matching refs:aInstance

486 static inline void handle_tx_done(otInstance *aInstance)  in handle_tx_done()  argument
493 otPlatDiagRadioTransmitDone(aInstance, &sTransmitFrame, tx_result); in handle_tx_done()
495 otPlatRadioTxDone(aInstance, &sTransmitFrame, ack_frame.mLength ? &ack_frame : NULL, in handle_tx_done()
620 static int run_tx_task(otInstance *aInstance) in run_tx_task() argument
624 ARG_UNUSED(aInstance); in run_tx_task()
636 void platformRadioProcess(otInstance *aInstance) in platformRadioProcess() argument
648 openthread_handle_frame_to_send(aInstance, evt_pkt); in platformRadioProcess()
658 openthread_handle_received_frame(aInstance, rx_pkt); in platformRadioProcess()
665 otPlatDiagRadioReceiveDone(aInstance, NULL, rx_result); in platformRadioProcess()
667 otPlatRadioReceiveDone(aInstance, NULL, rx_result); in platformRadioProcess()
673 otPlatRadioTxStarted(aInstance, &sTransmitFrame); in platformRadioProcess()
682 handle_tx_done(aInstance); in platformRadioProcess()
688 ARG_UNUSED(otPlatRadioSleep(aInstance)); in platformRadioProcess()
708 otPlatRadioEnergyScanDone(aInstance, (int8_t) energy_detected_value); in platformRadioProcess()
718 uint16_t platformRadioChannelGet(otInstance *aInstance) in platformRadioChannelGet() argument
720 ARG_UNUSED(aInstance); in platformRadioChannelGet()
725 void otPlatRadioSetPanId(otInstance *aInstance, uint16_t aPanId) in otPlatRadioSetPanId() argument
727 ARG_UNUSED(aInstance); in otPlatRadioSetPanId()
733 void otPlatRadioSetExtendedAddress(otInstance *aInstance, in otPlatRadioSetExtendedAddress() argument
736 ARG_UNUSED(aInstance); in otPlatRadioSetExtendedAddress()
742 void otPlatRadioSetShortAddress(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioSetShortAddress() argument
744 ARG_UNUSED(aInstance); in otPlatRadioSetShortAddress()
750 bool otPlatRadioIsEnabled(otInstance *aInstance) in otPlatRadioIsEnabled() argument
752 ARG_UNUSED(aInstance); in otPlatRadioIsEnabled()
757 otError otPlatRadioEnable(otInstance *aInstance) in otPlatRadioEnable() argument
759 if (!otPlatRadioIsEnabled(aInstance)) { in otPlatRadioEnable()
766 otError otPlatRadioDisable(otInstance *aInstance) in otPlatRadioDisable() argument
768 if (otPlatRadioIsEnabled(aInstance)) { in otPlatRadioDisable()
775 otError otPlatRadioSleep(otInstance *aInstance) in otPlatRadioSleep() argument
777 ARG_UNUSED(aInstance); in otPlatRadioSleep()
792 otError otPlatRadioReceive(otInstance *aInstance, uint8_t aChannel) in otPlatRadioReceive() argument
794 ARG_UNUSED(aInstance); in otPlatRadioReceive()
807 otError otPlatRadioReceiveAt(otInstance *aInstance, uint8_t aChannel, in otPlatRadioReceiveAt() argument
812 ARG_UNUSED(aInstance); in otPlatRadioReceiveAt()
828 otError platformRadioTransmitCarrier(otInstance *aInstance, bool aEnable) in platformRadioTransmitCarrier() argument
843 return otPlatRadioReceive(aInstance, channel); in platformRadioTransmitCarrier()
851 otError platformRadioTransmitModulatedCarrier(otInstance *aInstance, bool aEnable, in platformRadioTransmitModulatedCarrier() argument
870 return otPlatRadioReceive(aInstance, channel); in platformRadioTransmitModulatedCarrier()
880 otRadioState otPlatRadioGetState(otInstance *aInstance) in otPlatRadioGetState() argument
882 ARG_UNUSED(aInstance); in otPlatRadioGetState()
887 otError otPlatRadioTransmit(otInstance *aInstance, otRadioFrame *aPacket) in otPlatRadioTransmit() argument
891 ARG_UNUSED(aInstance); in otPlatRadioTransmit()
901 if (run_tx_task(aInstance) == 0) { in otPlatRadioTransmit()
909 otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *aInstance) in otPlatRadioGetTransmitBuffer() argument
911 ARG_UNUSED(aInstance); in otPlatRadioGetTransmitBuffer()
923 int8_t otPlatRadioGetRssi(otInstance *aInstance) in otPlatRadioGetRssi() argument
929 ARG_UNUSED(aInstance); in otPlatRadioGetRssi()
957 otRadioCaps otPlatRadioGetCaps(otInstance *aInstance) in otPlatRadioGetCaps() argument
962 ARG_UNUSED(aInstance); in otPlatRadioGetCaps()
1007 void otPlatRadioSetRxOnWhenIdle(otInstance *aInstance, bool aRxOnWhenIdle) in otPlatRadioSetRxOnWhenIdle() argument
1013 ARG_UNUSED(aInstance); in otPlatRadioSetRxOnWhenIdle()
1020 bool otPlatRadioGetPromiscuous(otInstance *aInstance) in otPlatRadioGetPromiscuous() argument
1022 ARG_UNUSED(aInstance); in otPlatRadioGetPromiscuous()
1029 void otPlatRadioSetPromiscuous(otInstance *aInstance, bool aEnable) in otPlatRadioSetPromiscuous() argument
1035 ARG_UNUSED(aInstance); in otPlatRadioSetPromiscuous()
1047 otError otPlatRadioEnergyScan(otInstance *aInstance, uint8_t aScanChannel, in otPlatRadioEnergyScan() argument
1076 otError otPlatRadioGetCcaEnergyDetectThreshold(otInstance *aInstance, in otPlatRadioGetCcaEnergyDetectThreshold() argument
1079 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioGetCcaEnergyDetectThreshold()
1085 otError otPlatRadioSetCcaEnergyDetectThreshold(otInstance *aInstance, in otPlatRadioSetCcaEnergyDetectThreshold() argument
1088 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetCcaEnergyDetectThreshold()
1094 void otPlatRadioEnableSrcMatch(otInstance *aInstance, bool aEnable) in otPlatRadioEnableSrcMatch() argument
1096 ARG_UNUSED(aInstance); in otPlatRadioEnableSrcMatch()
1107 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, in otPlatRadioAddSrcMatchShortEntry() argument
1110 ARG_UNUSED(aInstance); in otPlatRadioAddSrcMatchShortEntry()
1129 otError otPlatRadioAddSrcMatchExtEntry(otInstance *aInstance, in otPlatRadioAddSrcMatchExtEntry() argument
1132 ARG_UNUSED(aInstance); in otPlatRadioAddSrcMatchExtEntry()
1148 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, in otPlatRadioClearSrcMatchShortEntry() argument
1151 ARG_UNUSED(aInstance); in otPlatRadioClearSrcMatchShortEntry()
1170 otError otPlatRadioClearSrcMatchExtEntry(otInstance *aInstance, in otPlatRadioClearSrcMatchExtEntry() argument
1173 ARG_UNUSED(aInstance); in otPlatRadioClearSrcMatchExtEntry()
1189 void otPlatRadioClearSrcMatchShortEntries(otInstance *aInstance) in otPlatRadioClearSrcMatchShortEntries() argument
1191 ARG_UNUSED(aInstance); in otPlatRadioClearSrcMatchShortEntries()
1203 void otPlatRadioClearSrcMatchExtEntries(otInstance *aInstance) in otPlatRadioClearSrcMatchExtEntries() argument
1205 ARG_UNUSED(aInstance); in otPlatRadioClearSrcMatchExtEntries()
1217 int8_t otPlatRadioGetReceiveSensitivity(otInstance *aInstance) in otPlatRadioGetReceiveSensitivity() argument
1219 ARG_UNUSED(aInstance); in otPlatRadioGetReceiveSensitivity()
1224 otError otPlatRadioGetTransmitPower(otInstance *aInstance, int8_t *aPower) in otPlatRadioGetTransmitPower() argument
1226 ARG_UNUSED(aInstance); in otPlatRadioGetTransmitPower()
1237 otError otPlatRadioSetTransmitPower(otInstance *aInstance, int8_t aPower) in otPlatRadioSetTransmitPower() argument
1239 ARG_UNUSED(aInstance); in otPlatRadioSetTransmitPower()
1256 uint64_t otPlatRadioGetNow(otInstance *aInstance) in otPlatRadioGetNow() argument
1258 ARG_UNUSED(aInstance); in otPlatRadioGetNow()
1265 void otPlatRadioSetMacKey(otInstance *aInstance, uint8_t aKeyIdMode, uint8_t aKeyId, in otPlatRadioSetMacKey() argument
1269 ARG_UNUSED(aInstance); in otPlatRadioSetMacKey()
1345 void otPlatRadioSetMacFrameCounter(otInstance *aInstance, in otPlatRadioSetMacFrameCounter() argument
1348 ARG_UNUSED(aInstance); in otPlatRadioSetMacFrameCounter()
1356 void otPlatRadioSetMacFrameCounterIfLarger(otInstance *aInstance, uint32_t aMacFrameCounter) in otPlatRadioSetMacFrameCounterIfLarger() argument
1358 ARG_UNUSED(aInstance); in otPlatRadioSetMacFrameCounterIfLarger()
1367 otError otPlatRadioEnableCsl(otInstance *aInstance, uint32_t aCslPeriod, otShortAddress aShortAddr, in otPlatRadioEnableCsl() argument
1376 ARG_UNUSED(aInstance); in otPlatRadioEnableCsl()
1398 otError otPlatRadioResetCsl(otInstance *aInstance) in otPlatRadioResetCsl() argument
1414 void otPlatRadioUpdateCslSampleTime(otInstance *aInstance, uint32_t aCslSampleTime) in otPlatRadioUpdateCslSampleTime() argument
1416 ARG_UNUSED(aInstance); in otPlatRadioUpdateCslSampleTime()
1431 otError otPlatRadioEnableCst(otInstance *aInstance, uint32_t aCstPeriod, otShortAddress aShortAddr, in otPlatRadioEnableCst() argument
1439 ARG_UNUSED(aInstance); in otPlatRadioEnableCst()
1471 void otPlatRadioUpdateCstSampleTime(otInstance *aInstance, uint32_t aCstSampleTime) in otPlatRadioUpdateCstSampleTime() argument
1475 ARG_UNUSED(aInstance); in otPlatRadioUpdateCstSampleTime()
1489 uint8_t otPlatRadioGetCslAccuracy(otInstance *aInstance) in otPlatRadioGetCslAccuracy() argument
1491 ARG_UNUSED(aInstance); in otPlatRadioGetCslAccuracy()
1497 uint8_t otPlatRadioGetCslUncertainty(otInstance *aInstance) in otPlatRadioGetCslUncertainty() argument
1499 ARG_UNUSED(aInstance); in otPlatRadioGetCslUncertainty()
1595 otError otPlatRadioConfigureEnhAckProbing(otInstance *aInstance, otLinkMetrics aLinkMetrics, in otPlatRadioConfigureEnhAckProbing() argument
1606 ARG_UNUSED(aInstance); in otPlatRadioConfigureEnhAckProbing()
1618 otError otPlatRadioSetChannelMaxTransmitPower(otInstance *aInstance, uint8_t aChannel, in otPlatRadioSetChannelMaxTransmitPower() argument
1621 ARG_UNUSED(aInstance); in otPlatRadioSetChannelMaxTransmitPower()