Lines Matching defs:rx_skb
84 struct sk_buff *rx_skb;
225 if (info->rx_skb == NULL)
226 if (!(info->rx_skb = bt_skb_alloc(HCI_MAX_FRAME_SIZE, GFP_ATOMIC))) {
233 *skb_put(info->rx_skb, 1) = inb(iobase + UART_RX);
234 nsh = (nsh_t *)info->rx_skb->data;
246 bt_cb(info->rx_skb)->pkt_type = nsh->type;
250 info->rx_skb->tail--;
251 info->rx_skb->len--;
255 skb_pull(info->rx_skb, NSHL);
257 switch (bt_cb(info->rx_skb)->pkt_type) {
260 dtl1_control(info, info->rx_skb);
266 info->rx_skb->dev = (void *) info->hdev;
267 bt_cb(info->rx_skb)->pkt_type &= 0x0f;
268 hci_recv_frame(info->rx_skb);
272 BT_ERR("Unknown HCI packet with type 0x%02x received", bt_cb(info->rx_skb)->pkt_type);
273 kfree_skb(info->rx_skb);
279 info->rx_skb = NULL;
471 info->rx_skb = NULL;