Home
last modified time | relevance | path

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

/openbmc/linux/drivers/bluetooth/
H A Dh4_recv.h36 .hlen = HCI_EVENT_HDR_SIZE, \
H A Dhci_uart.h151 .hlen = HCI_EVENT_HDR_SIZE, \
H A Dbfusb.c276 if (len >= HCI_EVENT_HDR_SIZE) { in bfusb_recv_block()
278 pkt_len = HCI_EVENT_HDR_SIZE + hdr->plen; in bfusb_recv_block()
H A Dhci_bcsp.c545 memcpy(skb_push(bcsp->rx_skb, HCI_EVENT_HDR_SIZE), &hdr, HCI_EVENT_HDR_SIZE); in bcsp_complete_rx_pkt()
H A Dbtintel.c1639 while (remain > HCI_EVENT_HDR_SIZE && *fw_ptr[0] == 0x02) { in btintel_legacy_rom_patching()
2999 if (skb->len > HCI_EVENT_HDR_SIZE && hdr->evt == 0xff && in btintel_recv_event()
3001 const void *ptr = skb->data + HCI_EVENT_HDR_SIZE + 1; in btintel_recv_event()
3002 unsigned int len = skb->len - HCI_EVENT_HDR_SIZE - 1; in btintel_recv_event()
H A Dbt3c_cs.c256 info->rx_count = HCI_EVENT_HDR_SIZE; in bt3c_receive()
H A Dbluecard_cs.c418 info->rx_count = HCI_EVENT_HDR_SIZE; in bluecard_receive()
H A Dbtmrvl_main.c49 ec = (void *) (skb->data + HCI_EVENT_HDR_SIZE); in btmrvl_check_evtpkt()
H A Dbtusb.c1094 hci_skb_expect(skb) = HCI_EVENT_HDR_SIZE; in btusb_recv_intr()
1104 if (skb->len == HCI_EVENT_HDR_SIZE) { in btusb_recv_intr()
3506 || (event_hdr->plen != (sk_len - HCI_EVENT_HDR_SIZE))) in handle_dump_pkt_qca()
3509 sk_ptr += HCI_EVENT_HDR_SIZE; in handle_dump_pkt_qca()
3510 sk_len -= HCI_EVENT_HDR_SIZE; in handle_dump_pkt_qca()
H A Dhci_intel.c41 #define HCI_LPM_HDR_SIZE HCI_EVENT_HDR_SIZE
H A Dhci_bcm4377.c110 #define MAX_EVENT_PAYLOAD_SIZE (HCI_MAX_EVENT_SIZE + HCI_EVENT_HDR_SIZE)
/openbmc/linux/net/bluetooth/
H A Dhci_sock.c784 skb = bt_skb_alloc(HCI_EVENT_HDR_SIZE + sizeof(*ev) + dlen, GFP_ATOMIC); in hci_si_event()
788 hdr = skb_put(skb, HCI_EVENT_HDR_SIZE); in hci_si_event()
H A Dhci_event.c7473 skb_pull(skb, HCI_EVENT_HDR_SIZE); in hci_event_packet()
/openbmc/linux/include/net/bluetooth/
H A Dhci.h2818 #define HCI_EVENT_HDR_SIZE 2 macro