Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/bluetooth/
Dh4_recv.h36 .hlen = HCI_EVENT_HDR_SIZE, \
Dhci_uart.h142 .hlen = HCI_EVENT_HDR_SIZE, \
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()
Dhci_bcsp.c545 memcpy(skb_push(bcsp->rx_skb, HCI_EVENT_HDR_SIZE), &hdr, HCI_EVENT_HDR_SIZE); in bcsp_complete_rx_pkt()
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()
Dbt3c_cs.c256 info->rx_count = HCI_EVENT_HDR_SIZE; in bt3c_receive()
Dbluecard_cs.c418 info->rx_count = HCI_EVENT_HDR_SIZE; in bluecard_receive()
Dbtmrvl_main.c49 ec = (void *) (skb->data + HCI_EVENT_HDR_SIZE); in btmrvl_check_evtpkt()
Dbtusb.c1092 hci_skb_expect(skb) = HCI_EVENT_HDR_SIZE; in btusb_recv_intr()
1102 if (skb->len == HCI_EVENT_HDR_SIZE) { in btusb_recv_intr()
3503 || (event_hdr->plen != (sk_len - HCI_EVENT_HDR_SIZE))) in handle_dump_pkt_qca()
3506 sk_ptr += HCI_EVENT_HDR_SIZE; in handle_dump_pkt_qca()
3507 sk_len -= HCI_EVENT_HDR_SIZE; in handle_dump_pkt_qca()
Dhci_intel.c41 #define HCI_LPM_HDR_SIZE HCI_EVENT_HDR_SIZE
Dhci_bcm4377.c110 #define MAX_EVENT_PAYLOAD_SIZE (HCI_MAX_EVENT_SIZE + HCI_EVENT_HDR_SIZE)
/linux-6.6.21/net/bluetooth/
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()
Dhci_event.c7744 skb_pull(skb, HCI_EVENT_HDR_SIZE); in hci_event_packet()
/linux-6.6.21/include/net/bluetooth/
Dhci.h2908 #define HCI_EVENT_HDR_SIZE 2 macro