Searched refs:hci_dev_test_and_clear_flag (Results 1 – 5 of 5) sorted by relevance
/linux-6.14.4/net/bluetooth/ |
D | hci_core.c | 449 if (hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) in hci_dev_open() 505 if (hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) in hci_dev_close() 635 conn_changed = hci_dev_test_and_clear_flag(hdev, in hci_update_passive_scan_state() 643 discov_changed = hci_dev_test_and_clear_flag(hdev, in hci_update_passive_scan_state() 934 hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) { in hci_power_on() 964 if (hci_dev_test_and_clear_flag(hdev, HCI_SETUP)) { in hci_power_on() 979 } else if (hci_dev_test_and_clear_flag(hdev, HCI_CONFIG)) { in hci_power_on()
|
D | mgmt.c | 998 if (!hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) in service_cache_off() 1831 changed = hci_dev_test_and_clear_flag(hdev, HCI_BONDABLE); in set_bondable() 1935 if (enable && hci_dev_test_and_clear_flag(hdev, in set_ssp_complete() 1948 changed = hci_dev_test_and_clear_flag(hdev, HCI_SSP_ENABLED); in set_ssp_complete() 2010 changed = hci_dev_test_and_clear_flag(hdev, in set_ssp() 2801 if (hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) { in set_class_sync() 2913 changed = hci_dev_test_and_clear_flag(hdev, in load_link_keys() 4312 changed = hci_dev_test_and_clear_flag(hdev, in set_wideband_speech() 4652 changed = hci_dev_test_and_clear_flag(hdev, in set_mgmt_mesh_func() 6396 changed = hci_dev_test_and_clear_flag(hdev, HCI_ADVERTISING); in set_advertising() [all …]
|
D | hci_sync.c | 5136 hci_dev_test_and_clear_flag(hdev, HCI_USER_CHANNEL); in hci_dev_shutdown() 5196 if (hci_dev_test_and_clear_flag(hdev, HCI_SERVICE_CACHE)) in hci_dev_close_sync() 5217 auto_off = hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF); in hci_dev_close_sync() 5302 hci_dev_test_and_clear_flag(hdev, HCI_AUTO_OFF)) { in hci_power_on_sync() 5326 if (hci_dev_test_and_clear_flag(hdev, HCI_SETUP)) { in hci_power_on_sync() 5341 } else if (hci_dev_test_and_clear_flag(hdev, HCI_CONFIG)) { in hci_power_on_sync()
|
D | hci_event.c | 1754 if (hci_dev_test_and_clear_flag(hdev, HCI_LE_SCAN_INTERRUPTED)) in le_set_scan_enable_complete()
|
/linux-6.14.4/include/net/bluetooth/ |
D | hci_core.h | 814 #define hci_dev_test_and_clear_flag(hdev, nr) test_and_clear_bit((nr), (hdev)->dev_flags) macro
|