Lines Matching refs:rx_skb
82 struct sk_buff *rx_skb; member
237 if (info->rx_skb == NULL) { in bt3c_receive()
240 info->rx_skb = bt_skb_alloc(HCI_MAX_FRAME_SIZE, GFP_ATOMIC); in bt3c_receive()
241 if (!info->rx_skb) { in bt3c_receive()
250 bt_cb(info->rx_skb)->pkt_type = inb(iobase + DATA_L); in bt3c_receive()
253 switch (bt_cb(info->rx_skb)->pkt_type) { in bt3c_receive()
272 BT_ERR("Unknown HCI packet with type 0x%02x received", bt_cb(info->rx_skb)->pkt_type); in bt3c_receive()
276 kfree_skb(info->rx_skb); in bt3c_receive()
277 info->rx_skb = NULL; in bt3c_receive()
286 *skb_put(info->rx_skb, 1) = x; in bt3c_receive()
300 eh = hci_event_hdr(info->rx_skb); in bt3c_receive()
306 ah = hci_acl_hdr(info->rx_skb); in bt3c_receive()
313 sh = hci_sco_hdr(info->rx_skb); in bt3c_receive()
319 hci_recv_frame(info->hdev, info->rx_skb); in bt3c_receive()
320 info->rx_skb = NULL; in bt3c_receive()
549 info->rx_skb = NULL; in bt3c_open()