Home
last modified time | relevance | path

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

/btstack/platform/windows/
H A Dhci_transport_h2_winusb.c278 static uint16_t sco_bytes_to_read; variable
595 sco_bytes_to_read = 3; in sco_state_machine_init()
601 if (size < sco_bytes_to_read){ in sco_handle_data()
605 sco_bytes_to_read -= size; in sco_handle_data()
609 memcpy(&sco_buffer[sco_read_pos], buffer, sco_bytes_to_read); in sco_handle_data()
610 sco_read_pos += sco_bytes_to_read; in sco_handle_data()
611 buffer += sco_bytes_to_read; in sco_handle_data()
612 size -= sco_bytes_to_read; in sco_handle_data()
618 sco_bytes_to_read = sco_buffer[2]; in sco_handle_data()
619 if (sco_bytes_to_read > (sizeof(sco_buffer)-3)){ in sco_handle_data()
/btstack/platform/libusb/
H A Dhci_transport_h2_libusb.c349 static uint16_t sco_bytes_to_read; variable
510 sco_bytes_to_read = 3; in sco_state_machine_init()
515 if (size < sco_bytes_to_read){ in handle_isochronous_data()
519 sco_bytes_to_read -= size; in handle_isochronous_data()
523 memcpy(&sco_buffer[sco_read_pos], buffer, sco_bytes_to_read); in handle_isochronous_data()
524 sco_read_pos += sco_bytes_to_read; in handle_isochronous_data()
525 buffer += sco_bytes_to_read; in handle_isochronous_data()
526 size -= sco_bytes_to_read; in handle_isochronous_data()
532 sco_bytes_to_read = sco_buffer[2]; in handle_isochronous_data()