Lines Matching refs:rx_skb
82 struct sk_buff *rx_skb; member
236 if (!info->rx_skb) { in bt3c_receive()
239 info->rx_skb = bt_skb_alloc(HCI_MAX_FRAME_SIZE, GFP_ATOMIC); in bt3c_receive()
240 if (!info->rx_skb) { in bt3c_receive()
249 bt_cb(info->rx_skb)->pkt_type = inb(iobase + DATA_L); in bt3c_receive()
252 switch (bt_cb(info->rx_skb)->pkt_type) { in bt3c_receive()
271 BT_ERR("Unknown HCI packet with type 0x%02x received", bt_cb(info->rx_skb)->pkt_type); in bt3c_receive()
274 kfree_skb(info->rx_skb); in bt3c_receive()
275 info->rx_skb = NULL; in bt3c_receive()
284 *skb_put(info->rx_skb, 1) = x; in bt3c_receive()
298 eh = hci_event_hdr(info->rx_skb); in bt3c_receive()
304 ah = hci_acl_hdr(info->rx_skb); in bt3c_receive()
311 sh = hci_sco_hdr(info->rx_skb); in bt3c_receive()
317 hci_recv_frame(info->hdev, info->rx_skb); in bt3c_receive()
318 info->rx_skb = NULL; in bt3c_receive()
546 info->rx_skb = NULL; in bt3c_open()