Home
last modified time | relevance | path

Searched refs:hci_skb_expect (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/bluetooth/
H A Dh4_recv.h66 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf()
78 len = min_t(uint, hci_skb_expect(skb) - skb->len, count); in h4_recv_buf()
85 if (skb->len < hci_skb_expect(skb)) in h4_recv_buf()
109 hci_skb_expect(skb) += dlen; in h4_recv_buf()
120 hci_skb_expect(skb) += dlen; in h4_recv_buf()
H A Dhci_h4.c187 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf()
199 len = min_t(uint, hci_skb_expect(skb) - skb->len, count); in h4_recv_buf()
206 if (skb->len < hci_skb_expect(skb)) in h4_recv_buf()
230 hci_skb_expect(skb) += dlen; in h4_recv_buf()
241 hci_skb_expect(skb) += dlen; in h4_recv_buf()
H A Dbtusb.c1098 hci_skb_expect(skb) = HCI_EVENT_HDR_SIZE; in btusb_recv_intr()
1106 hci_skb_expect(skb) -= len; in btusb_recv_intr()
1121 if (!hci_skb_expect(skb)) { in btusb_recv_intr()
1168 hci_skb_expect(skb) = HCI_ACL_HDR_SIZE; in btusb_recv_bulk()
1176 hci_skb_expect(skb) -= len; in btusb_recv_bulk()
1182 hci_skb_expect(skb) = __le16_to_cpu(dlen); in btusb_recv_bulk()
1193 if (!hci_skb_expect(skb)) { in btusb_recv_bulk()
1254 hci_skb_expect(skb) = HCI_SCO_HDR_SIZE; in btusb_recv_isoc()
1262 hci_skb_expect(skb) -= len; in btusb_recv_isoc()
1268 hci_skb_expect(skb) = hdr->dlen; in btusb_recv_isoc()
[all …]
/openbmc/linux/include/net/bluetooth/
H A Dbluetooth.h480 #define hci_skb_expect(skb) bt_cb((skb))->expect macro