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()
654 conn_changed = hci_dev_test_and_clear_flag(hdev, in hci_update_passive_scan_state()
662 discov_changed = hci_dev_test_and_clear_flag(hdev, in hci_update_passive_scan_state()
953 hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) { in hci_power_on()
983 if (hci_dev_test_and_clear_flag(hdev, HCI_SETUP)) { in hci_power_on()
998 } else if (hci_dev_test_and_clear_flag(hdev, HCI_CONFIG)) { in hci_power_on()
H A Dmgmt.c1020 if (!hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) in service_cache_off()
1856 changed = hci_dev_test_and_clear_flag(hdev, HCI_BONDABLE); in set_bondable()
1963 if (enable && hci_dev_test_and_clear_flag(hdev, in set_ssp_complete()
1976 changed = hci_dev_test_and_clear_flag(hdev, HCI_SSP_ENABLED); in set_ssp_complete()
2050 changed = hci_dev_test_and_clear_flag(hdev, in set_ssp()
2908 if (hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) { in set_class_sync()
3020 changed = hci_dev_test_and_clear_flag(hdev, in load_link_keys()
4436 changed = hci_dev_test_and_clear_flag(hdev, in set_wideband_speech()
4774 changed = hci_dev_test_and_clear_flag(hdev, in set_mgmt_mesh_func()
6573 changed = hci_dev_test_and_clear_flag(hdev, HCI_ADVERTISING); in set_advertising()
[all …]
H A Dhci_sync.c2616 if (hci_dev_test_and_clear_flag(hdev, HCI_LE_ADV_0)) in hci_resume_advertising_sync()
5279 hci_dev_test_and_clear_flag(hdev, HCI_USER_CHANNEL); in hci_dev_shutdown()
5339 if (hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) in hci_dev_close_sync()
5360 auto_off = hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF); in hci_dev_close_sync()
5445 hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) { in hci_power_on_sync()
5469 if (hci_dev_test_and_clear_flag(hdev, HCI_SETUP)) { in hci_power_on_sync()
5484 } else if (hci_dev_test_and_clear_flag(hdev, HCI_CONFIG)) { in hci_power_on_sync()
H A Dhci_event.c1776 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.h842 #define hci_dev_test_and_clear_flag(hdev, nr) test_and_clear_bit((nr), (hdev)->dev_flags) macro