Searched refs:hci_dev_test_and_clear_flag (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/net/bluetooth/ |
D | mgmt.c | 1299 if (!hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) in service_cache_off() 1568 if (hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) { in set_powered() 1735 changed = hci_dev_test_and_clear_flag(hdev, HCI_DISCOVERABLE); in set_discoverable_complete() 1987 conn_changed = hci_dev_test_and_clear_flag(hdev, in set_connectable_complete() 1989 discov_changed = hci_dev_test_and_clear_flag(hdev, in set_connectable_complete() 2154 changed = hci_dev_test_and_clear_flag(hdev, HCI_BONDABLE); in set_bondable() 2267 changed = hci_dev_test_and_clear_flag(hdev, in set_ssp() 2270 changed = hci_dev_test_and_clear_flag(hdev, in set_ssp() 2360 changed = hci_dev_test_and_clear_flag(hdev, HCI_HS_ENABLED); in set_hs() 2788 if (hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) { in set_dev_class() [all …]
|
D | hci_core.c | 1513 if (hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) in hci_dev_open() 1589 if (hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) in hci_dev_do_close() 1607 if (!hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) { in hci_dev_do_close() 1685 if (hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) in hci_dev_close() 1796 conn_changed = hci_dev_test_and_clear_flag(hdev, in hci_update_scan_state() 1804 discov_changed = hci_dev_test_and_clear_flag(hdev, in hci_update_scan_state() 2085 if (hci_dev_test_and_clear_flag(hdev, HCI_SETUP)) { in hci_power_on() 2100 } else if (hci_dev_test_and_clear_flag(hdev, HCI_CONFIG)) { in hci_power_on()
|
D | hci_request.c | 344 if (!hci_dev_test_and_clear_flag(hdev, HCI_RPA_EXPIRED) && in hci_update_random_address()
|
D | hci_event.c | 1217 if (hci_dev_test_and_clear_flag(hdev, HCI_LE_SCAN_INTERRUPTED)) in hci_cc_le_set_scan_enable()
|
/linux-4.1.27/include/net/bluetooth/ |
D | hci_core.h | 520 #define hci_dev_test_and_clear_flag(hdev, nr) test_and_clear_bit((nr), (hdev)->dev_flags) macro
|