Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/log/
Dfsl_component_log_backend_ringbuffer.c32 size_t ringBufferLength; member
75 …ngBufferLength = (s_logBackendRingBuffer.ringBufferHead + s_logBackendRingBuffer.ringBufferLength - in log_init_backend_ringbuffer_puts()
77 s_logBackendRingBuffer.ringBufferLength; in log_init_backend_ringbuffer_puts()
78 remainingBufferLength = s_logBackendRingBuffer.ringBufferLength - remainingBufferLength - 1U; in log_init_backend_ringbuffer_puts()
80 if (length >= s_logBackendRingBuffer.ringBufferLength) in log_init_backend_ringbuffer_puts()
82 buffer = &buffer[length - s_logBackendRingBuffer.ringBufferLength + 1U]; in log_init_backend_ringbuffer_puts()
83 length = s_logBackendRingBuffer.ringBufferLength - 1U; in log_init_backend_ringbuffer_puts()
87 …if ((s_logBackendRingBuffer.ringBufferHead + copyLength) > s_logBackendRingBuffer.ringBufferLength) in log_init_backend_ringbuffer_puts()
89 … copyLength = s_logBackendRingBuffer.ringBufferLength - s_logBackendRingBuffer.ringBufferHead; in log_init_backend_ringbuffer_puts()
101 s_logBackendRingBuffer.ringBufferHead % s_logBackendRingBuffer.ringBufferLength; in log_init_backend_ringbuffer_puts()
[all …]
Dfsl_component_log_backend_ringbuffer.h40 size_t ringBufferLength; /*!< ring buffer length */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/components/serial_manager/
Dfsl_component_serial_manager.c598 uint32_t ringBufferLength; in SerialManager_Task() local
718 ringBufferLength = in SerialManager_Task()
720 ringBufferLength = ringBufferLength % handle->ringBuffer.ringBufferSize; in SerialManager_Task()
723 if (0U != ringBufferLength) in SerialManager_Task()
726 serialMsg.length = ringBufferLength; in SerialManager_Task()
828 uint32_t ringBufferLength = 0;
891ringBufferLength = handle->ringBuffer.ringHead + handle->ringBuffer.ringBufferSize - handle->ringB…
892 ringBufferLength = ringBufferLength % handle->ringBuffer.ringBufferSize;
900 for (uint32_t i = 0; i < MIN(ringBufferLength, remainLength); i++)
911 ringBufferLength = ringBufferLength - MIN(ringBufferLength, remainLength);
[all …]