Lines Matching refs:hci_dev_test_flag
68 if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) in hci_hdev_from_sock()
684 else if (hci_dev_test_flag(hdev, HCI_SETUP)) in send_monitor_replay()
943 if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) in hci_sock_bound_ioctl()
946 if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) in hci_sock_bound_ioctl()
1116 if (hdev && hci_dev_test_flag(hdev, HCI_UNREGISTER)) { in hci_sock_bind()
1199 hci_dev_test_flag(hdev, HCI_SETUP) || in hci_sock_bind()
1200 hci_dev_test_flag(hdev, HCI_CONFIG) || in hci_sock_bind()
1201 (!hci_dev_test_flag(hdev, HCI_AUTO_OFF) && in hci_sock_bind()
1582 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_mgmt_cmd()
1583 hci_dev_test_flag(hdev, HCI_CONFIG) || in hci_mgmt_cmd()
1584 hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) { in hci_mgmt_cmd()
1590 if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) && in hci_mgmt_cmd()