Lines Matching refs:hu
150 static int bcsp_enqueue(struct hci_uart *hu, struct sk_buff *skb)
152 struct bcsp_struct *bcsp = hu->priv;
285 static struct sk_buff *bcsp_dequeue(struct hci_uart *hu)
287 struct bcsp_struct *bcsp = hu->priv;
341 static int bcsp_flush(struct hci_uart *hu)
343 BT_DBG("hu %p", hu);
396 static void bcsp_handle_le_pkt(struct hci_uart *hu)
398 struct bcsp_struct *bcsp = hu->priv;
415 hci_uart_tx_wakeup(hu);
473 static void bcsp_complete_rx_pkt(struct hci_uart *hu)
475 struct bcsp_struct *bcsp = hu->priv;
485 hci_uart_tx_wakeup(hu);
505 bcsp_handle_le_pkt(hu);
552 static int bcsp_recv(struct hci_uart *hu, void *data, int count)
554 struct bcsp_struct *bcsp = hu->priv;
557 BT_DBG("hu %p count %d rx_state %d rx_count %ld",
558 hu, count, bcsp->rx_state, bcsp->rx_count);
605 bcsp_complete_rx_pkt(hu);
620 bcsp_complete_rx_pkt(hu);
658 bcsp->rx_skb->dev = (void *) hu->hdev;
670 struct hci_uart *hu = (struct hci_uart *) arg;
671 struct bcsp_struct *bcsp = hu->priv;
675 BT_DBG("hu %p retransmitting %u pkts", hu, bcsp->unack.qlen);
686 hci_uart_tx_wakeup(hu);
689 static int bcsp_open(struct hci_uart *hu)
693 BT_DBG("hu %p", hu);
699 hu->priv = bcsp;
706 bcsp->tbcsp.data = (u_long) hu;
716 static int bcsp_close(struct hci_uart *hu)
718 struct bcsp_struct *bcsp = hu->priv;
719 hu->priv = NULL;
721 BT_DBG("hu %p", hu);