Lines Matching refs:hci_dev_test_flag
69 if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) in hci_hdev_from_sock()
743 else if (hci_dev_test_flag(hdev, HCI_SETUP)) in send_monitor_replay()
931 !hci_dev_test_flag(hdev, HCI_UNREGISTER)) { in hci_sock_release()
1004 if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) in hci_sock_bound_ioctl()
1007 if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) in hci_sock_bound_ioctl()
1209 if (hdev && hci_dev_test_flag(hdev, HCI_UNREGISTER)) { in hci_sock_bind()
1292 hci_dev_test_flag(hdev, HCI_SETUP) || in hci_sock_bind()
1293 hci_dev_test_flag(hdev, HCI_CONFIG) || in hci_sock_bind()
1294 (!hci_dev_test_flag(hdev, HCI_AUTO_OFF) && in hci_sock_bind()
1674 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_mgmt_cmd()
1675 hci_dev_test_flag(hdev, HCI_CONFIG) || in hci_mgmt_cmd()
1676 hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) { in hci_mgmt_cmd()
1682 if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) && in hci_mgmt_cmd()