Lines Matching refs:rx_skb
77 struct sk_buff *rx_skb; member
191 if (!info->rx_skb) { 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()
227 kfree_skb(info->rx_skb); in btuart_receive()
228 info->rx_skb = NULL; in btuart_receive()
235 *skb_put(info->rx_skb, 1) = inb(iobase + UART_RX); in btuart_receive()
249 eh = hci_event_hdr(info->rx_skb); in btuart_receive()
255 ah = hci_acl_hdr(info->rx_skb); in btuart_receive()
262 sh = hci_sco_hdr(info->rx_skb); in btuart_receive()
268 hci_recv_frame(info->hdev, info->rx_skb); in btuart_receive()
269 info->rx_skb = NULL; in btuart_receive()
465 info->rx_skb = NULL; in btuart_open()