Lines Matching refs:packet

53 extern void hci_event_received(const base::Location& from_here, BT_HDR* packet);
54 extern void acl_event_received(BT_HDR* packet);
55 extern void sco_data_received(BT_HDR* packet);
56 extern void iso_data_received(BT_HDR* packet);
80 BT_HDR* packet = in WrapPacketAndCopy() local
82 packet->offset = 0; in WrapPacketAndCopy()
83 packet->len = data.size(); in WrapPacketAndCopy()
84 packet->layer_specific = 0; in WrapPacketAndCopy()
85 packet->event = event; in WrapPacketAndCopy()
88 memcpy(packet->data, data.data(), data.size()); in WrapPacketAndCopy()
89 return packet; in WrapPacketAndCopy()
107 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_EVT, event); in hciEventReceived() local
108 hci_event_received(FROM_HERE, packet); in hciEventReceived()
113 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_ACL, data); in aclDataReceived() local
114 acl_event_received(packet); in aclDataReceived()
119 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_SCO, data); in scoDataReceived() local
120 sco_data_received(packet); in scoDataReceived()
125 BT_HDR* packet = WrapPacketAndCopy(MSG_HC_TO_STACK_HCI_ISO, data); in isoDataReceived() local
126 iso_data_received(packet); in isoDataReceived()
182 void hci_transmit(BT_HDR* packet) { in hci_transmit() argument
184 data.setToExternal(packet->data + packet->offset, packet->len); in hci_transmit()
186 uint16_t event = packet->event & MSG_EVT_MASK; in hci_transmit()
232 void hci_log_firmware_debug_packet(int fd, BT_HDR* packet) { in hci_log_firmware_debug_packet() argument
233 TEMP_FAILURE_RETRY(write(fd, packet->data, packet->len)); in hci_log_firmware_debug_packet()