Searched defs:uart_handle (Results 1 - 3 of 3) sorted by relevance

/device/google/contexthub/util/stm32_flash/
H A Duart.h22 typedef struct uart_handle struct
H A Duart.c31 uart_handle_t *uart_handle = (uart_handle_t *)handle; local
35 if (write(uart_handle->fd, buffer, length + 1) == (length + 1))
43 uart_handle_t *uart_handle = (uart_handle_t *)handle; local
50 if (write(uart_handle->fd, buffer, length) == length)
58 uart_handle_t *uart_handle = (uart_handle_t *)handle; local
62 ret = read(uart_handle->fd, data, length);
84 uart_handle_t *uart_handle = (uart_handle_t *)handle; local
100 fl = fcntl(uart_handle->fd, F_GETFL, 0);
103 fl = fcntl(uart_handle->fd, F_SETFL, fl & ~O_NDELAY);
106 if (tcgetattr(uart_handle
[all...]
H A Dflash.c75 uart_handle_t uart_handle; local
182 handle = &uart_handle.handle;
183 uart_handle.fd = fd;

Completed in 61 milliseconds