Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/modules/hsl/api/hsl/
H A Dfrhsl_ringbuffer.c716 …_hsl->pSystemState->bufWritePos = _hsl->pSystemState->bufStart + 1; // leave one byte for the init… in initBufferMemory()
718 _hsl->pSystemState->bufReadLimit = _hsl->pSystemState->bufWritePos; in initBufferMemory()
814 if( _hsl->pSystemState->bufWritePos >= _hsl->pSystemState->bufReadPos ) in bufferCalculateFreeSpace()
816 … - _hsl->pSystemState->bufStart + _hsl->pSystemState->bufUsedEnd - _hsl->pSystemState->bufWritePos; in bufferCalculateFreeSpace()
820 retVal = _hsl->pSystemState->bufReadPos - _hsl->pSystemState->bufWritePos; in bufferCalculateFreeSpace()
938 if( _hsl->pSystemState->bufReadLimit != _hsl->pSystemState->bufWritePos ) in bufferAllocateWrite()
943 _hsl->pSystemState->bufReadLimit = _hsl->pSystemState->bufWritePos; in bufferAllocateWrite()
978 if( _hsl->pSystemState->bufWritePos >= _hsl->pSystemState->bufReadPos ) in bufferAllocateWrite()
981 … if( (_hsl->pSystemState->bufEnd - _hsl->pSystemState->bufWritePos) < (twDelta + dataSize) ) in bufferAllocateWrite()
983 _hsl->pSystemState->bufUsedEnd = _hsl->pSystemState->bufWritePos; in bufferAllocateWrite()
[all …]
H A Dfrhsl_cfg.h209 MS_U32 bufWritePos; // current write position in ring buffer member