Home
last modified time | relevance | path

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

/system/dev/bluetooth/bt-transport-uart/
A Dbt-transport-uart.c70 size_t acl_buffer_offset; member
83 #define ACL_PACKET_LENGTH(hci) ((hci)->acl_buffer_offset > 4 ? \
283 hci->acl_buffer[hci->acl_buffer_offset++] = *src++; in hci_handle_uart_read_events()
291 size_t copy = packet_length - hci->acl_buffer_offset; in hci_handle_uart_read_events()
293 memcpy(hci->acl_buffer + hci->acl_buffer_offset, src, copy); in hci_handle_uart_read_events()
295 hci->acl_buffer_offset += copy; in hci_handle_uart_read_events()
297 if (hci->acl_buffer_offset == packet_length) { in hci_handle_uart_read_events()
315 hci->acl_buffer_offset = 1; in hci_handle_uart_read_events()
523 hci->acl_buffer_offset = 1; in hci_bind()

Completed in 6 milliseconds