Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 3 of 3) sorted by relevance

/openthread-latest/src/lib/spinel/
Dradio_spinel.cpp1439 spinel_tid_t tid = mCmdNextTid; in GetNextTid() local
1441 while (((1 << tid) & mCmdTidsInUse) != 0) in GetNextTid()
1443 tid = SPINEL_GET_NEXT_TID(tid); in GetNextTid()
1445 if (tid == mCmdNextTid) in GetNextTid()
1450 ExitNow(tid = 0); in GetNextTid()
1454 mCmdTidsInUse |= (1 << tid); in GetNextTid()
1455 mCmdNextTid = SPINEL_GET_NEXT_TID(tid); in GetNextTid()
1458 return tid; in GetNextTid()
1464 spinel_tid_t tid = GetNextTid(); in RequestV() local
1466 VerifyOrExit(tid > 0, error = OT_ERROR_BUSY); in RequestV()
[all …]
Dradio_spinel.hpp1135 void FreeTid(spinel_tid_t tid) { mCmdTidsInUse &= ~(1 << tid); } in FreeTid() argument
/openthread-latest/src/ncp/
Dncp_base.cpp417 spinel_tid_t tid = 0; in HandleReceive() local
475 tid = SPINEL_HEADER_GET_TID(header); in HandleReceive()
477 if ((mNextExpectedTid[mCurCommandIid] != 0) && (tid != mNextExpectedTid[mCurCommandIid])) in HandleReceive()
482 mNextExpectedTid[mCurCommandIid] = SPINEL_GET_NEXT_TID(tid); in HandleReceive()
799 spinel_tid_t tid = SPINEL_HEADER_GET_TID(aHeader); in EnqueueResponse() local
802 if (tid == 0) in EnqueueResponse()
831 if (tid != mNextExpectedTid[iid]) in EnqueueResponse()
837 if (entry->mIsInUse && (entry->mIid == iid) && (entry->mTid == tid)) in EnqueueResponse()
853 entry->mTid = tid; in EnqueueResponse()