Home
last modified time | relevance | path

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

/system/bt/hci/src/
Dhci_hal_h4.c48 static int uart_fd; variable
80 uart_fd = fd_array[0]; in hal_open()
81 if (uart_fd == INVALID_FD) { in hal_open()
86 …uart_stream = eager_reader_new(uart_fd, &allocator_malloc, HCI_HAL_SERIAL_BUFFER_SIZE, SIZE_MAX, "… in hal_open()
113 uart_fd = INVALID_FD; in hal_close()
158 OSI_NO_INTR(ret = write(uart_fd, data + transmitted_length, length)); in transmit_data()