Home
last modified time | relevance | path

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

/linux-6.15/drivers/bluetooth/
H A Dh4_recv.h36 .hlen = HCI_EVENT_HDR_SIZE, \
H A Dhci_uart.h153 .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_pcie.c895 if (skb->len > HCI_EVENT_HDR_SIZE && hdr->evt == 0xff && in btintel_pcie_recv_event()
897 const void *ptr = skb->data + HCI_EVENT_HDR_SIZE + 1; in btintel_pcie_recv_event()
898 unsigned int len = skb->len - HCI_EVENT_HDR_SIZE - 1; in btintel_pcie_recv_event()
1018 if (skb->len >= HCI_EVENT_HDR_SIZE) { in btintel_pcie_recv_frame()
1019 plen = HCI_EVENT_HDR_SIZE + hci_event_hdr(skb)->plen; in btintel_pcie_recv_frame()
H A Dbt3c_cs.c256 info->rx_count = HCI_EVENT_HDR_SIZE; in bt3c_receive()
H A Dbtintel.c1604 while (remain > HCI_EVENT_HDR_SIZE && *fw_ptr[0] == 0x02) { in btintel_legacy_rom_patching()
3726 if (skb->len > HCI_EVENT_HDR_SIZE && hdr->evt == 0xff && in btintel_recv_event()
3728 const void *ptr = skb->data + HCI_EVENT_HDR_SIZE + 1; in btintel_recv_event()
3729 unsigned int len = skb->len - HCI_EVENT_HDR_SIZE - 1; in btintel_recv_event()
H A Dbtmrvl_main.c50 ec = (void *) (skb->data + HCI_EVENT_HDR_SIZE); in btmrvl_check_evtpkt()
H A Dbluecard_cs.c418 info->rx_count = HCI_EVENT_HDR_SIZE; in bluecard_receive()
H A Dhci_intel.c41 #define HCI_LPM_HDR_SIZE HCI_EVENT_HDR_SIZE
H A Dbtusb.c1191 hci_skb_expect(skb) = HCI_EVENT_HDR_SIZE; in btusb_recv_intr()
1201 if (skb->len == HCI_EVENT_HDR_SIZE) { in btusb_recv_intr()
H A Dhci_bcm4377.c113 #define MAX_EVENT_PAYLOAD_SIZE (HCI_MAX_EVENT_SIZE + HCI_EVENT_HDR_SIZE)
/linux-6.15/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.c7542 skb_pull(skb, HCI_EVENT_HDR_SIZE); in hci_event_packet()
/linux-6.15/include/net/bluetooth/
H A Dhci.h2892 #define HCI_EVENT_HDR_SIZE 2 macro