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