Home
last modified time | relevance | path

Searched refs:hci_uart (Results 1 – 11 of 11) sorted by relevance

/linux-4.1.27/drivers/bluetooth/
DMakefile6 obj-$(CONFIG_BT_HCIUART) += hci_uart.o
28 hci_uart-y := hci_ldisc.o
29 hci_uart-$(CONFIG_BT_HCIUART_H4) += hci_h4.o
30 hci_uart-$(CONFIG_BT_HCIUART_BCSP) += hci_bcsp.o
31 hci_uart-$(CONFIG_BT_HCIUART_LL) += hci_ll.o
32 hci_uart-$(CONFIG_BT_HCIUART_ATH3K) += hci_ath.o
33 hci_uart-$(CONFIG_BT_HCIUART_3WIRE) += hci_h5.o
34 hci_uart-$(CONFIG_BT_HCIUART_INTEL) += hci_intel.o
35 hci_uart-$(CONFIG_BT_HCIUART_BCM) += hci_bcm.o
36 hci_uart-objs := $(hci_uart-y)
Dhci_uart.h56 struct hci_uart;
61 int (*open)(struct hci_uart *hu);
62 int (*close)(struct hci_uart *hu);
63 int (*flush)(struct hci_uart *hu);
64 int (*setup)(struct hci_uart *hu);
65 int (*recv)(struct hci_uart *hu, const void *data, int len);
66 int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb);
67 struct sk_buff *(*dequeue)(struct hci_uart *hu);
70 struct hci_uart { struct
97 int hci_uart_tx_wakeup(struct hci_uart *hu); argument
[all …]
Dhci_ldisc.c91 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete()
111 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue()
123 int hci_uart_tx_wakeup(struct hci_uart *hu) in hci_uart_tx_wakeup()
139 struct hci_uart *hu = container_of(work, struct hci_uart, write_work); in hci_uart_write_work()
176 struct hci_uart *hu = container_of(work, struct hci_uart, init_ready); in hci_uart_init_work()
193 int hci_uart_init_ready(struct hci_uart *hu) in hci_uart_init_ready()
219 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_flush()
254 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_send_frame()
270 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_setup()
328 struct hci_uart *hu; in hci_uart_tty_open()
[all …]
Dhci_bcm.c39 static int bcm_open(struct hci_uart *hu) in bcm_open()
55 static int bcm_close(struct hci_uart *hu) in bcm_close()
69 static int bcm_flush(struct hci_uart *hu) in bcm_flush()
80 static int bcm_setup(struct hci_uart *hu) in bcm_setup()
95 static int bcm_recv(struct hci_uart *hu, const void *data, int count) in bcm_recv()
113 static int bcm_enqueue(struct hci_uart *hu, struct sk_buff *skb) in bcm_enqueue()
126 static struct sk_buff *bcm_dequeue(struct hci_uart *hu) in bcm_dequeue()
Dhci_ath.c45 struct hci_uart *hu;
78 struct hci_uart *hu; in ath_hci_uart_work()
98 static int ath_open(struct hci_uart *hu) in ath_open()
118 static int ath_close(struct hci_uart *hu) in ath_close()
136 static int ath_flush(struct hci_uart *hu) in ath_flush()
171 static int ath_setup(struct hci_uart *hu) in ath_setup()
186 static int ath_recv(struct hci_uart *hu, const void *data, int count) in ath_recv()
203 static int ath_enqueue(struct hci_uart *hu, struct sk_buff *skb) in ath_enqueue()
235 static struct sk_buff *ath_dequeue(struct hci_uart *hu) in ath_dequeue()
Dhci_h5.c78 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()
131 struct hci_uart *hu = (struct hci_uart *) arg; in h5_timed_event()
171 static void h5_peer_reset(struct hci_uart *hu) in h5_peer_reset()
192 static int h5_open(struct hci_uart *hu) in h5_open()
226 static int h5_close(struct hci_uart *hu) in h5_close()
283 static void h5_handle_internal_rx(struct hci_uart *hu) in h5_handle_internal_rx()
344 static void h5_complete_rx_pkt(struct hci_uart *hu) in h5_complete_rx_pkt()
381 static int h5_rx_crc(struct hci_uart *hu, unsigned char c) in h5_rx_crc()
388 static int h5_rx_payload(struct hci_uart *hu, unsigned char c) in h5_rx_payload()
[all …]
Dhci_ll.c93 static int send_hcill_cmd(u8 cmd, struct hci_uart *hu) in send_hcill_cmd()
121 static int ll_open(struct hci_uart *hu) in ll_open()
143 static int ll_flush(struct hci_uart *hu) in ll_flush()
156 static int ll_close(struct hci_uart *hu) in ll_close()
194 static void ll_device_want_to_wakeup(struct hci_uart *hu) in ll_device_want_to_wakeup()
244 static void ll_device_want_to_sleep(struct hci_uart *hu) in ll_device_want_to_sleep()
277 static void ll_device_woke_up(struct hci_uart *hu) in ll_device_woke_up()
302 static int ll_enqueue(struct hci_uart *hu, struct sk_buff *skb) in ll_enqueue()
373 static int ll_recv(struct hci_uart *hu, const void *data, int count) in ll_recv()
502 static struct sk_buff *ll_dequeue(struct hci_uart *hu) in ll_dequeue()
Dhci_h4.c56 static int h4_open(struct hci_uart *hu) in h4_open()
73 static int h4_flush(struct hci_uart *hu) in h4_flush()
85 static int h4_close(struct hci_uart *hu) in h4_close()
104 static int h4_enqueue(struct hci_uart *hu, struct sk_buff *skb) in h4_enqueue()
124 static int h4_recv(struct hci_uart *hu, const void *data, int count) in h4_recv()
142 static struct sk_buff *h4_dequeue(struct hci_uart *hu) in h4_dequeue()
Dhci_bcsp.c148 static int bcsp_enqueue(struct hci_uart *hu, struct sk_buff *skb) in bcsp_enqueue()
283 static struct sk_buff *bcsp_dequeue(struct hci_uart *hu) in bcsp_dequeue()
344 static int bcsp_flush(struct hci_uart *hu) in bcsp_flush()
399 static void bcsp_handle_le_pkt(struct hci_uart *hu) in bcsp_handle_le_pkt()
476 static void bcsp_complete_rx_pkt(struct hci_uart *hu) in bcsp_complete_rx_pkt()
555 static int bcsp_recv(struct hci_uart *hu, const void *data, int count) in bcsp_recv()
672 struct hci_uart *hu = (struct hci_uart *) arg; in bcsp_timed_event()
691 static int bcsp_open(struct hci_uart *hu) in bcsp_open()
718 static int bcsp_close(struct hci_uart *hu) in bcsp_close()
DKconfig57 kernel or say M to compile it as module (hci_uart).
/linux-4.1.27/Documentation/ioctl/
Dioctl-number.txt178 'U' C0-CF drivers/bluetooth/hci_uart.h