Lines Matching refs:hu

53 	struct	hci_uart *hu;  member
134 static int bcsp_enqueue(struct hci_uart *hu, struct sk_buff *skb) in bcsp_enqueue() argument
136 struct bcsp_struct *bcsp = hu->priv; in bcsp_enqueue()
271 static struct sk_buff *bcsp_dequeue(struct hci_uart *hu) in bcsp_dequeue() argument
273 struct bcsp_struct *bcsp = hu->priv; in bcsp_dequeue()
341 static int bcsp_flush(struct hci_uart *hu) in bcsp_flush() argument
343 BT_DBG("hu %p", hu); in bcsp_flush()
397 static void bcsp_handle_le_pkt(struct hci_uart *hu) in bcsp_handle_le_pkt() argument
399 struct bcsp_struct *bcsp = hu->priv; in bcsp_handle_le_pkt()
416 hci_uart_tx_wakeup(hu); in bcsp_handle_le_pkt()
474 static void bcsp_complete_rx_pkt(struct hci_uart *hu) in bcsp_complete_rx_pkt() argument
476 struct bcsp_struct *bcsp = hu->priv; in bcsp_complete_rx_pkt()
501 hci_uart_tx_wakeup(hu); in bcsp_complete_rx_pkt()
526 bcsp_handle_le_pkt(hu); in bcsp_complete_rx_pkt()
548 hci_recv_frame(hu->hdev, bcsp->rx_skb); in bcsp_complete_rx_pkt()
562 hci_recv_frame(hu->hdev, bcsp->rx_skb); in bcsp_complete_rx_pkt()
580 static int bcsp_recv(struct hci_uart *hu, const void *data, int count) in bcsp_recv() argument
582 struct bcsp_struct *bcsp = hu->priv; in bcsp_recv()
586 hu, count, bcsp->rx_state, bcsp->rx_count); in bcsp_recv()
625 bcsp_complete_rx_pkt(hu); in bcsp_recv()
641 bcsp_complete_rx_pkt(hu); in bcsp_recv()
692 struct hci_uart *hu = bcsp->hu; in bcsp_timed_event() local
696 BT_DBG("hu %p retransmitting %u pkts", hu, bcsp->unack.qlen); in bcsp_timed_event()
707 hci_uart_tx_wakeup(hu); in bcsp_timed_event()
710 static int bcsp_open(struct hci_uart *hu) in bcsp_open() argument
714 BT_DBG("hu %p", hu); in bcsp_open()
720 hu->priv = bcsp; in bcsp_open()
721 bcsp->hu = hu; in bcsp_open()
736 static int bcsp_close(struct hci_uart *hu) in bcsp_close() argument
738 struct bcsp_struct *bcsp = hu->priv; in bcsp_close()
742 hu->priv = NULL; in bcsp_close()
744 BT_DBG("hu %p", hu); in bcsp_close()