Lines Matching refs:HCI_ADVERTISING
858 if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
979 if (!hci_dev_test_flag(hdev, HCI_ADVERTISING))
1651 hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
1975 if (!val && hci_dev_test_flag(hdev, HCI_ADVERTISING)) {
1976 hci_dev_clear_flag(hdev, HCI_ADVERTISING);
3349 if (lmp_le_capable(hdev) && hci_dev_test_flag(hdev, HCI_ADVERTISING))
3995 hci_dev_clear_flag(hdev, HCI_ADVERTISING);
5104 hci_dev_set_flag(hdev, HCI_ADVERTISING);
5106 hci_dev_clear_flag(hdev, HCI_ADVERTISING);
5130 if (hci_dev_test_flag(hdev, HCI_ADVERTISING) ||
5199 (val == hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
5208 changed = !hci_dev_test_and_set_flag(hdev, HCI_ADVERTISING);
5214 changed = hci_dev_test_and_clear_flag(hdev, HCI_ADVERTISING);
5253 * HCI_ADVERTISING flag is not yet set.
7163 if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
7566 /* If the HCI_ADVERTISING flag is set or the device isn't powered or
7571 hci_dev_test_flag(hdev, HCI_ADVERTISING) ||
7692 /* If no HCI commands have been collected so far or the HCI_ADVERTISING
7698 hci_dev_test_flag(hdev, HCI_ADVERTISING)) {