Lines Matching refs:pkts
172 const struct h4_recv_pkt *pkts, int pkts_count) in h4_recv_buf() argument
179 if (buffer[0] != (&pkts[i])->type) in h4_recv_buf()
182 skb = bt_skb_alloc((&pkts[i])->maxlen, in h4_recv_buf()
187 bt_cb(skb)->pkt_type = (&pkts[i])->type; in h4_recv_buf()
188 bt_cb(skb)->expect = (&pkts[i])->hlen; in h4_recv_buf()
211 if (bt_cb(skb)->pkt_type == (&pkts[i])->type) in h4_recv_buf()
220 if (skb->len == (&pkts[i])->hlen) { in h4_recv_buf()
223 switch ((&pkts[i])->lsize) { in h4_recv_buf()
230 dlen = skb->data[(&pkts[i])->loff]; in h4_recv_buf()
241 (&pkts[i])->loff); in h4_recv_buf()
257 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()
262 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()