Home
last modified time | relevance | path

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

/Linux-v5.10/net/bluetooth/
Dhci_request.c1114 set_bit(SUSPEND_SCAN_ENABLE, req->hdev->suspend_tasks); in hci_req_config_le_suspend_scan()
1168 if (test_and_clear_bit(SUSPEND_SCAN_ENABLE, hdev->suspend_tasks) || in suspend_req_complete()
1169 test_and_clear_bit(SUSPEND_SCAN_DISABLE, hdev->suspend_tasks)) { in suspend_req_complete()
1198 set_bit(SUSPEND_PAUSE_DISCOVERY, hdev->suspend_tasks); in hci_req_prepare_suspend()
1209 set_bit(SUSPEND_PAUSE_ADVERTISING, hdev->suspend_tasks); in hci_req_prepare_suspend()
1230 set_bit(SUSPEND_SCAN_DISABLE, hdev->suspend_tasks); in hci_req_prepare_suspend()
1249 set_bit(SUSPEND_DISCONNECTING, hdev->suspend_tasks); in hci_req_prepare_suspend()
1273 hdev->suspend_tasks); in hci_req_prepare_suspend()
1288 set_bit(SUSPEND_UNPAUSE_DISCOVERY, hdev->suspend_tasks); in hci_req_prepare_suspend()
1299 clear_bit(SUSPEND_PREPARE_NOTIFIER, hdev->suspend_tasks); in hci_req_prepare_suspend()
Dhci_core.c1810 if (test_and_clear_bit(SUSPEND_POWERING_DOWN, hdev->suspend_tasks)) in hci_dev_do_close()
3452 clear_bit(i, hdev->suspend_tasks); in hci_suspend_clear_tasks()
3460 (find_first_bit(hdev->suspend_tasks, __SUSPEND_NUM_TASKS) == \ in hci_suspend_wait_event()
3470 if (test_bit(i, hdev->suspend_tasks)) in hci_suspend_wait_event()
3472 clear_bit(i, hdev->suspend_tasks); in hci_suspend_wait_event()
3497 set_bit(SUSPEND_PREPARE_NOTIFIER, hdev->suspend_tasks); in hci_change_suspend_state()
3523 set_bit(SUSPEND_POWERING_DOWN, hdev->suspend_tasks); in hci_suspend_notifier()
Dmgmt.c4630 hdev->suspend_tasks)) { in mgmt_start_discovery_complete()
4871 if (test_and_clear_bit(SUSPEND_PAUSE_DISCOVERY, hdev->suspend_tasks)) { in mgmt_stop_discovery_complete()
5108 hdev->suspend_tasks)) { in set_advertising_complete()
5112 hdev->suspend_tasks)) { in set_advertising_complete()
Dhci_event.c2875 test_and_clear_bit(SUSPEND_DISCONNECTING, hdev->suspend_tasks)) { in hci_disconn_complete_evt()
/Linux-v5.10/include/net/bluetooth/
Dhci_core.h94 enum suspend_tasks { enum
492 DECLARE_BITMAP(suspend_tasks, __SUSPEND_NUM_TASKS);