Lines Matching defs:hdr
245 static inline int bfusb_recv_block(struct bfusb_data *data, int hdr, unsigned char *buf, int len)
247 BT_DBG("bfusb %p hdr 0x%02x data %p len %d", data, hdr, buf, len);
249 if (hdr & 0x10) {
256 if (hdr & 0x04) {
277 struct hci_event_hdr *hdr = (struct hci_event_hdr *) buf;
278 pkt_len = HCI_EVENT_HDR_SIZE + hdr->plen;
287 struct hci_acl_hdr *hdr = (struct hci_acl_hdr *) buf;
288 pkt_len = HCI_ACL_HDR_SIZE + __le16_to_cpu(hdr->dlen);
297 struct hci_sco_hdr *hdr = (struct hci_sco_hdr *) buf;
298 pkt_len = HCI_SCO_HDR_SIZE + hdr->dlen;
325 if (hdr & 0x08) {
339 int err, hdr, len;
356 hdr = buf[0] | (buf[1] << 8);
358 if (hdr & 0x4000) {
372 if ((hdr & 0xe1) == 0xc1)
373 bfusb_recv_block(data, hdr, buf, len);