Home
last modified time | relevance | path

Searched refs:hci_dev_test_and_clear_flag (Results 1 – 5 of 5) sorted by relevance

/linux/net/bluetooth/
H A Dhci_core.c468 if (hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) in hci_dev_open()
524 if (hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) in hci_dev_close()
617 conn_changed = hci_dev_test_and_clear_flag(hdev, in hci_update_passive_scan_state()
625 discov_changed = hci_dev_test_and_clear_flag(hdev, in hci_update_passive_scan_state()
916 hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) { in hci_power_on()
946 if (hci_dev_test_and_clear_flag(hdev, HCI_SETUP)) { in hci_power_on()
961 } else if (hci_dev_test_and_clear_flag(hdev, HCI_CONFIG)) { in hci_power_on()
H A Dmgmt.c1023 if (!hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) in service_cache_off()
1859 changed = hci_dev_test_and_clear_flag(hdev, HCI_BONDABLE); in set_bondable()
1966 if (enable && hci_dev_test_and_clear_flag(hdev, in set_ssp_complete()
1979 changed = hci_dev_test_and_clear_flag(hdev, HCI_SSP_ENABLED); in set_ssp_complete()
2053 changed = hci_dev_test_and_clear_flag(hdev, in set_ssp()
2937 if (hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) { in set_class_sync()
3049 changed = hci_dev_test_and_clear_flag(hdev, in load_link_keys()
4517 changed = hci_dev_test_and_clear_flag(hdev, in set_wideband_speech()
4855 changed = hci_dev_test_and_clear_flag(hdev, in set_mgmt_mesh_func()
6660 changed = hci_dev_test_and_clear_flag(hdev, HCI_ADVERTISING); in set_advertising()
[all …]
H A Dhci_sync.c2713 if (hci_dev_test_and_clear_flag(hdev, HCI_LE_ADV_0)) in hci_resume_advertising_sync()
5515 hci_dev_test_and_clear_flag(hdev, HCI_USER_CHANNEL); in hci_dev_shutdown()
5582 if (hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) in hci_dev_close_sync()
5603 auto_off = hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF); in hci_dev_close_sync()
5696 hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) { in hci_power_on_sync()
5720 if (hci_dev_test_and_clear_flag(hdev, HCI_SETUP)) { in hci_power_on_sync()
5735 } else if (hci_dev_test_and_clear_flag(hdev, HCI_CONFIG)) { in hci_power_on_sync()
H A Dhci_event.c1818 if (hci_dev_test_and_clear_flag(hdev, HCI_LE_SCAN_INTERRUPTED)) in le_set_scan_enable_complete()
/linux/include/net/bluetooth/
H A Dhci_core.h857 #define hci_dev_test_and_clear_flag(hdev, nr) test_and_clear_bit((nr), (hdev)->dev_flags) macro