Lines Matching refs:hu
31 struct hci_uart *hu;
75 struct hci_uart *hu;
80 hu = ath->hu;
81 tty = hu->tty;
91 clear_bit(HCI_UART_SENDING, &hu->tx_state);
92 hci_uart_tx_wakeup(hu);
95 static int ath_open(struct hci_uart *hu)
99 BT_DBG("hu %p", hu);
101 if (!hci_uart_has_flow_control(hu))
110 hu->priv = ath;
111 ath->hu = hu;
118 static int ath_close(struct hci_uart *hu)
120 struct ath_struct *ath = hu->priv;
122 BT_DBG("hu %p", hu);
130 hu->priv = NULL;
136 static int ath_flush(struct hci_uart *hu)
138 struct ath_struct *ath = hu->priv;
140 BT_DBG("hu %p", hu);
175 static int ath_setup(struct hci_uart *hu)
177 BT_DBG("hu %p", hu);
179 hu->hdev->set_bdaddr = ath_set_bdaddr;
190 static int ath_recv(struct hci_uart *hu, const void *data, int count)
192 struct ath_struct *ath = hu->priv;
194 ath->rx_skb = h4_recv_buf(hu->hdev, ath->rx_skb, data, count,
198 bt_dev_err(hu->hdev, "Frame reassembly failed (%d)", err);
208 static int ath_enqueue(struct hci_uart *hu, struct sk_buff *skb)
210 struct ath_struct *ath = hu->priv;
227 BT_DBG("hu %p skb %p", hu, skb);
233 set_bit(HCI_UART_SENDING, &hu->tx_state);
240 static struct sk_buff *ath_dequeue(struct hci_uart *hu)
242 struct ath_struct *ath = hu->priv;