Home
last modified time | relevance | path

Searched refs:HCI_UP (Results 1 – 11 of 11) sorted by relevance

/linux/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.c724 if (!test_bit(HCI_UP, &hdev->flags)) in msft_cancel_address_filter_sync()
849 if (!test_bit(HCI_UP, &hdev->flags)) in msft_add_address_filter_sync()
H A Dhci_sync.c233 if (!test_bit(HCI_UP, &hdev->flags)) in hci_cmd_sync()
3174 if (!test_bit(HCI_UP, &hdev->flags) || in hci_update_passive_scan_sync()
3259 if (!test_bit(HCI_UP, &hdev->flags) || in hci_update_passive_scan()
5140 if (test_bit(HCI_UP, &hdev->flags)) { in hci_dev_open_sync()
5160 set_bit(HCI_UP, &hdev->flags); in hci_dev_open_sync()
5240 test_bit(HCI_UP, &hdev->flags)) { in hci_dev_shutdown()
5280 if (!test_and_clear_bit(HCI_UP, &hdev->flags)) { in hci_dev_close_sync()
5401 if (test_bit(HCI_UP, &hdev->flags) && in hci_power_on_sync()
5765 if (!test_bit(HCI_UP, &hdev->flags)) in hci_power_off_sync()
H A Dhci_sock.c748 if (test_bit(HCI_UP, &hdev->flags)) in send_monitor_replay()
1302 test_bit(HCI_UP, &hdev->flags))) { in hci_sock_bind()
1855 if (!test_bit(HCI_UP, &hdev->flags)) { in hci_sock_sendmsg()
H A Dhci_debugfs.c55 if (test_bit(HCI_UP, &hdev->flags)) \
1295 if (!test_bit(HCI_UP, &hdev->flags)) in dut_mode_write()
H A Dhci_core.c595 if (!test_bit(HCI_UP, &hdev->flags)) { in hci_dev_reset()
815 flags &= ~BIT(HCI_UP); in hci_get_dev_list()
851 flags = hdev->flags & ~BIT(HCI_UP); in hci_get_dev_info()
950 if (test_bit(HCI_UP, &hdev->flags) && in hci_power_on()
2921 if (!hdev || (!test_bit(HCI_UP, &hdev->flags) in hci_recv_frame()
H A Dhci_conn.c1141 if (!test_bit(HCI_UP, &hdev->flags)) in hci_conn_unlink()
1250 if (!test_bit(HCI_UP, &d->flags) || in hci_get_route()
H A Dmgmt.c3284 if (!test_bit(HCI_UP, &hdev->flags)) { in disconnect()
/linux/include/net/bluetooth/
H A Dhci.h386 HCI_UP, enumerator
H A Dhci_core.h1965 #define hdev_is_powered(dev) (test_bit(HCI_UP, &(dev)->flags) && \
/linux/drivers/bluetooth/
H A Dbtusb.c3865 if (test_bit(HCI_UP, &data->hdev->flags)) in force_poll_sync_write()