Lines Matching refs:NcpSpi
63 static OT_DEFINE_ALIGNED_VAR(sNcpRaw, sizeof(NcpSpi), uint64_t);
67 NcpSpi * ncpSpi = nullptr; in otNcpSpiInit()
70 ncpSpi = new (&sNcpRaw) NcpSpi(instance); in otNcpSpiInit()
80 NcpSpi::NcpSpi(Instance *aInstance) in NcpSpi() function in ot::Ncp::NcpSpi
85 , mPrepareTxFrameTask(*aInstance, NcpSpi::PrepareTxFrame) in NcpSpi()
106 …IgnoreError(otPlatSpiSlaveEnable(&NcpSpi::SpiTransactionComplete, &NcpSpi::SpiTransactionProcess, … in NcpSpi()
117 bool NcpSpi::SpiTransactionComplete(void * aContext, in SpiTransactionComplete()
124 NcpSpi *ncp = reinterpret_cast<NcpSpi *>(aContext); in SpiTransactionComplete()
129 bool NcpSpi::SpiTransactionComplete(uint8_t *aOutputBuf, in SpiTransactionComplete()
227 void NcpSpi::SpiTransactionProcess(void *aContext) in SpiTransactionProcess()
229 reinterpret_cast<NcpSpi *>(aContext)->SpiTransactionProcess(); in SpiTransactionProcess()
232 void NcpSpi::SpiTransactionProcess(void) in SpiTransactionProcess()
245 void NcpSpi::HandleFrameAddedToTxBuffer(void * aContext, in HandleFrameAddedToTxBuffer()
254 static_cast<NcpSpi *>(aContext)->mPrepareTxFrameTask.Post(); in HandleFrameAddedToTxBuffer()
257 void NcpSpi::PrepareNextSpiSendFrame(void) in PrepareNextSpiSendFrame()
316 void NcpSpi::PrepareTxFrame(Tasklet &aTasklet) in PrepareTxFrame()
319 static_cast<NcpSpi *>(GetNcpInstance())->PrepareTxFrame(); in PrepareTxFrame()
322 void NcpSpi::PrepareTxFrame(void) in PrepareTxFrame()
344 void NcpSpi::HandleRxFrame(void) in HandleRxFrame()