Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/hci/
A Dhci_h4.c39 T_HCI_H4 hci_h4; variable
99 len = offset + hci_h4.hdr_len + hci_h4.payload_len; in hci_h4_alloc_buf()
104 memcpy(hci_h4.rx_buf + offset, hci_h4.hdr_buf, hci_h4.hdr_len); in hci_h4_alloc_buf()
105 hci_h4.rx_offset = offset + hci_h4.hdr_len; in hci_h4_alloc_buf()
109 hci_h4.rx_buf[0] = hci_h4.hdr_buf[0]; in hci_h4_alloc_buf()
144 while (hci_h4.hdr_offset == 0 || hci_h4.hdr_offset < hci_h4.hdr_len) in hci_h4_recv()
176 else if (hci_h4.hdr_offset == hci_h4.hdr_len) in hci_h4_recv()
198 if (hci_h4.payload_len && hci_h4.rx_buf == NULL) in hci_h4_recv()
207 while (hci_h4.rx_buf && hci_h4.rx_offset < hci_h4.rx_len) in hci_h4_recv()
220 if (hci_h4.rx_offset == hci_h4.rx_len) in hci_h4_recv()
[all …]
/AliOS-Things-master/components/ble_host/bt_host/hci_driver/
A Dh4_driver.c82 } hci_h4 = { variable
303 net_buf_add_mem(buf, hci_h4.rx.hdr, hci_h4.rx.hdr_len); in copy_hdr()
338 hci_h4.rx.remaining = sizeof(hci_h4.rx.evt); in h4_get_type()
339 hci_h4.rx.hdr_len = hci_h4.rx.remaining; in h4_get_type()
343 hci_h4.rx.remaining = sizeof(hci_h4.rx.acl); in h4_get_type()
344 hci_h4.rx.hdr_len = hci_h4.rx.remaining; in h4_get_type()
369 int32_t to_read = hci_h4.rx.hdr_len - hci_h4.rx.remaining; in get_evt_hdr()
407 hci_h4.rx.discard = hci_h4.rx.remaining; in read_payload()
419 hci_h4.rx.cur_len = hci_h4.rx.hdr_len + 1; in read_payload()
476 hci_h4.rx.remaining, hci_h4.rx.discard, hci_h4.rx.have_hdr, hci_h4.rx.buf); in process_rx()
[all …]

Completed in 5 milliseconds