Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/bluetooth/
DMakefile7 obj-$(CONFIG_BT_HCIUART) += hci_uart.o
36 hci_uart-y := hci_ldisc.o
37 hci_uart-$(CONFIG_BT_HCIUART_SERDEV) += hci_serdev.o
38 hci_uart-$(CONFIG_BT_HCIUART_H4) += hci_h4.o
39 hci_uart-$(CONFIG_BT_HCIUART_BCSP) += hci_bcsp.o
40 hci_uart-$(CONFIG_BT_HCIUART_LL) += hci_ll.o
41 hci_uart-$(CONFIG_BT_HCIUART_ATH3K) += hci_ath.o
42 hci_uart-$(CONFIG_BT_HCIUART_3WIRE) += hci_h5.o
43 hci_uart-$(CONFIG_BT_HCIUART_INTEL) += hci_intel.o
44 hci_uart-$(CONFIG_BT_HCIUART_BCM) += hci_bcm.o
[all …]
Dhci_uart.h60 struct hci_uart;
69 int (*open)(struct hci_uart *hu);
70 int (*close)(struct hci_uart *hu);
71 int (*flush)(struct hci_uart *hu);
72 int (*setup)(struct hci_uart *hu);
73 int (*set_baudrate)(struct hci_uart *hu, unsigned int speed);
74 int (*recv)(struct hci_uart *hu, const void *data, int len);
75 int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb);
76 struct sk_buff *(*dequeue)(struct hci_uart *hu);
79 struct hci_uart { struct
[all …]
Dhci_ldisc.c93 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete()
113 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue()
131 int hci_uart_tx_wakeup(struct hci_uart *hu) in hci_uart_tx_wakeup()
163 struct hci_uart *hu = container_of(work, struct hci_uart, write_work); in hci_uart_write_work()
200 struct hci_uart *hu = container_of(work, struct hci_uart, init_ready); in hci_uart_init_work()
221 int hci_uart_init_ready(struct hci_uart *hu) in hci_uart_init_ready()
235 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_flush()
282 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_send_frame()
303 void hci_uart_set_flow_control(struct hci_uart *hu, bool enable) in hci_uart_set_flow_control()
361 void hci_uart_set_speeds(struct hci_uart *hu, unsigned int init_speed, in hci_uart_set_speeds()
[all …]
Dhci_ath.c45 struct hci_uart *hu;
89 struct hci_uart *hu; in ath_hci_uart_work()
109 static int ath_open(struct hci_uart *hu) in ath_open()
129 static int ath_close(struct hci_uart *hu) in ath_close()
147 static int ath_flush(struct hci_uart *hu) in ath_flush()
186 static int ath_setup(struct hci_uart *hu) in ath_setup()
201 static int ath_recv(struct hci_uart *hu, const void *data, int count) in ath_recv()
219 static int ath_enqueue(struct hci_uart *hu, struct sk_buff *skb) in ath_enqueue()
251 static struct sk_buff *ath_dequeue(struct hci_uart *hu) in ath_dequeue()
Dhci_serdev.c36 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete()
56 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue()
70 struct hci_uart *hu = container_of(work, struct hci_uart, write_work); in hci_uart_write_work()
107 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_flush()
149 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_send_frame()
163 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_setup()
225 struct hci_uart *hu = serdev_device_get_drvdata(serdev); in hci_uart_write_wakeup()
251 struct hci_uart *hu = serdev_device_get_drvdata(serdev); in hci_uart_receive_buf()
277 int hci_uart_register_device(struct hci_uart *hu, in hci_uart_register_device()
367 void hci_uart_unregister_device(struct hci_uart *hu) in hci_uart_unregister_device()
Dhci_qca.c89 struct hci_uart *hu;
160 struct hci_uart serdev_hu;
169 static int qca_power_setup(struct hci_uart *hu, bool on);
189 static void serial_clock_vote(unsigned long vote, struct hci_uart *hu) in serial_clock_vote()
261 static int send_hci_ibs_cmd(u8 cmd, struct hci_uart *hu) in send_hci_ibs_cmd()
287 struct hci_uart *hu = qca->hu; in qca_wq_awake_device()
317 struct hci_uart *hu = qca->hu; in qca_wq_awake_rx()
344 struct hci_uart *hu = qca->hu; in qca_wq_serial_rx_clock_vote_off()
355 struct hci_uart *hu = qca->hu; in qca_wq_serial_tx_clock_vote_off()
371 struct hci_uart *hu = qca->hu; in hci_ibs_tx_idle_timeout()
[all …]
Dhci_mrvl.c63 static int mrvl_open(struct hci_uart *hu) in mrvl_open()
82 static int mrvl_close(struct hci_uart *hu) in mrvl_close()
97 static int mrvl_flush(struct hci_uart *hu) in mrvl_flush()
109 static struct sk_buff *mrvl_dequeue(struct hci_uart *hu) in mrvl_dequeue()
126 static int mrvl_enqueue(struct hci_uart *hu, struct sk_buff *skb) in mrvl_enqueue()
134 static void mrvl_send_ack(struct hci_uart *hu, unsigned char type) in mrvl_send_ack()
154 struct hci_uart *hu = hci_get_drvdata(hdev); in mrvl_recv_fw_req()
186 struct hci_uart *hu = hci_get_drvdata(hdev); in mrvl_recv_chip_ver()
240 static int mrvl_recv(struct hci_uart *hu, const void *data, int count) in mrvl_recv()
262 struct hci_uart *hu = hci_get_drvdata(hdev); in mrvl_load_firmware()
[all …]
Dhci_h5.c74 struct hci_uart serdev_hu;
86 int (*rx_func)(struct hci_uart *hu, u8 c);
89 struct hci_uart *hu; /* Parent HCI UART */
123 static void h5_link_control(struct hci_uart *hu, const void *data, size_t len) in h5_link_control()
150 struct hci_uart *hu = h5->hu; in h5_timed_event()
189 static void h5_peer_reset(struct hci_uart *hu) in h5_peer_reset()
210 static int h5_open(struct hci_uart *hu) in h5_open()
250 static int h5_close(struct hci_uart *hu) in h5_close()
269 static int h5_setup(struct hci_uart *hu) in h5_setup()
321 static void h5_handle_internal_rx(struct hci_uart *hu) in h5_handle_internal_rx()
[all …]
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()
143 static struct sk_buff *h4_dequeue(struct hci_uart *hu) in h4_dequeue()
174 struct hci_uart *hu = hci_get_drvdata(hdev); in h4_recv_buf()
Dhci_ll.c79 struct hci_uart hu;
98 static int send_hcill_cmd(u8 cmd, struct hci_uart *hu) in send_hcill_cmd()
124 static int ll_open(struct hci_uart *hu) in ll_open()
152 static int ll_flush(struct hci_uart *hu) in ll_flush()
165 static int ll_close(struct hci_uart *hu) in ll_close()
210 static void ll_device_want_to_wakeup(struct hci_uart *hu) in ll_device_want_to_wakeup()
260 static void ll_device_want_to_sleep(struct hci_uart *hu) in ll_device_want_to_sleep()
293 static void ll_device_woke_up(struct hci_uart *hu) in ll_device_woke_up()
318 static int ll_enqueue(struct hci_uart *hu, struct sk_buff *skb) in ll_enqueue()
366 struct hci_uart *hu = hci_get_drvdata(hdev); in ll_recv_frame()
[all …]
Dhci_nokia.c134 struct hci_uart hu;
158 static int nokia_enqueue(struct hci_uart *hu, struct sk_buff *skb);
190 static int nokia_reset(struct hci_uart *hu) in nokia_reset()
230 static int nokia_send_alive_packet(struct hci_uart *hu) in nokia_send_alive_packet()
270 static int nokia_send_negotiation(struct hci_uart *hu) in nokia_send_negotiation()
333 static int nokia_setup_fw(struct hci_uart *hu) in nokia_setup_fw()
402 static int nokia_setup(struct hci_uart *hu) in nokia_setup()
474 static int nokia_open(struct hci_uart *hu) in nokia_open()
485 static int nokia_flush(struct hci_uart *hu) in nokia_flush()
496 static int nokia_close(struct hci_uart *hu) in nokia_close()
[all …]
Dhci_ag6xx.c48 static int ag6xx_open(struct hci_uart *hu) in ag6xx_open()
64 static int ag6xx_close(struct hci_uart *hu) in ag6xx_close()
78 static int ag6xx_flush(struct hci_uart *hu) in ag6xx_flush()
88 static struct sk_buff *ag6xx_dequeue(struct hci_uart *hu) in ag6xx_dequeue()
102 static int ag6xx_enqueue(struct hci_uart *hu, struct sk_buff *skb) in ag6xx_enqueue()
116 static int ag6xx_recv(struct hci_uart *hu, const void *data, int count) in ag6xx_recv()
166 static int ag6xx_setup(struct hci_uart *hu) in ag6xx_setup()
Dhci_intel.c74 struct hci_uart *hu;
86 struct hci_uart *hu;
122 static int intel_wait_booting(struct hci_uart *hu) in intel_wait_booting()
145 static int intel_wait_lpm_transaction(struct hci_uart *hu) in intel_wait_lpm_transaction()
167 static int intel_lpm_suspend(struct hci_uart *hu) in intel_lpm_suspend()
214 static int intel_lpm_resume(struct hci_uart *hu) in intel_lpm_resume()
257 static int intel_lpm_host_wake(struct hci_uart *hu) in intel_lpm_host_wake()
304 static int intel_set_power(struct hci_uart *hu, bool powered) in intel_set_power()
403 static int intel_open(struct hci_uart *hu) in intel_open()
426 static int intel_close(struct hci_uart *hu) in intel_close()
[all …]
Dhci_bcsp.c68 struct hci_uart *hu;
149 static int bcsp_enqueue(struct hci_uart *hu, struct sk_buff *skb) in bcsp_enqueue()
286 static struct sk_buff *bcsp_dequeue(struct hci_uart *hu) in bcsp_dequeue()
356 static int bcsp_flush(struct hci_uart *hu) in bcsp_flush()
412 static void bcsp_handle_le_pkt(struct hci_uart *hu) in bcsp_handle_le_pkt()
489 static void bcsp_complete_rx_pkt(struct hci_uart *hu) in bcsp_complete_rx_pkt()
595 static int bcsp_recv(struct hci_uart *hu, const void *data, int count) in bcsp_recv()
704 struct hci_uart *hu = bcsp->hu; in bcsp_timed_event()
722 static int bcsp_open(struct hci_uart *hu) in bcsp_open()
748 static int bcsp_close(struct hci_uart *hu) in bcsp_close()
Dhci_bcm.c89 struct hci_uart serdev_hu;
114 struct hci_uart *hu;
135 static inline void host_set_baudrate(struct hci_uart *hu, unsigned int speed) in host_set_baudrate()
143 static int bcm_set_baudrate(struct hci_uart *hu, unsigned int speed) in bcm_set_baudrate()
315 static int bcm_setup_sleep(struct hci_uart *hu) in bcm_setup_sleep()
338 static inline int bcm_setup_sleep(struct hci_uart *hu) { return 0; } in bcm_setup_sleep()
343 struct hci_uart *hu = hci_get_drvdata(hdev); in bcm_set_diag()
364 static int bcm_open(struct hci_uart *hu) in bcm_open()
429 static int bcm_close(struct hci_uart *hu) in bcm_close()
472 static int bcm_flush(struct hci_uart *hu) in bcm_flush()
[all …]
DKconfig90 kernel or say M to compile it as module (hci_uart).
/Linux-v4.19/Documentation/ioctl/
Dioctl-number.txt185 'U' C0-CF drivers/bluetooth/hci_uart.h