Home
last modified time | relevance | path

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

/linux/drivers/bluetooth/
H A Dh4_recv.h36 .hlen = HCI_EVENT_HDR_SIZE, \
H A Dhci_uart.h152 .hlen = HCI_EVENT_HDR_SIZE, \
H A Dbtintel_pcie.c532 if (skb->len > HCI_EVENT_HDR_SIZE && hdr->evt == 0xff && in btintel_pcie_recv_event()
534 const void *ptr = skb->data + HCI_EVENT_HDR_SIZE + 1; in btintel_pcie_recv_event()
535 unsigned int len = skb->len - HCI_EVENT_HDR_SIZE - 1; in btintel_pcie_recv_event()
654 if (skb->len >= HCI_EVENT_HDR_SIZE) { in btintel_pcie_recv_frame()
655 plen = HCI_EVENT_HDR_SIZE + hci_event_hdr(skb)->plen; in btintel_pcie_recv_frame()
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 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 Dbtusb.c1159 hci_skb_expect(skb) = HCI_EVENT_HDR_SIZE; in btusb_recv_intr()
1169 if (skb->len == HCI_EVENT_HDR_SIZE) { in btusb_recv_intr()
3015 || (event_hdr->plen != (sk_len - HCI_EVENT_HDR_SIZE))) in handle_dump_pkt_qca()
3018 sk_ptr += HCI_EVENT_HDR_SIZE; in handle_dump_pkt_qca()
3019 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.c113 #define MAX_EVENT_PAYLOAD_SIZE (HCI_MAX_EVENT_SIZE + HCI_EVENT_HDR_SIZE)
/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.c7525 skb_pull(skb, HCI_EVENT_HDR_SIZE); in hci_event_packet()
/linux/include/net/bluetooth/
H A Dhci.h2856 #define HCI_EVENT_HDR_SIZE 2 macro