Searched refs:uart_fds (Results 1 – 1 of 1) sorted by relevance
/system/bt/hci/src/ |
D | hci_hal_mct.c | 43 static int uart_fds[CH_MAX]; variable 66 int number_of_ports = vendor->send_command(VENDOR_OPEN_USERIAL, &uart_fds); in hal_open() 74 __func__, uart_fds[CH_CMD], uart_fds[CH_EVT], uart_fds[CH_ACL_OUT], uart_fds[CH_ACL_IN]); in hal_open() 76 if (uart_fds[CH_CMD] == INVALID_FD) { in hal_open() 81 if (uart_fds[CH_EVT] == INVALID_FD) { in hal_open() 86 if (uart_fds[CH_ACL_OUT] == INVALID_FD) { in hal_open() 91 if (uart_fds[CH_ACL_IN] == INVALID_FD) { in hal_open() 96 …event_stream = eager_reader_new(uart_fds[CH_EVT], &allocator_malloc, HCI_HAL_SERIAL_BUFFER_SIZE, S… in hal_open() 102 …acl_stream = eager_reader_new(uart_fds[CH_ACL_IN], &allocator_malloc, HCI_HAL_SERIAL_BUFFER_SIZE, … in hal_open() 126 uart_fds[i] = INVALID_FD; in hal_close() [all …]
|