Home
last modified time | relevance | path

Searched refs:HCI_UP (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/net/bluetooth/
H A Dleds.c33 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 Dhci_core.c85 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 Dhci_debugfs.c54 if (test_bit(HCI_UP, &hdev->flags)) \
717 if (test_bit(HCI_UP, &hdev->flags)) in force_static_address_write()
H A Dhci_sock.c683 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 Da2mp.c105 if (test_bit(HCI_UP, &hdev->flags)) in __a2mp_add_cl()
H A Dhci_request.c278 /* 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 Dhci_conn.c660 if (!test_bit(HCI_UP, &d->flags) || in hci_get_route()
H A Dl2cap_core.c1260 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 Dmgmt.c2586 if (!test_bit(HCI_UP, &hdev->flags)) { in disconnect()
/kernel/linux/linux-6.6/net/bluetooth/
H A Dleds.c33 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 Dmsft.c725 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 Dhci_sync.c222 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 Dhci_debugfs.c56 if (test_bit(HCI_UP, &hdev->flags)) \
1280 if (!test_bit(HCI_UP, &hdev->flags)) in dut_mode_write()
H A Dhci_sock.c741 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 Dhci_core.c648 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 Dhci_request.c199 /* 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 Dhci_conn.c1091 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 Dmgmt.c3074 if (!test_bit(HCI_UP, &hdev->flags)) { in disconnect()
/kernel/linux/linux-5.10/include/net/bluetooth/
H A Dhci.h253 HCI_UP, enumerator
H A Dhci_core.h1370 #define hdev_is_powered(dev) (test_bit(HCI_UP, &(dev)->flags) && \
/kernel/linux/linux-6.6/include/net/bluetooth/
H A Dhci.h337 HCI_UP, enumerator
H A Dhci_core.h1835 #define hdev_is_powered(dev) (test_bit(HCI_UP, &(dev)->flags) && \
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dbtusb.c4166 if (test_bit(HCI_UP, &data->hdev->flags)) in force_poll_sync_write()

Completed in 87 milliseconds