Lines Matching refs:rx_skb
77 struct sk_buff *rx_skb; member
191 if (info->rx_skb == NULL) { in btuart_receive()
194 info->rx_skb = bt_skb_alloc(HCI_MAX_FRAME_SIZE, GFP_ATOMIC); in btuart_receive()
195 if (!info->rx_skb) { in btuart_receive()
203 bt_cb(info->rx_skb)->pkt_type = inb(iobase + UART_RX); in btuart_receive()
205 switch (bt_cb(info->rx_skb)->pkt_type) { in btuart_receive()
224 BT_ERR("Unknown HCI packet with type 0x%02x received", bt_cb(info->rx_skb)->pkt_type); in btuart_receive()
228 kfree_skb(info->rx_skb); in btuart_receive()
229 info->rx_skb = NULL; in btuart_receive()
236 *skb_put(info->rx_skb, 1) = inb(iobase + UART_RX); in btuart_receive()
250 eh = hci_event_hdr(info->rx_skb); in btuart_receive()
256 ah = hci_acl_hdr(info->rx_skb); in btuart_receive()
263 sh = hci_sco_hdr(info->rx_skb); in btuart_receive()
269 hci_recv_frame(info->hdev, info->rx_skb); in btuart_receive()
270 info->rx_skb = NULL; in btuart_receive()
471 info->rx_skb = NULL; in btuart_open()