Lines Matching defs:hu
45 struct hci_uart *hu;
88 struct hci_uart *hu;
93 hu = ath->hu;
94 tty = hu->tty;
104 clear_bit(HCI_UART_SENDING, &hu->tx_state);
105 hci_uart_tx_wakeup(hu);
109 static int ath_open(struct hci_uart *hu)
113 BT_DBG("hu %p", hu);
121 hu->priv = ath;
122 ath->hu = hu;
130 static int ath_flush(struct hci_uart *hu)
132 struct ath_struct *ath = hu->priv;
134 BT_DBG("hu %p", hu);
142 static int ath_close(struct hci_uart *hu)
144 struct ath_struct *ath = hu->priv;
146 BT_DBG("hu %p", hu);
152 hu->priv = NULL;
161 static int ath_enqueue(struct hci_uart *hu, struct sk_buff *skb)
163 struct ath_struct *ath = hu->priv;
181 BT_DBG("hu %p skb %p", hu, skb);
187 set_bit(HCI_UART_SENDING, &hu->tx_state);
194 static struct sk_buff *ath_dequeue(struct hci_uart *hu)
196 struct ath_struct *ath = hu->priv;
202 static int ath_recv(struct hci_uart *hu, void *data, int count)
204 if (hci_recv_stream_fragment(hu->hdev, data, count) < 0)