Lines Matching full:buffer

21 /* @brief RX buffer structure which holds the buffer and its state. */
24 * received to that buffer.
28 /* Set to one if buffer is released by the driver. */
32 uint8_t buffer[]; member
46 /* Single buffer size. */
49 /* Index of the next buffer to be provided to the driver. */
52 /* Current buffer from which data is being consumed. */
55 /* Current read index in the buffer from which data is being consumed.
56 * Read index which is incremented whenever data is consumed from the buffer.
63 /* Pointer to the buffer. */
64 uint8_t *buffer; member
66 /* Buffer length. */
73 /** @brief Get RX buffer length.
77 * @return Buffer length.
84 /** @brief Get amount of space dedicated for managing each buffer state.
86 * User buffer provided during the initialization is split into chunks and each
92 #define UART_ASYNC_RX_BUF_OVERHEAD offsetof(struct uart_async_rx_buf, buffer)
118 * @param buffer Buffer received in the UART driver event.
121 void uart_async_rx_on_rdy(struct uart_async_rx *async_rx, uint8_t *buffer, size_t length);
123 /** @brief Get next RX buffer.
131 * @return Pointer to the next RX buffer or null if no buffer available.
135 /** @brief Indicate that buffer is no longer used by the UART driver.
140 * @param buf Buffer pointer received in the UART driver event.
146 * Helper module works in the zero copy mode. It provides a pointer to the buffer
153 * @param data Location where address to the buffer is written. Untouched if no data to claim.
156 * @return Amount valid of data in the @p data buffer. 0 is returned when there is no data.