Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/modules/hsl/api/hsl/
H A Dfrhsl_ringbuffer.c924 MS_U32 twDelta; in bufferAllocateWrite() local
955 twDelta = 0x10000 - (_hsl->pSystemState->hslLastTwTime >> 16) + (currentTime >> 16); in bufferAllocateWrite()
959 twDelta = (currentTime >> 16) - (_hsl->pSystemState->hslLastTwTime >> 16); in bufferAllocateWrite()
974 assert(twDelta < ASSERT_RT_CLOCK_FAIL_TW); in bufferAllocateWrite()
981 … if( (_hsl->pSystemState->bufEnd - _hsl->pSystemState->bufWritePos) < (twDelta + dataSize) ) in bufferAllocateWrite()
995 while( u32freeSpace < twDelta + dataSize ) in bufferAllocateWrite()
1001 …if(u32freeSpace < twDelta + dataSize) // must check again due to small probability of a complete b… in bufferAllocateWrite()
1017 memset( (MS_U8*)(_hsl->pSystemState->bufWritePos), HSL_RAWLOB_MSG_TYPE_TW_CHAN0, twDelta ); in bufferAllocateWrite()
1018 _hsl->pSystemState->bufWritePos += twDelta; in bufferAllocateWrite()