Home
last modified time | relevance | path

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

/linux/drivers/bluetooth/ !
H A Dhci_uart.h149 .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.c1031 if (skb->len > HCI_EVENT_HDR_SIZE && hdr->evt == 0xff && in btintel_pcie_recv_event()
1033 const void *ptr = skb->data + HCI_EVENT_HDR_SIZE + 1; in btintel_pcie_recv_event()
1034 unsigned int len = skb->len - HCI_EVENT_HDR_SIZE - 1; in btintel_pcie_recv_event()
1145 if (skb->len >= HCI_EVENT_HDR_SIZE) { in btintel_pcie_recv_frame()
1146 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.c1610 while (remain > HCI_EVENT_HDR_SIZE && *fw_ptr[0] == 0x02) { in btintel_legacy_rom_patching()
3727 if (skb->len > HCI_EVENT_HDR_SIZE && hdr->evt == 0xff && in btintel_recv_event()
3729 const void *ptr = skb->data + HCI_EVENT_HDR_SIZE + 1; in btintel_recv_event()
3730 unsigned int len = skb->len - HCI_EVENT_HDR_SIZE - 1; in btintel_recv_event()
H A Dbluecard_cs.c418 info->rx_count = HCI_EVENT_HDR_SIZE; in bluecard_receive()
H A Dbtmrvl_main.c50 ec = (void *) (skb->data + HCI_EVENT_HDR_SIZE); in btmrvl_check_evtpkt()
H A Dhci_intel.c41 #define HCI_LPM_HDR_SIZE HCI_EVENT_HDR_SIZE
H A Dbtusb.c1221 hci_skb_expect(skb) = HCI_EVENT_HDR_SIZE; in btusb_recv_intr()
1231 if (skb->len == HCI_EVENT_HDR_SIZE) { in btusb_recv_intr()
1250 if (count && count < 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/net/bluetooth/ !
H A Dhci_sock.c791 skb = bt_skb_alloc(HCI_EVENT_HDR_SIZE + sizeof(*ev) + dlen, GFP_ATOMIC); in hci_si_event()
795 hdr = skb_put(skb, HCI_EVENT_HDR_SIZE); in hci_si_event()
H A Dhci_event.c7813 skb_pull(skb, HCI_EVENT_HDR_SIZE); in hci_event_packet()
/linux/include/net/bluetooth/ !
H A Dhci.h3320 #define HCI_EVENT_HDR_SIZE 2 macro