Home
last modified time | relevance | path

Searched refs:hu (Results 1 – 25 of 49) sorted by relevance

12

/Linux-v5.10/drivers/bluetooth/
Dhci_serdev.c24 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete() argument
26 struct hci_dev *hdev = hu->hdev; in hci_uart_tx_complete()
44 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue() argument
46 struct sk_buff *skb = hu->tx_skb; in hci_uart_dequeue()
49 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_dequeue()
50 skb = hu->proto->dequeue(hu); in hci_uart_dequeue()
52 hu->tx_skb = NULL; in hci_uart_dequeue()
59 struct hci_uart *hu = container_of(work, struct hci_uart, write_work); in hci_uart_write_work() local
60 struct serdev_device *serdev = hu->serdev; in hci_uart_write_work()
61 struct hci_dev *hdev = hu->hdev; in hci_uart_write_work()
[all …]
Dhci_ldisc.c78 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete() argument
80 struct hci_dev *hdev = hu->hdev; in hci_uart_tx_complete()
98 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue() argument
100 struct sk_buff *skb = hu->tx_skb; in hci_uart_dequeue()
103 percpu_down_read(&hu->proto_lock); in hci_uart_dequeue()
105 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_dequeue()
106 skb = hu->proto->dequeue(hu); in hci_uart_dequeue()
108 percpu_up_read(&hu->proto_lock); in hci_uart_dequeue()
110 hu->tx_skb = NULL; in hci_uart_dequeue()
116 int hci_uart_tx_wakeup(struct hci_uart *hu) in hci_uart_tx_wakeup() argument
[all …]
Dhci_qca.c135 struct hci_uart *hu; member
225 static void qca_power_shutdown(struct hci_uart *hu);
229 static enum qca_btsoc_type qca_soc_type(struct hci_uart *hu) in qca_soc_type() argument
233 if (hu->serdev) { in qca_soc_type()
234 struct qca_serdev *qsd = serdev_device_get_drvdata(hu->serdev); in qca_soc_type()
244 static const char *qca_get_firmware_name(struct hci_uart *hu) in qca_get_firmware_name() argument
246 if (hu->serdev) { in qca_get_firmware_name()
247 struct qca_serdev *qsd = serdev_device_get_drvdata(hu->serdev); in qca_get_firmware_name()
272 static void serial_clock_vote(unsigned long vote, struct hci_uart *hu) in serial_clock_vote() argument
274 struct qca_data *qca = hu->priv; in serial_clock_vote()
[all …]
Dhci_ll.c66 struct hci_uart hu; member
85 static int send_hcill_cmd(u8 cmd, struct hci_uart *hu) in send_hcill_cmd() argument
89 struct ll_struct *ll = hu->priv; in send_hcill_cmd()
91 BT_DBG("hu %p cmd 0x%x", hu, cmd); in send_hcill_cmd()
111 static int ll_open(struct hci_uart *hu) in ll_open() argument
115 BT_DBG("hu %p", hu); in ll_open()
127 hu->priv = ll; in ll_open()
129 if (hu->serdev) { in ll_open()
130 struct ll_device *lldev = serdev_device_get_drvdata(hu->serdev); in ll_open()
140 static int ll_flush(struct hci_uart *hu) in ll_flush() argument
[all …]
Dhci_mrvl.c46 struct hci_uart hu; member
55 static int mrvl_open(struct hci_uart *hu) in mrvl_open() argument
60 BT_DBG("hu %p", hu); in mrvl_open()
62 if (!hci_uart_has_flow_control(hu)) in mrvl_open()
74 hu->priv = mrvl; in mrvl_open()
76 if (hu->serdev) { in mrvl_open()
77 ret = serdev_device_open(hu->serdev); in mrvl_open()
89 static int mrvl_close(struct hci_uart *hu) in mrvl_close() argument
91 struct mrvl_data *mrvl = hu->priv; in mrvl_close()
93 BT_DBG("hu %p", hu); in mrvl_close()
[all …]
Dhci_intel.c59 struct hci_uart *hu; member
71 struct hci_uart *hu; member
107 static int intel_wait_booting(struct hci_uart *hu) in intel_wait_booting() argument
109 struct intel_data *intel = hu->priv; in intel_wait_booting()
117 bt_dev_err(hu->hdev, "Device boot interrupted"); in intel_wait_booting()
122 bt_dev_err(hu->hdev, "Device boot timeout"); in intel_wait_booting()
130 static int intel_wait_lpm_transaction(struct hci_uart *hu) in intel_wait_lpm_transaction() argument
132 struct intel_data *intel = hu->priv; in intel_wait_lpm_transaction()
140 bt_dev_err(hu->hdev, "LPM transaction interrupted"); in intel_wait_lpm_transaction()
145 bt_dev_err(hu->hdev, "LPM transaction timeout"); in intel_wait_lpm_transaction()
[all …]
Dhci_ath.c31 struct hci_uart *hu; member
75 struct hci_uart *hu; in ath_hci_uart_work() local
80 hu = ath->hu; in ath_hci_uart_work()
81 tty = hu->tty; in ath_hci_uart_work()
91 clear_bit(HCI_UART_SENDING, &hu->tx_state); in ath_hci_uart_work()
92 hci_uart_tx_wakeup(hu); in ath_hci_uart_work()
95 static int ath_open(struct hci_uart *hu) in ath_open() argument
99 BT_DBG("hu %p", hu); in ath_open()
101 if (!hci_uart_has_flow_control(hu)) in ath_open()
110 hu->priv = ath; in ath_open()
[all …]
Dhci_h5.c72 int (*rx_func)(struct hci_uart *hu, u8 c);
75 struct hci_uart *hu; /* Parent HCI UART */ member
111 static void h5_link_control(struct hci_uart *hu, const void *data, size_t len) in h5_link_control() argument
113 struct h5 *h5 = hu->priv; in h5_link_control()
138 struct hci_uart *hu = h5->hu; in h5_timed_event() local
142 BT_DBG("%s", hu->hdev->name); in h5_timed_event()
145 h5_link_control(hu, sync_req, sizeof(sync_req)); in h5_timed_event()
149 h5_link_control(hu, conf_req, sizeof(conf_req)); in h5_timed_event()
162 BT_DBG("hu %p retransmitting %u pkts", hu, h5->unack.qlen); in h5_timed_event()
174 hci_uart_tx_wakeup(hu); in h5_timed_event()
[all …]
Dhci_h4.c41 static int h4_open(struct hci_uart *hu) in h4_open() argument
45 BT_DBG("hu %p", hu); in h4_open()
53 hu->priv = h4; in h4_open()
58 static int h4_flush(struct hci_uart *hu) in h4_flush() argument
60 struct h4_struct *h4 = hu->priv; in h4_flush()
62 BT_DBG("hu %p", hu); in h4_flush()
70 static int h4_close(struct hci_uart *hu) in h4_close() argument
72 struct h4_struct *h4 = hu->priv; in h4_close()
74 BT_DBG("hu %p", hu); in h4_close()
80 hu->priv = NULL; in h4_close()
[all …]
Dhci_bcm.c124 struct hci_uart *hu; member
148 static inline void host_set_baudrate(struct hci_uart *hu, unsigned int speed) in host_set_baudrate() argument
150 if (hu->serdev) in host_set_baudrate()
151 serdev_device_set_baudrate(hu->serdev, speed); in host_set_baudrate()
153 hci_uart_set_baudrate(hu, speed); in host_set_baudrate()
156 static int bcm_set_baudrate(struct hci_uart *hu, unsigned int speed) in bcm_set_baudrate() argument
158 struct hci_dev *hdev = hu->hdev; in bcm_set_baudrate()
212 if (device && device->hu && device->hu->serdev) in bcm_device_exists()
369 static int bcm_setup_sleep(struct hci_uart *hu) in bcm_setup_sleep() argument
371 struct bcm_data *bcm = hu->priv; in bcm_setup_sleep()
[all …]
Dhci_uart.h54 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);
99 int hci_uart_register_device(struct hci_uart *hu, const struct hci_uart_proto *p);
100 void hci_uart_unregister_device(struct hci_uart *hu);
[all …]
Dhci_ag6xx.c33 static int ag6xx_open(struct hci_uart *hu) in ag6xx_open() argument
37 BT_DBG("hu %p", hu); in ag6xx_open()
45 hu->priv = ag6xx; in ag6xx_open()
49 static int ag6xx_close(struct hci_uart *hu) in ag6xx_close() argument
51 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_close()
53 BT_DBG("hu %p", hu); in ag6xx_close()
59 hu->priv = NULL; in ag6xx_close()
63 static int ag6xx_flush(struct hci_uart *hu) in ag6xx_flush() argument
65 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_flush()
67 BT_DBG("hu %p", hu); in ag6xx_flush()
[all …]
Dhci_nokia.c125 struct hci_uart hu; member
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() argument
183 struct nokia_bt_dev *btdev = hu->priv; in nokia_reset()
221 static int nokia_send_alive_packet(struct hci_uart *hu) in nokia_send_alive_packet() argument
223 struct nokia_bt_dev *btdev = hu->priv; in nokia_send_alive_packet()
245 nokia_enqueue(hu, skb); in nokia_send_alive_packet()
246 hci_uart_tx_wakeup(hu); in nokia_send_alive_packet()
261 static int nokia_send_negotiation(struct hci_uart *hu) in nokia_send_negotiation() argument
263 struct nokia_bt_dev *btdev = hu->priv; in nokia_send_negotiation()
[all …]
Dhci_bcsp.c53 struct hci_uart *hu; member
134 static int bcsp_enqueue(struct hci_uart *hu, struct sk_buff *skb) in bcsp_enqueue() argument
136 struct bcsp_struct *bcsp = hu->priv; in bcsp_enqueue()
271 static struct sk_buff *bcsp_dequeue(struct hci_uart *hu) in bcsp_dequeue() argument
273 struct bcsp_struct *bcsp = hu->priv; in bcsp_dequeue()
341 static int bcsp_flush(struct hci_uart *hu) in bcsp_flush() argument
343 BT_DBG("hu %p", hu); in bcsp_flush()
397 static void bcsp_handle_le_pkt(struct hci_uart *hu) in bcsp_handle_le_pkt() argument
399 struct bcsp_struct *bcsp = hu->priv; in bcsp_handle_le_pkt()
416 hci_uart_tx_wakeup(hu); in bcsp_handle_le_pkt()
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dimx6dl-pico-dwarf.dts6 // Richard Hu <richard.hu@technexion.com>
Dimx6dl-pico-hobbit.dts6 // Richard Hu <richard.hu@technexion.com>
Dimx6dl-pico-nymph.dts6 // Richard Hu <richard.hu@technexion.com>
Dimx6dl-pico-pi.dts6 // Richard Hu <richard.hu@technexion.com>
Dimx6q-pico-dwarf.dts6 // Richard Hu <richard.hu@technexion.com>
Dimx6q-pico-hobbit.dts6 // Richard Hu <richard.hu@technexion.com>
Dimx6q-pico-nymph.dts6 // Richard Hu <richard.hu@technexion.com>
Dimx6q-pico-pi.dts6 // Richard Hu <richard.hu@technexion.com>
Dimx6ul-pico-dwarf.dts6 // Richard Hu <richard.hu@technexion.com>
Dimx7d-pico-nymph.dts6 // Richard Hu <richard.hu@technexion.com>
Dimx7d-pico-dwarf.dts6 // Richard Hu <richard.hu@technexion.com>

12