Searched refs:hu (Results 1 – 7 of 7) sorted by relevance
/drivers/bluetooth/ |
D | hci_ldisc.c | 87 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete() argument 89 struct hci_dev *hdev = hu->hdev; in hci_uart_tx_complete() 107 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue() argument 109 struct sk_buff *skb = hu->tx_skb; in hci_uart_dequeue() 112 skb = hu->proto->dequeue(hu); in hci_uart_dequeue() 114 hu->tx_skb = NULL; in hci_uart_dequeue() 119 int hci_uart_tx_wakeup(struct hci_uart *hu) in hci_uart_tx_wakeup() argument 121 if (test_and_set_bit(HCI_UART_SENDING, &hu->tx_state)) { in hci_uart_tx_wakeup() 122 set_bit(HCI_UART_TX_WAKEUP, &hu->tx_state); in hci_uart_tx_wakeup() 128 schedule_work(&hu->write_work); in hci_uart_tx_wakeup() [all …]
|
D | hci_ll.c | 93 static int send_hcill_cmd(u8 cmd, struct hci_uart *hu) in send_hcill_cmd() argument 97 struct ll_struct *ll = hu->priv; in send_hcill_cmd() 100 BT_DBG("hu %p cmd 0x%x", hu, cmd); in send_hcill_cmd() 121 static int ll_open(struct hci_uart *hu) in ll_open() argument 125 BT_DBG("hu %p", hu); in ll_open() 137 hu->priv = ll; in ll_open() 143 static int ll_flush(struct hci_uart *hu) in ll_flush() argument 145 struct ll_struct *ll = hu->priv; in ll_flush() 147 BT_DBG("hu %p", hu); in ll_flush() 156 static int ll_close(struct hci_uart *hu) in ll_close() argument [all …]
|
D | hci_ath.c | 45 struct hci_uart *hu; member 88 struct hci_uart *hu; in ath_hci_uart_work() local 93 hu = ath->hu; in ath_hci_uart_work() 94 tty = hu->tty; in ath_hci_uart_work() 104 clear_bit(HCI_UART_SENDING, &hu->tx_state); in ath_hci_uart_work() 105 hci_uart_tx_wakeup(hu); in ath_hci_uart_work() 109 static int ath_open(struct hci_uart *hu) in ath_open() argument 113 BT_DBG("hu %p", hu); in ath_open() 121 hu->priv = ath; in ath_open() 122 ath->hu = hu; in ath_open() [all …]
|
D | hci_h5.c | 78 int (*rx_func) (struct hci_uart *hu, u8 c); 101 static void h5_link_control(struct hci_uart *hu, const void *data, size_t len) in h5_link_control() argument 103 struct h5 *h5 = hu->priv; in h5_link_control() 131 struct hci_uart *hu = (struct hci_uart *) arg; in h5_timed_event() local 132 struct h5 *h5 = hu->priv; in h5_timed_event() 136 BT_DBG("%s", hu->hdev->name); in h5_timed_event() 139 h5_link_control(hu, sync_req, sizeof(sync_req)); in h5_timed_event() 143 h5_link_control(hu, conf_req, sizeof(conf_req)); in h5_timed_event() 156 BT_DBG("hu %p retransmitting %u pkts", hu, h5->unack.qlen); in h5_timed_event() 168 hci_uart_tx_wakeup(hu); in h5_timed_event() [all …]
|
D | hci_h4.c | 59 static int h4_open(struct hci_uart *hu) in h4_open() argument 63 BT_DBG("hu %p", hu); in h4_open() 71 hu->priv = h4; in h4_open() 76 static int h4_flush(struct hci_uart *hu) in h4_flush() argument 78 struct h4_struct *h4 = hu->priv; in h4_flush() 80 BT_DBG("hu %p", hu); in h4_flush() 88 static int h4_close(struct hci_uart *hu) in h4_close() argument 90 struct h4_struct *h4 = hu->priv; in h4_close() 92 hu->priv = NULL; in h4_close() 94 BT_DBG("hu %p", hu); in h4_close() [all …]
|
D | hci_bcsp.c | 150 static int bcsp_enqueue(struct hci_uart *hu, struct sk_buff *skb) in bcsp_enqueue() argument 152 struct bcsp_struct *bcsp = hu->priv; in bcsp_enqueue() 285 static struct sk_buff *bcsp_dequeue(struct hci_uart *hu) in bcsp_dequeue() argument 287 struct bcsp_struct *bcsp = hu->priv; in bcsp_dequeue() 346 static int bcsp_flush(struct hci_uart *hu) in bcsp_flush() argument 348 BT_DBG("hu %p", hu); in bcsp_flush() 401 static void bcsp_handle_le_pkt(struct hci_uart *hu) in bcsp_handle_le_pkt() argument 403 struct bcsp_struct *bcsp = hu->priv; in bcsp_handle_le_pkt() 420 hci_uart_tx_wakeup(hu); in bcsp_handle_le_pkt() 478 static void bcsp_complete_rx_pkt(struct hci_uart *hu) in bcsp_complete_rx_pkt() argument [all …]
|
D | hci_uart.h | 57 int (*open)(struct hci_uart *hu); 58 int (*close)(struct hci_uart *hu); 59 int (*flush)(struct hci_uart *hu); 60 int (*recv)(struct hci_uart *hu, void *data, int len); 61 int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb); 62 struct sk_buff *(*dequeue)(struct hci_uart *hu); 92 int hci_uart_tx_wakeup(struct hci_uart *hu); 93 int hci_uart_init_ready(struct hci_uart *hu);
|