Home
last modified time | relevance | path

Searched refs:hci_uart (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dhci_uart.h45 struct hci_uart;
54 int (*open)(struct hci_uart *hu);
55 int (*close)(struct hci_uart *hu);
56 int (*flush)(struct hci_uart *hu);
57 int (*setup)(struct hci_uart *hu);
58 int (*set_baudrate)(struct hci_uart *hu, unsigned int speed);
59 int (*recv)(struct hci_uart *hu, const void *data, int len);
60 int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb);
61 struct sk_buff *(*dequeue)(struct hci_uart *hu);
64 struct hci_uart { struct
[all...]
H A DMakefile7 obj-$(CONFIG_BT_HCIUART) += hci_uart.o
41 hci_uart-y := hci_ldisc.o
42 hci_uart-$(CONFIG_BT_HCIUART_SERDEV) += hci_serdev.o
43 hci_uart-$(CONFIG_BT_HCIUART_H4) += hci_h4.o
44 hci_uart-$(CONFIG_BT_HCIUART_BCSP) += hci_bcsp.o
45 hci_uart-$(CONFIG_BT_HCIUART_LL) += hci_ll.o
46 hci_uart-$(CONFIG_BT_HCIUART_ATH3K) += hci_ath.o
47 hci_uart-$(CONFIG_BT_HCIUART_3WIRE) += hci_h5.o
48 hci_uart-$(CONFIG_BT_HCIUART_INTEL) += hci_intel.o
49 hci_uart
[all...]
H A Dhci_ldisc.c36 #include "hci_uart.h"
78 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete()
98 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue()
116 int hci_uart_tx_wakeup(struct hci_uart *hu) in hci_uart_tx_wakeup()
147 struct hci_uart *hu = container_of(work, struct hci_uart, write_work); in hci_uart_write_work()
185 struct hci_uart *hu = container_of(work, struct hci_uart, init_ready); in hci_uart_init_work()
206 int hci_uart_init_ready(struct hci_uart *hu) in hci_uart_init_ready()
216 int hci_uart_wait_until_sent(struct hci_uart *h
[all...]
H A Dhci_serdev.c22 #include "hci_uart.h"
24 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete()
44 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue()
59 struct hci_uart *hu = container_of(work, struct hci_uart, write_work); in hci_uart_write_work()
96 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_flush()
116 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_open()
141 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_close()
166 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_send_frame()
180 struct hci_uart *h in hci_uart_setup()
[all...]
H A Dhci_ath.c28 #include "hci_uart.h"
31 struct hci_uart *hu;
75 struct hci_uart *hu; in ath_hci_uart_work()
95 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()
175 static int ath_setup(struct hci_uart *hu) in ath_setup()
190 static int ath_recv(struct hci_uart *hu, const void *data, int count) in ath_recv()
208 static int ath_enqueue(struct hci_uart *hu, struct sk_buff *skb) in ath_enqueue()
240 static struct sk_buff *ath_dequeue(struct hci_uart *h
[all...]
H A Dhci_qca.c40 #include "hci_uart.h"
141 struct hci_uart *hu;
221 struct hci_uart serdev_hu;
234 static void qca_power_shutdown(struct hci_uart *hu);
239 static enum qca_btsoc_type qca_soc_type(struct hci_uart *hu) in qca_soc_type()
254 static const char *qca_get_firmware_name(struct hci_uart *hu) in qca_get_firmware_name()
282 static void serial_clock_vote(unsigned long vote, struct hci_uart *hu) in serial_clock_vote()
352 static int send_hci_ibs_cmd(u8 cmd, struct hci_uart *hu) in send_hci_ibs_cmd()
378 struct hci_uart *hu = qca->hu; in qca_wq_awake_device()
409 struct hci_uart *h in qca_wq_awake_rx()
[all...]
H A Dhci_mrvl.c22 #include "hci_uart.h"
48 struct hci_uart hu;
57 static int mrvl_open(struct hci_uart *hu) in mrvl_open()
91 static int mrvl_close(struct hci_uart *hu) in mrvl_close()
109 static int mrvl_flush(struct hci_uart *hu) in mrvl_flush()
121 static struct sk_buff *mrvl_dequeue(struct hci_uart *hu) in mrvl_dequeue()
138 static int mrvl_enqueue(struct hci_uart *hu, struct sk_buff *skb) in mrvl_enqueue()
146 static void mrvl_send_ack(struct hci_uart *hu, unsigned char type) in mrvl_send_ack()
166 struct hci_uart *hu = hci_get_drvdata(hdev); in mrvl_recv_fw_req()
198 struct hci_uart *h in mrvl_recv_chip_ver()
[all...]
H A Dhci_h4.c33 #include "hci_uart.h"
41 static int h4_open(struct hci_uart *hu) in h4_open()
58 static int h4_flush(struct hci_uart *hu) in h4_flush()
70 static int h4_close(struct hci_uart *hu) in h4_close()
87 static int h4_enqueue(struct hci_uart *hu, struct sk_buff *skb) in h4_enqueue()
108 static int h4_recv(struct hci_uart *hu, const void *data, int count) in h4_recv()
127 static struct sk_buff *h4_dequeue(struct hci_uart *hu) in h4_dequeue()
158 struct hci_uart *hu = hci_get_drvdata(hdev); in h4_recv_buf()
H A Dhci_nokia.c27 #include "hci_uart.h"
125 struct hci_uart hu;
149 static int nokia_enqueue(struct hci_uart *hu, struct sk_buff *skb);
181 static int nokia_reset(struct hci_uart *hu) in nokia_reset()
221 static int nokia_send_alive_packet(struct hci_uart *hu) in nokia_send_alive_packet()
261 static int nokia_send_negotiation(struct hci_uart *hu) in nokia_send_negotiation()
324 static int nokia_setup_fw(struct hci_uart *hu) in nokia_setup_fw()
393 static int nokia_setup(struct hci_uart *hu) in nokia_setup()
465 static int nokia_open(struct hci_uart *hu) in nokia_open()
476 static int nokia_flush(struct hci_uart *h
[all...]
H A Dhci_intel.c25 #include "hci_uart.h"
59 struct hci_uart *hu;
71 struct hci_uart *hu;
107 static int intel_wait_booting(struct hci_uart *hu) in intel_wait_booting()
130 static int intel_wait_lpm_transaction(struct hci_uart *hu) in intel_wait_lpm_transaction()
152 static int intel_lpm_suspend(struct hci_uart *hu) in intel_lpm_suspend()
199 static int intel_lpm_resume(struct hci_uart *hu) in intel_lpm_resume()
242 static int intel_lpm_host_wake(struct hci_uart *hu) in intel_lpm_host_wake()
289 static int intel_set_power(struct hci_uart *hu, bool powered) in intel_set_power()
382 static int intel_open(struct hci_uart *h
[all...]
H A Dhci_ll.c45 #include "hci_uart.h"
66 struct hci_uart hu;
85 static int send_hcill_cmd(u8 cmd, struct hci_uart *hu) in send_hcill_cmd()
111 static int ll_open(struct hci_uart *hu) in ll_open()
140 static int ll_flush(struct hci_uart *hu) in ll_flush()
153 static int ll_close(struct hci_uart *hu) in ll_close()
199 static void ll_device_want_to_wakeup(struct hci_uart *hu) in ll_device_want_to_wakeup()
250 static void ll_device_want_to_sleep(struct hci_uart *hu) in ll_device_want_to_sleep()
284 static void ll_device_woke_up(struct hci_uart *hu) in ll_device_woke_up()
310 static int ll_enqueue(struct hci_uart *h
[all...]
H A Dhci_ag6xx.c19 #include "hci_uart.h"
33 static int ag6xx_open(struct hci_uart *hu) in ag6xx_open()
49 static int ag6xx_close(struct hci_uart *hu) in ag6xx_close()
63 static int ag6xx_flush(struct hci_uart *hu) in ag6xx_flush()
73 static struct sk_buff *ag6xx_dequeue(struct hci_uart *hu) in ag6xx_dequeue()
87 static int ag6xx_enqueue(struct hci_uart *hu, struct sk_buff *skb) in ag6xx_enqueue()
101 static int ag6xx_recv(struct hci_uart *hu, const void *data, int count) in ag6xx_recv()
151 static int ag6xx_setup(struct hci_uart *hu) in ag6xx_setup()
/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dhci_uart.h45 struct hci_uart;
54 int (*open)(struct hci_uart *hu);
55 int (*close)(struct hci_uart *hu);
56 int (*flush)(struct hci_uart *hu);
57 int (*setup)(struct hci_uart *hu);
58 int (*set_baudrate)(struct hci_uart *hu, unsigned int speed);
59 int (*recv)(struct hci_uart *hu, const void *data, int len);
60 int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb);
61 struct sk_buff *(*dequeue)(struct hci_uart *hu);
64 struct hci_uart { struct
[all...]
H A 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
[all...]
H A Dhci_ldisc.c36 #include "hci_uart.h"
78 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete()
98 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue()
116 int hci_uart_tx_wakeup(struct hci_uart *hu) in hci_uart_tx_wakeup()
147 struct hci_uart *hu = container_of(work, struct hci_uart, write_work); in hci_uart_write_work()
185 struct hci_uart *hu = container_of(work, struct hci_uart, init_ready); in hci_uart_init_work()
206 int hci_uart_init_ready(struct hci_uart *hu) in hci_uart_init_ready()
216 int hci_uart_wait_until_sent(struct hci_uart *h
[all...]
H A Dhci_serdev.c22 #include "hci_uart.h"
24 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete()
44 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue()
59 struct hci_uart *hu = container_of(work, struct hci_uart, write_work); in hci_uart_write_work()
96 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_flush()
116 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_open()
141 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_close()
166 struct hci_uart *hu = hci_get_drvdata(hdev); in hci_uart_send_frame()
180 struct hci_uart *h in hci_uart_setup()
[all...]
H A Dhci_ath.c28 #include "hci_uart.h"
31 struct hci_uart *hu;
75 struct hci_uart *hu; in ath_hci_uart_work()
95 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()
175 static int ath_setup(struct hci_uart *hu) in ath_setup()
190 static int ath_recv(struct hci_uart *hu, const void *data, int count) in ath_recv()
208 static int ath_enqueue(struct hci_uart *hu, struct sk_buff *skb) in ath_enqueue()
240 static struct sk_buff *ath_dequeue(struct hci_uart *h
[all...]
H A Dhci_qca.c39 #include "hci_uart.h"
142 struct hci_uart *hu;
220 struct hci_uart serdev_hu;
232 static void qca_power_shutdown(struct hci_uart *hu);
236 static enum qca_btsoc_type qca_soc_type(struct hci_uart *hu) in qca_soc_type()
251 static const char *qca_get_firmware_name(struct hci_uart *hu) in qca_get_firmware_name()
279 static void serial_clock_vote(unsigned long vote, struct hci_uart *hu) in serial_clock_vote()
349 static int send_hci_ibs_cmd(u8 cmd, struct hci_uart *hu) in send_hci_ibs_cmd()
375 struct hci_uart *hu = qca->hu; in qca_wq_awake_device()
406 struct hci_uart *h in qca_wq_awake_rx()
[all...]
H A Dhci_h5.c22 #include "hci_uart.h"
60 struct hci_uart serdev_hu;
72 int (*rx_func)(struct hci_uart *hu, u8 c);
75 struct hci_uart *hu; /* Parent HCI UART */
111 static void h5_link_control(struct hci_uart *hu, const void *data, size_t len) in h5_link_control()
138 struct hci_uart *hu = h5->hu; in h5_timed_event()
177 static void h5_peer_reset(struct hci_uart *hu) in h5_peer_reset()
198 static int h5_open(struct hci_uart *hu) in h5_open()
238 static int h5_close(struct hci_uart *hu) in h5_close()
260 static int h5_setup(struct hci_uart *h
[all...]
H A Dhci_h4.c33 #include "hci_uart.h"
41 static int h4_open(struct hci_uart *hu) in h4_open()
58 static int h4_flush(struct hci_uart *hu) in h4_flush()
70 static int h4_close(struct hci_uart *hu) in h4_close()
87 static int h4_enqueue(struct hci_uart *hu, struct sk_buff *skb) in h4_enqueue()
108 static int h4_recv(struct hci_uart *hu, const void *data, int count) in h4_recv()
127 static struct sk_buff *h4_dequeue(struct hci_uart *hu) in h4_dequeue()
158 struct hci_uart *hu = hci_get_drvdata(hdev); in h4_recv_buf()
H A Dhci_nokia.c27 #include "hci_uart.h"
125 struct hci_uart hu;
149 static int nokia_enqueue(struct hci_uart *hu, struct sk_buff *skb);
181 static int nokia_reset(struct hci_uart *hu) in nokia_reset()
221 static int nokia_send_alive_packet(struct hci_uart *hu) in nokia_send_alive_packet()
261 static int nokia_send_negotiation(struct hci_uart *hu) in nokia_send_negotiation()
324 static int nokia_setup_fw(struct hci_uart *hu) in nokia_setup_fw()
393 static int nokia_setup(struct hci_uart *hu) in nokia_setup()
465 static int nokia_open(struct hci_uart *hu) in nokia_open()
476 static int nokia_flush(struct hci_uart *h
[all...]
H A Dhci_mrvl.c22 #include "hci_uart.h"
46 struct hci_uart hu;
55 static int mrvl_open(struct hci_uart *hu) in mrvl_open()
89 static int mrvl_close(struct hci_uart *hu) in mrvl_close()
107 static int mrvl_flush(struct hci_uart *hu) in mrvl_flush()
119 static struct sk_buff *mrvl_dequeue(struct hci_uart *hu) in mrvl_dequeue()
136 static int mrvl_enqueue(struct hci_uart *hu, struct sk_buff *skb) in mrvl_enqueue()
144 static void mrvl_send_ack(struct hci_uart *hu, unsigned char type) in mrvl_send_ack()
164 struct hci_uart *hu = hci_get_drvdata(hdev); in mrvl_recv_fw_req()
196 struct hci_uart *h in mrvl_recv_chip_ver()
[all...]
H A Dhci_intel.c25 #include "hci_uart.h"
59 struct hci_uart *hu;
71 struct hci_uart *hu;
107 static int intel_wait_booting(struct hci_uart *hu) in intel_wait_booting()
130 static int intel_wait_lpm_transaction(struct hci_uart *hu) in intel_wait_lpm_transaction()
152 static int intel_lpm_suspend(struct hci_uart *hu) in intel_lpm_suspend()
199 static int intel_lpm_resume(struct hci_uart *hu) in intel_lpm_resume()
242 static int intel_lpm_host_wake(struct hci_uart *hu) in intel_lpm_host_wake()
289 static int intel_set_power(struct hci_uart *hu, bool powered) in intel_set_power()
382 static int intel_open(struct hci_uart *h
[all...]
H A Dhci_ll.c45 #include "hci_uart.h"
66 struct hci_uart hu;
85 static int send_hcill_cmd(u8 cmd, struct hci_uart *hu) in send_hcill_cmd()
111 static int ll_open(struct hci_uart *hu) in ll_open()
140 static int ll_flush(struct hci_uart *hu) in ll_flush()
153 static int ll_close(struct hci_uart *hu) in ll_close()
199 static void ll_device_want_to_wakeup(struct hci_uart *hu) in ll_device_want_to_wakeup()
250 static void ll_device_want_to_sleep(struct hci_uart *hu) in ll_device_want_to_sleep()
284 static void ll_device_woke_up(struct hci_uart *hu) in ll_device_woke_up()
310 static int ll_enqueue(struct hci_uart *h
[all...]
H A Dhci_ag6xx.c19 #include "hci_uart.h"
33 static int ag6xx_open(struct hci_uart *hu) in ag6xx_open()
49 static int ag6xx_close(struct hci_uart *hu) in ag6xx_close()
63 static int ag6xx_flush(struct hci_uart *hu) in ag6xx_flush()
73 static struct sk_buff *ag6xx_dequeue(struct hci_uart *hu) in ag6xx_dequeue()
87 static int ag6xx_enqueue(struct hci_uart *hu, struct sk_buff *skb) in ag6xx_enqueue()
101 static int ag6xx_recv(struct hci_uart *hu, const void *data, int count) in ag6xx_recv()
151 static int ag6xx_setup(struct hci_uart *hu) in ag6xx_setup()

Completed in 16 milliseconds

12