Searched refs:hci_dev_test_and_clear_flag (Results 1 – 5 of 5) sorted by relevance
/linux/net/bluetooth/ |
H A D | hci_core.c | 467 if (hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) in hci_dev_open() 523 if (hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) in hci_dev_close() 653 conn_changed = hci_dev_test_and_clear_flag(hdev, in hci_update_passive_scan_state() 661 discov_changed = hci_dev_test_and_clear_flag(hdev, in hci_update_passive_scan_state() 952 hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) { in hci_power_on() 982 if (hci_dev_test_and_clear_flag(hdev, HCI_SETUP)) { in hci_power_on() 997 } else if (hci_dev_test_and_clear_flag(hdev, HCI_CONFIG)) { in hci_power_on()
|
H A D | mgmt.c | 1002 if (!hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) in service_cache_off() 1829 changed = hci_dev_test_and_clear_flag(hdev, HCI_BONDABLE); in set_bondable() 1933 if (enable && hci_dev_test_and_clear_flag(hdev, in set_ssp_complete() 1946 changed = hci_dev_test_and_clear_flag(hdev, HCI_SSP_ENABLED); in set_ssp_complete() 2008 changed = hci_dev_test_and_clear_flag(hdev, in set_ssp() 2821 if (hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) { in set_class_sync() 2933 changed = hci_dev_test_and_clear_flag(hdev, in load_link_keys() 4337 changed = hci_dev_test_and_clear_flag(hdev, in set_wideband_speech() 4677 changed = hci_dev_test_and_clear_flag(hdev, in set_mgmt_mesh_func() 6366 changed = hci_dev_test_and_clear_flag(hdev, HCI_ADVERTISING); in set_advertising() [all …]
|
H A D | hci_sync.c | 5205 hci_dev_test_and_clear_flag(hdev, HCI_USER_CHANNEL); in hci_dev_shutdown() 5265 if (hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) in hci_dev_close_sync() 5286 auto_off = hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF); in hci_dev_close_sync() 5371 hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) { in hci_power_on_sync() 5395 if (hci_dev_test_and_clear_flag(hdev, HCI_SETUP)) { in hci_power_on_sync() 5410 } else if (hci_dev_test_and_clear_flag(hdev, HCI_CONFIG)) { in hci_power_on_sync()
|
H A D | hci_event.c | 1768 if (hci_dev_test_and_clear_flag(hdev, HCI_LE_SCAN_INTERRUPTED)) in le_set_scan_enable_complete()
|
/linux/include/net/bluetooth/ |
H A D | hci_core.h | 837 #define hci_dev_test_and_clear_flag(hdev, nr) test_and_clear_bit((nr), (hdev)->dev_flags) macro
|