Lines Matching refs:hu
33 static int ag6xx_open(struct hci_uart *hu) in ag6xx_open() argument
37 BT_DBG("hu %p", hu); in ag6xx_open()
45 hu->priv = ag6xx; in ag6xx_open()
49 static int ag6xx_close(struct hci_uart *hu) in ag6xx_close() argument
51 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_close()
53 BT_DBG("hu %p", hu); in ag6xx_close()
59 hu->priv = NULL; in ag6xx_close()
63 static int ag6xx_flush(struct hci_uart *hu) in ag6xx_flush() argument
65 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_flush()
67 BT_DBG("hu %p", hu); in ag6xx_flush()
73 static struct sk_buff *ag6xx_dequeue(struct hci_uart *hu) in ag6xx_dequeue() argument
75 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_dequeue()
87 static int ag6xx_enqueue(struct hci_uart *hu, struct sk_buff *skb) in ag6xx_enqueue() argument
89 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_enqueue()
101 static int ag6xx_recv(struct hci_uart *hu, const void *data, int count) in ag6xx_recv() argument
103 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_recv()
105 if (!test_bit(HCI_UART_REGISTERED, &hu->flags)) in ag6xx_recv()
108 ag6xx->rx_skb = h4_recv_buf(hu->hdev, ag6xx->rx_skb, data, count, in ag6xx_recv()
113 bt_dev_err(hu->hdev, "Frame reassembly failed (%d)", err); in ag6xx_recv()
151 static int ag6xx_setup(struct hci_uart *hu) in ag6xx_setup() argument
153 struct hci_dev *hdev = hu->hdev; in ag6xx_setup()
162 hu->hdev->set_diag = btintel_set_diag; in ag6xx_setup()
163 hu->hdev->set_bdaddr = btintel_set_bdaddr; in ag6xx_setup()