Symbol: h5
drivers/bluetooth/hci_h5.c
1001
serdev_device_set_flow_control(h5->hu->serdev, false);
drivers/bluetooth/hci_h5.c
1002
serdev_device_set_parity(h5->hu->serdev, SERDEV_PARITY_EVEN);
drivers/bluetooth/hci_h5.c
1003
serdev_device_set_baudrate(h5->hu->serdev, 115200);
drivers/bluetooth/hci_h5.c
1005
if (!test_bit(H5_WAKEUP_DISABLE, &h5->flags)) {
drivers/bluetooth/hci_h5.c
1006
pm_runtime_set_active(&h5->hu->serdev->dev);
drivers/bluetooth/hci_h5.c
1007
pm_runtime_use_autosuspend(&h5->hu->serdev->dev);
drivers/bluetooth/hci_h5.c
1008
pm_runtime_set_autosuspend_delay(&h5->hu->serdev->dev,
drivers/bluetooth/hci_h5.c
1010
pm_runtime_enable(&h5->hu->serdev->dev);
drivers/bluetooth/hci_h5.c
1014
gpiod_set_value_cansleep(h5->enable_gpio, 0);
drivers/bluetooth/hci_h5.c
1015
gpiod_set_value_cansleep(h5->device_wake_gpio, 0);
drivers/bluetooth/hci_h5.c
1019
gpiod_set_value_cansleep(h5->enable_gpio, 1);
drivers/bluetooth/hci_h5.c
1020
gpiod_set_value_cansleep(h5->device_wake_gpio, 1);
drivers/bluetooth/hci_h5.c
1024
static void h5_btrtl_close(struct h5 *h5)
drivers/bluetooth/hci_h5.c
1026
if (!test_bit(H5_WAKEUP_DISABLE, &h5->flags))
drivers/bluetooth/hci_h5.c
1027
pm_runtime_disable(&h5->hu->serdev->dev);
drivers/bluetooth/hci_h5.c
1029
gpiod_set_value_cansleep(h5->device_wake_gpio, 0);
drivers/bluetooth/hci_h5.c
1030
gpiod_set_value_cansleep(h5->enable_gpio, 0);
drivers/bluetooth/hci_h5.c
1039
static int h5_btrtl_suspend(struct h5 *h5)
drivers/bluetooth/hci_h5.c
1041
serdev_device_set_flow_control(h5->hu->serdev, false);
drivers/bluetooth/hci_h5.c
1042
gpiod_set_value_cansleep(h5->device_wake_gpio, 0);
drivers/bluetooth/hci_h5.c
1044
if (test_bit(H5_WAKEUP_DISABLE, &h5->flags))
drivers/bluetooth/hci_h5.c
1045
gpiod_set_value_cansleep(h5->enable_gpio, 0);
drivers/bluetooth/hci_h5.c
1070
static int h5_btrtl_resume(struct h5 *h5)
drivers/bluetooth/hci_h5.c
1072
if (test_bit(H5_WAKEUP_DISABLE, &h5->flags)) {
drivers/bluetooth/hci_h5.c
1082
reprobe->dev = get_device(&h5->hu->serdev->dev);
drivers/bluetooth/hci_h5.c
1085
gpiod_set_value_cansleep(h5->device_wake_gpio, 1);
drivers/bluetooth/hci_h5.c
1087
if (test_bit(H5_HW_FLOW_CONTROL, &h5->flags))
drivers/bluetooth/hci_h5.c
1088
serdev_device_set_flow_control(h5->hu->serdev, true);
drivers/bluetooth/hci_h5.c
112
int (*setup)(struct h5 *h5);
drivers/bluetooth/hci_h5.c
113
void (*open)(struct h5 *h5);
drivers/bluetooth/hci_h5.c
114
void (*close)(struct h5 *h5);
drivers/bluetooth/hci_h5.c
115
int (*suspend)(struct h5 *h5);
drivers/bluetooth/hci_h5.c
116
int (*resume)(struct h5 *h5);
drivers/bluetooth/hci_h5.c
126
static void h5_reset_rx(struct h5 *h5);
drivers/bluetooth/hci_h5.c
130
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
141
skb_queue_tail(&h5->unrel, nskb);
drivers/bluetooth/hci_h5.c
144
static u8 h5_cfg_field(struct h5 *h5)
drivers/bluetooth/hci_h5.c
147
return (h5->tx_win & 0x07) | 0x10;
drivers/bluetooth/hci_h5.c
154
struct h5 *h5 = timer_container_of(h5, t, timer);
drivers/bluetooth/hci_h5.c
155
struct hci_uart *hu = h5->hu;
drivers/bluetooth/hci_h5.c
161
if (h5->state == H5_UNINITIALIZED)
drivers/bluetooth/hci_h5.c
164
if (h5->state == H5_INITIALIZED) {
drivers/bluetooth/hci_h5.c
165
conf_req[2] = h5_cfg_field(h5);
drivers/bluetooth/hci_h5.c
169
if (h5->state != H5_ACTIVE) {
drivers/bluetooth/hci_h5.c
170
mod_timer(&h5->timer, jiffies + H5_SYNC_TIMEOUT);
drivers/bluetooth/hci_h5.c
174
if (h5->sleep != H5_AWAKE) {
drivers/bluetooth/hci_h5.c
175
h5->sleep = H5_SLEEPING;
drivers/bluetooth/hci_h5.c
179
BT_DBG("hu %p retransmitting %u pkts", hu, h5->unack.qlen);
drivers/bluetooth/hci_h5.c
181
spin_lock_irqsave_nested(&h5->unack.lock, flags, SINGLE_DEPTH_NESTING);
drivers/bluetooth/hci_h5.c
183
while ((skb = __skb_dequeue_tail(&h5->unack)) != NULL) {
drivers/bluetooth/hci_h5.c
184
h5->tx_seq = (h5->tx_seq - 1) & 0x07;
drivers/bluetooth/hci_h5.c
185
skb_queue_head(&h5->rel, skb);
drivers/bluetooth/hci_h5.c
188
spin_unlock_irqrestore(&h5->unack.lock, flags);
drivers/bluetooth/hci_h5.c
196
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
200
h5->state = H5_UNINITIALIZED;
drivers/bluetooth/hci_h5.c
202
timer_delete(&h5->timer);
drivers/bluetooth/hci_h5.c
204
skb_queue_purge(&h5->rel);
drivers/bluetooth/hci_h5.c
205
skb_queue_purge(&h5->unrel);
drivers/bluetooth/hci_h5.c
206
skb_queue_purge(&h5->unack);
drivers/bluetooth/hci_h5.c
208
h5->tx_seq = 0;
drivers/bluetooth/hci_h5.c
209
h5->tx_ack = 0;
drivers/bluetooth/hci_h5.c
217
struct h5 *h5;
drivers/bluetooth/hci_h5.c
222
h5 = serdev_device_get_drvdata(hu->serdev);
drivers/bluetooth/hci_h5.c
224
h5 = kzalloc_obj(*h5);
drivers/bluetooth/hci_h5.c
225
if (!h5)
drivers/bluetooth/hci_h5.c
229
hu->priv = h5;
drivers/bluetooth/hci_h5.c
230
h5->hu = hu;
drivers/bluetooth/hci_h5.c
232
skb_queue_head_init(&h5->unack);
drivers/bluetooth/hci_h5.c
233
skb_queue_head_init(&h5->rel);
drivers/bluetooth/hci_h5.c
234
skb_queue_head_init(&h5->unrel);
drivers/bluetooth/hci_h5.c
236
h5_reset_rx(h5);
drivers/bluetooth/hci_h5.c
238
timer_setup(&h5->timer, h5_timed_event, 0);
drivers/bluetooth/hci_h5.c
240
h5->tx_win = H5_TX_WIN_MAX;
drivers/bluetooth/hci_h5.c
242
if (h5->vnd && h5->vnd->open)
drivers/bluetooth/hci_h5.c
243
h5->vnd->open(h5);
drivers/bluetooth/hci_h5.c
251
mod_timer(&h5->timer, jiffies + 1);
drivers/bluetooth/hci_h5.c
258
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
260
timer_delete_sync(&h5->timer);
drivers/bluetooth/hci_h5.c
262
skb_queue_purge(&h5->unack);
drivers/bluetooth/hci_h5.c
263
skb_queue_purge(&h5->rel);
drivers/bluetooth/hci_h5.c
264
skb_queue_purge(&h5->unrel);
drivers/bluetooth/hci_h5.c
266
kfree_skb(h5->rx_skb);
drivers/bluetooth/hci_h5.c
267
h5->rx_skb = NULL;
drivers/bluetooth/hci_h5.c
269
if (h5->vnd && h5->vnd->close)
drivers/bluetooth/hci_h5.c
270
h5->vnd->close(h5);
drivers/bluetooth/hci_h5.c
273
kfree(h5);
drivers/bluetooth/hci_h5.c
281
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
283
if (h5->vnd && h5->vnd->setup)
drivers/bluetooth/hci_h5.c
284
return h5->vnd->setup(h5);
drivers/bluetooth/hci_h5.c
289
static void h5_pkt_cull(struct h5 *h5)
drivers/bluetooth/hci_h5.c
296
spin_lock_irqsave(&h5->unack.lock, flags);
drivers/bluetooth/hci_h5.c
298
to_remove = skb_queue_len(&h5->unack);
drivers/bluetooth/hci_h5.c
302
seq = h5->tx_seq;
drivers/bluetooth/hci_h5.c
305
if (h5->rx_ack == seq)
drivers/bluetooth/hci_h5.c
312
if (seq != h5->rx_ack)
drivers/bluetooth/hci_h5.c
316
skb_queue_walk_safe(&h5->unack, skb, tmp) {
drivers/bluetooth/hci_h5.c
320
__skb_unlink(skb, &h5->unack);
drivers/bluetooth/hci_h5.c
324
if (skb_queue_empty(&h5->unack))
drivers/bluetooth/hci_h5.c
325
timer_delete(&h5->timer);
drivers/bluetooth/hci_h5.c
328
spin_unlock_irqrestore(&h5->unack.lock, flags);
drivers/bluetooth/hci_h5.c
333
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
341
const unsigned char *hdr = h5->rx_skb->data;
drivers/bluetooth/hci_h5.c
342
const unsigned char *data = &h5->rx_skb->data[4];
drivers/bluetooth/hci_h5.c
352
conf_req[2] = h5_cfg_field(h5);
drivers/bluetooth/hci_h5.c
355
if (h5->state == H5_ACTIVE)
drivers/bluetooth/hci_h5.c
359
if (h5->state == H5_ACTIVE)
drivers/bluetooth/hci_h5.c
361
h5->state = H5_INITIALIZED;
drivers/bluetooth/hci_h5.c
368
h5->tx_win = (data[2] & 0x07);
drivers/bluetooth/hci_h5.c
369
assign_bit(H5_CRC, &h5->flags, data[2] & 0x10);
drivers/bluetooth/hci_h5.c
371
BT_DBG("Three-wire init complete. tx_win %u", h5->tx_win);
drivers/bluetooth/hci_h5.c
372
h5->state = H5_ACTIVE;
drivers/bluetooth/hci_h5.c
377
h5->sleep = H5_SLEEPING;
drivers/bluetooth/hci_h5.c
381
h5->sleep = H5_AWAKE;
drivers/bluetooth/hci_h5.c
385
h5->sleep = H5_AWAKE;
drivers/bluetooth/hci_h5.c
396
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
397
const unsigned char *hdr = h5->rx_skb->data;
drivers/bluetooth/hci_h5.c
400
h5->tx_ack = (h5->tx_ack + 1) % 8;
drivers/bluetooth/hci_h5.c
401
set_bit(H5_TX_ACK_REQ, &h5->flags);
drivers/bluetooth/hci_h5.c
405
h5->rx_ack = H5_HDR_ACK(hdr);
drivers/bluetooth/hci_h5.c
407
h5_pkt_cull(h5);
drivers/bluetooth/hci_h5.c
414
hci_skb_pkt_type(h5->rx_skb) = H5_HDR_PKT_TYPE(hdr);
drivers/bluetooth/hci_h5.c
417
skb_pull(h5->rx_skb, 4);
drivers/bluetooth/hci_h5.c
419
hci_recv_frame(hu->hdev, h5->rx_skb);
drivers/bluetooth/hci_h5.c
420
h5->rx_skb = NULL;
drivers/bluetooth/hci_h5.c
429
h5_reset_rx(h5);
drivers/bluetooth/hci_h5.c
434
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
435
const unsigned char *hdr = h5->rx_skb->data;
drivers/bluetooth/hci_h5.c
446
h5_reset_rx(h5);
drivers/bluetooth/hci_h5.c
449
skb_trim(h5->rx_skb, 4 + H5_HDR_LEN(hdr));
drivers/bluetooth/hci_h5.c
458
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
459
const unsigned char *hdr = h5->rx_skb->data;
drivers/bluetooth/hci_h5.c
462
h5->rx_func = h5_rx_crc;
drivers/bluetooth/hci_h5.c
463
h5->rx_pending = 2;
drivers/bluetooth/hci_h5.c
473
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
474
const unsigned char *hdr = h5->rx_skb->data;
drivers/bluetooth/hci_h5.c
483
h5_reset_rx(h5);
drivers/bluetooth/hci_h5.c
487
if (H5_HDR_RELIABLE(hdr) && H5_HDR_SEQ(hdr) != h5->tx_ack) {
drivers/bluetooth/hci_h5.c
489
H5_HDR_SEQ(hdr), h5->tx_ack);
drivers/bluetooth/hci_h5.c
490
set_bit(H5_TX_ACK_REQ, &h5->flags);
drivers/bluetooth/hci_h5.c
492
h5_reset_rx(h5);
drivers/bluetooth/hci_h5.c
496
if (h5->state != H5_ACTIVE &&
drivers/bluetooth/hci_h5.c
499
h5_reset_rx(h5);
drivers/bluetooth/hci_h5.c
503
h5->rx_func = h5_rx_payload;
drivers/bluetooth/hci_h5.c
504
h5->rx_pending = H5_HDR_LEN(hdr);
drivers/bluetooth/hci_h5.c
511
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
516
h5->rx_func = h5_rx_3wire_hdr;
drivers/bluetooth/hci_h5.c
517
h5->rx_pending = 4;
drivers/bluetooth/hci_h5.c
519
h5->rx_skb = bt_skb_alloc(H5_MAX_LEN, GFP_ATOMIC);
drivers/bluetooth/hci_h5.c
520
if (!h5->rx_skb) {
drivers/bluetooth/hci_h5.c
522
h5_reset_rx(h5);
drivers/bluetooth/hci_h5.c
526
h5->rx_skb->dev = (void *)hu->hdev;
drivers/bluetooth/hci_h5.c
533
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
536
h5->rx_func = h5_rx_pkt_start;
drivers/bluetooth/hci_h5.c
541
static void h5_unslip_one_byte(struct h5 *h5, unsigned char c)
drivers/bluetooth/hci_h5.c
546
if (!test_bit(H5_RX_ESC, &h5->flags) && c == SLIP_ESC) {
drivers/bluetooth/hci_h5.c
547
set_bit(H5_RX_ESC, &h5->flags);
drivers/bluetooth/hci_h5.c
551
if (test_and_clear_bit(H5_RX_ESC, &h5->flags)) {
drivers/bluetooth/hci_h5.c
561
h5_reset_rx(h5);
drivers/bluetooth/hci_h5.c
566
skb_put_data(h5->rx_skb, byte, 1);
drivers/bluetooth/hci_h5.c
567
h5->rx_pending--;
drivers/bluetooth/hci_h5.c
569
BT_DBG("unslipped 0x%02hhx, rx_pending %zu", *byte, h5->rx_pending);
drivers/bluetooth/hci_h5.c
572
static void h5_reset_rx(struct h5 *h5)
drivers/bluetooth/hci_h5.c
574
if (h5->rx_skb) {
drivers/bluetooth/hci_h5.c
575
kfree_skb(h5->rx_skb);
drivers/bluetooth/hci_h5.c
576
h5->rx_skb = NULL;
drivers/bluetooth/hci_h5.c
579
h5->rx_func = h5_rx_delimiter;
drivers/bluetooth/hci_h5.c
580
h5->rx_pending = 0;
drivers/bluetooth/hci_h5.c
581
clear_bit(H5_RX_ESC, &h5->flags);
drivers/bluetooth/hci_h5.c
582
clear_bit(H5_CRC, &h5->flags);
drivers/bluetooth/hci_h5.c
587
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
590
if (!h5)
drivers/bluetooth/hci_h5.c
593
BT_DBG("%s pending %zu count %d", hu->hdev->name, h5->rx_pending,
drivers/bluetooth/hci_h5.c
599
if (h5->rx_pending > 0) {
drivers/bluetooth/hci_h5.c
602
h5_reset_rx(h5);
drivers/bluetooth/hci_h5.c
606
h5_unslip_one_byte(h5, *ptr);
drivers/bluetooth/hci_h5.c
612
processed = h5->rx_func(hu, *ptr);
drivers/bluetooth/hci_h5.c
630
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
638
if (h5->state != H5_ACTIVE) {
drivers/bluetooth/hci_h5.c
647
skb_queue_tail(&h5->rel, skb);
drivers/bluetooth/hci_h5.c
652
skb_queue_tail(&h5->unrel, skb);
drivers/bluetooth/hci_h5.c
711
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
736
hdr[0] = h5->tx_ack << 3;
drivers/bluetooth/hci_h5.c
737
clear_bit(H5_TX_ACK_REQ, &h5->flags);
drivers/bluetooth/hci_h5.c
742
hdr[0] |= (test_bit(H5_CRC, &h5->flags) && 1) << 6;
drivers/bluetooth/hci_h5.c
743
hdr[0] |= h5->tx_seq;
drivers/bluetooth/hci_h5.c
744
h5->tx_seq = (h5->tx_seq + 1) % 8;
drivers/bluetooth/hci_h5.c
778
struct h5 *h5 = hu->priv;
drivers/bluetooth/hci_h5.c
782
if (h5->sleep != H5_AWAKE) {
drivers/bluetooth/hci_h5.c
785
if (h5->sleep == H5_WAKING_UP)
drivers/bluetooth/hci_h5.c
788
h5->sleep = H5_WAKING_UP;
drivers/bluetooth/hci_h5.c
791
mod_timer(&h5->timer, jiffies + HZ / 100);
drivers/bluetooth/hci_h5.c
795
skb = skb_dequeue(&h5->unrel);
drivers/bluetooth/hci_h5.c
804
skb_queue_head(&h5->unrel, skb);
drivers/bluetooth/hci_h5.c
808
spin_lock_irqsave_nested(&h5->unack.lock, flags, SINGLE_DEPTH_NESTING);
drivers/bluetooth/hci_h5.c
810
if (h5->unack.qlen >= h5->tx_win)
drivers/bluetooth/hci_h5.c
813
skb = skb_dequeue(&h5->rel);
drivers/bluetooth/hci_h5.c
818
__skb_queue_tail(&h5->unack, skb);
drivers/bluetooth/hci_h5.c
819
mod_timer(&h5->timer, jiffies + H5_ACK_TIMEOUT);
drivers/bluetooth/hci_h5.c
820
spin_unlock_irqrestore(&h5->unack.lock, flags);
drivers/bluetooth/hci_h5.c
824
skb_queue_head(&h5->rel, skb);
drivers/bluetooth/hci_h5.c
829
spin_unlock_irqrestore(&h5->unack.lock, flags);
drivers/bluetooth/hci_h5.c
831
if (test_bit(H5_TX_ACK_REQ, &h5->flags))
drivers/bluetooth/hci_h5.c
858
struct h5 *h5;
drivers/bluetooth/hci_h5.c
861
h5 = devm_kzalloc(dev, sizeof(*h5), GFP_KERNEL);
drivers/bluetooth/hci_h5.c
862
if (!h5)
drivers/bluetooth/hci_h5.c
865
h5->hu = &h5->serdev_hu;
drivers/bluetooth/hci_h5.c
866
h5->serdev_hu.serdev = serdev;
drivers/bluetooth/hci_h5.c
867
serdev_device_set_drvdata(serdev, h5);
drivers/bluetooth/hci_h5.c
877
h5->vnd = data->vnd;
drivers/bluetooth/hci_h5.c
878
h5->id = (char *)match->id;
drivers/bluetooth/hci_h5.c
880
if (h5->vnd->acpi_gpio_map)
drivers/bluetooth/hci_h5.c
882
h5->vnd->acpi_gpio_map);
drivers/bluetooth/hci_h5.c
888
h5->vnd = data->vnd;
drivers/bluetooth/hci_h5.c
892
set_bit(H5_WAKEUP_DISABLE, &h5->flags);
drivers/bluetooth/hci_h5.c
894
h5->enable_gpio = devm_gpiod_get_optional(dev, "enable", GPIOD_OUT_LOW);
drivers/bluetooth/hci_h5.c
895
if (IS_ERR(h5->enable_gpio))
drivers/bluetooth/hci_h5.c
896
return PTR_ERR(h5->enable_gpio);
drivers/bluetooth/hci_h5.c
898
h5->device_wake_gpio = devm_gpiod_get_optional(dev, "device-wake",
drivers/bluetooth/hci_h5.c
900
if (IS_ERR(h5->device_wake_gpio))
drivers/bluetooth/hci_h5.c
901
return PTR_ERR(h5->device_wake_gpio);
drivers/bluetooth/hci_h5.c
903
return hci_uart_register_device_priv(&h5->serdev_hu, &h5p,
drivers/bluetooth/hci_h5.c
904
h5->vnd->sizeof_priv);
drivers/bluetooth/hci_h5.c
909
struct h5 *h5 = serdev_device_get_drvdata(serdev);
drivers/bluetooth/hci_h5.c
911
hci_uart_unregister_device(&h5->serdev_hu);
drivers/bluetooth/hci_h5.c
916
struct h5 *h5 = dev_get_drvdata(dev);
drivers/bluetooth/hci_h5.c
919
if (h5->vnd && h5->vnd->suspend)
drivers/bluetooth/hci_h5.c
920
ret = h5->vnd->suspend(h5);
drivers/bluetooth/hci_h5.c
927
struct h5 *h5 = dev_get_drvdata(dev);
drivers/bluetooth/hci_h5.c
930
if (h5->vnd && h5->vnd->resume)
drivers/bluetooth/hci_h5.c
931
ret = h5->vnd->resume(h5);
drivers/bluetooth/hci_h5.c
937
static int h5_btrtl_setup(struct h5 *h5)
drivers/bluetooth/hci_h5.c
947
btrtl_dev = btrtl_initialize(h5->hu->hdev, h5->id);
drivers/bluetooth/hci_h5.c
951
err = btrtl_get_uart_settings(h5->hu->hdev, btrtl_dev,
drivers/bluetooth/hci_h5.c
958
skb = __hci_cmd_sync(h5->hu->hdev, 0xfc17, sizeof(baudrate_data),
drivers/bluetooth/hci_h5.c
961
rtl_dev_err(h5->hu->hdev, "set baud rate command failed\n");
drivers/bluetooth/hci_h5.c
970
serdev_device_set_baudrate(h5->hu->serdev, controller_baudrate);
drivers/bluetooth/hci_h5.c
971
serdev_device_set_flow_control(h5->hu->serdev, flow_control);
drivers/bluetooth/hci_h5.c
974
set_bit(H5_HW_FLOW_CONTROL, &h5->flags);
drivers/bluetooth/hci_h5.c
976
err = btrtl_download_firmware(h5->hu->hdev, btrtl_dev);
drivers/bluetooth/hci_h5.c
982
btrtl_set_quirks(h5->hu->hdev, btrtl_dev);
drivers/bluetooth/hci_h5.c
990
static void h5_btrtl_open(struct h5 *h5)
drivers/bluetooth/hci_h5.c
997
if (test_bit(H5_WAKEUP_DISABLE, &h5->flags))
drivers/bluetooth/hci_h5.c
998
set_bit(HCI_UART_NO_SUSPEND_NOTIFIER, &h5->hu->flags);