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