/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | leds.c | 33 if (test_bit(HCI_UP, &d->flags)) in hci_leds_update_powered() 49 powered = test_bit(HCI_UP, &htrig->hdev->flags); in power_activate()
|
H A D | hci_core.c | 85 if (!test_bit(HCI_UP, &hdev->flags)) in dut_mode_write() 1476 if (test_bit(HCI_UP, &hdev->flags)) { in hci_dev_do_open() 1596 set_bit(HCI_UP, &hdev->flags); in hci_dev_do_open() 1725 test_bit(HCI_UP, &hdev->flags)) { in hci_dev_do_close() 1736 if (!test_and_clear_bit(HCI_UP, &hdev->flags)) { in hci_dev_do_close() 1915 if (!test_bit(HCI_UP, &hdev->flags)) { in hci_dev_reset() 2136 flags &= ~BIT(HCI_UP); in hci_get_dev_list() 2174 flags = hdev->flags & ~BIT(HCI_UP); in hci_get_dev_info() 2242 if (test_bit(HCI_UP, &hdev->flags) && in hci_power_on() 3948 if (!hdev || (!test_bit(HCI_UP, in hci_recv_frame() [all...] |
H A D | hci_debugfs.c | 54 if (test_bit(HCI_UP, &hdev->flags)) \ 717 if (test_bit(HCI_UP, &hdev->flags)) in force_static_address_write()
|
H A D | hci_sock.c | 683 if (test_bit(HCI_UP, &hdev->flags)) in send_monitor_replay() 1234 test_bit(HCI_UP, &hdev->flags))) { in hci_sock_bind() 1801 if (!test_bit(HCI_UP, &hdev->flags)) { in hci_sock_sendmsg()
|
H A D | a2mp.c | 105 if (test_bit(HCI_UP, &hdev->flags)) in __a2mp_add_cl()
|
H A D | hci_request.c | 278 /* check the state after obtaing the lock to protect the HCI_UP in hci_req_sync() 282 if (test_bit(HCI_UP, &hdev->flags)) in hci_req_sync() 444 if (!test_bit(HCI_UP, &hdev->flags) || in __hci_update_background_scan()
|
H A D | hci_conn.c | 660 if (!test_bit(HCI_UP, &d->flags) || in hci_get_route()
|
H A D | l2cap_core.c | 1260 test_bit(HCI_UP, &hdev->flags)) { in __amp_capable() 4876 if (hdev->dev_type != HCI_AMP || !test_bit(HCI_UP, &hdev->flags)) { in l2cap_create_channel_req() 5315 !test_bit(HCI_UP, &hdev->flags)) { in l2cap_move_channel_req()
|
H A D | mgmt.c | 2586 if (!test_bit(HCI_UP, &hdev->flags)) { in disconnect()
|
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | leds.c | 33 if (test_bit(HCI_UP, &d->flags)) in hci_leds_update_powered() 49 powered = test_bit(HCI_UP, &htrig->hdev->flags); in power_activate()
|
H A D | msft.c | 725 if (!test_bit(HCI_UP, &hdev->flags)) in msft_cancel_address_filter_sync() 850 if (!test_bit(HCI_UP, &hdev->flags)) in msft_add_address_filter_sync()
|
H A D | hci_sync.c | 222 if (!test_bit(HCI_UP, &hdev->flags)) in hci_cmd_sync() 2863 if (!test_bit(HCI_UP, &hdev->flags) || in hci_update_passive_scan_sync() 2948 if (!test_bit(HCI_UP, &hdev->flags) || in hci_update_passive_scan() 4856 if (test_bit(HCI_UP, &hdev->flags)) { in hci_dev_open_sync() 4876 set_bit(HCI_UP, &hdev->flags); in hci_dev_open_sync() 4957 test_bit(HCI_UP, &hdev->flags)) { in hci_dev_shutdown() 4990 if (!test_and_clear_bit(HCI_UP, &hdev->flags)) { in hci_dev_close_sync() 5107 * If controller is already up (HCI_UP) performs hci_powered_update_sync 5115 if (test_bit(HCI_UP, &hdev->flags) && in hci_power_on_sync() 5494 if (!test_bit(HCI_UP, in hci_power_off_sync() [all...] |
H A D | hci_debugfs.c | 56 if (test_bit(HCI_UP, &hdev->flags)) \ 1280 if (!test_bit(HCI_UP, &hdev->flags)) in dut_mode_write()
|
H A D | hci_sock.c | 741 if (test_bit(HCI_UP, &hdev->flags)) in send_monitor_replay() 1298 test_bit(HCI_UP, &hdev->flags))) { in hci_sock_bind() 1849 if (!test_bit(HCI_UP, &hdev->flags)) { in hci_sock_sendmsg()
|
H A D | hci_core.c | 648 if (!test_bit(HCI_UP, &hdev->flags)) { in hci_dev_reset() 869 flags &= ~BIT(HCI_UP); in hci_get_dev_list() 907 flags = hdev->flags & ~BIT(HCI_UP); in hci_get_dev_info() 975 if (test_bit(HCI_UP, &hdev->flags) && in hci_power_on() 2930 if (!hdev || (!test_bit(HCI_UP, &hdev->flags) in hci_recv_frame()
|
H A D | hci_request.c | 199 /* check the state after obtaing the lock to protect the HCI_UP in hci_req_sync() 203 if (test_bit(HCI_UP, &hdev->flags)) in hci_req_sync()
|
H A D | hci_conn.c | 1091 if (!test_bit(HCI_UP, &hdev->flags)) in hci_conn_unlink() 1168 if (!test_bit(HCI_UP, &d->flags) || in hci_get_route()
|
H A D | mgmt.c | 3074 if (!test_bit(HCI_UP, &hdev->flags)) { in disconnect()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
H A D | hci.h | 253 HCI_UP, enumerator
|
H A D | hci_core.h | 1370 #define hdev_is_powered(dev) (test_bit(HCI_UP, &(dev)->flags) && \
|
/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | hci.h | 337 HCI_UP, enumerator
|
H A D | hci_core.h | 1835 #define hdev_is_powered(dev) (test_bit(HCI_UP, &(dev)->flags) && \
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | btusb.c | 4166 if (test_bit(HCI_UP, &data->hdev->flags)) in force_poll_sync_write()
|