Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dhci_request.c1127 set_bit(SUSPEND_SCAN_ENABLE, req->hdev->suspend_tasks); in hci_req_config_le_suspend_scan()
1181 if (test_and_clear_bit(SUSPEND_SCAN_ENABLE, hdev->suspend_tasks) || in suspend_req_complete()
1182 test_and_clear_bit(SUSPEND_SCAN_DISABLE, hdev->suspend_tasks)) { in suspend_req_complete()
1211 set_bit(SUSPEND_PAUSE_DISCOVERY, hdev->suspend_tasks); in hci_req_prepare_suspend()
1222 set_bit(SUSPEND_PAUSE_ADVERTISING, hdev->suspend_tasks); in hci_req_prepare_suspend()
1243 set_bit(SUSPEND_SCAN_DISABLE, hdev->suspend_tasks); in hci_req_prepare_suspend()
1262 set_bit(SUSPEND_DISCONNECTING, hdev->suspend_tasks); in hci_req_prepare_suspend()
1286 hdev->suspend_tasks); in hci_req_prepare_suspend()
1301 set_bit(SUSPEND_UNPAUSE_DISCOVERY, hdev->suspend_tasks); in hci_req_prepare_suspend()
1312 clear_bit(SUSPEND_PREPARE_NOTIFIER, hdev->suspend_tasks); in hci_req_prepare_suspend()
H A Dhci_core.c1823 if (test_and_clear_bit(SUSPEND_POWERING_DOWN, hdev->suspend_tasks)) in hci_dev_do_close()
3465 clear_bit(i, hdev->suspend_tasks); in hci_suspend_clear_tasks()
3473 (find_first_bit(hdev->suspend_tasks, __SUSPEND_NUM_TASKS) == \ in hci_suspend_wait_event()
3483 if (test_bit(i, hdev->suspend_tasks)) in hci_suspend_wait_event()
3485 clear_bit(i, hdev->suspend_tasks); in hci_suspend_wait_event()
3510 set_bit(SUSPEND_PREPARE_NOTIFIER, hdev->suspend_tasks); in hci_change_suspend_state()
3536 set_bit(SUSPEND_POWERING_DOWN, hdev->suspend_tasks); in hci_suspend_notifier()
H A Dmgmt.c4635 hdev->suspend_tasks)) { in mgmt_start_discovery_complete()
4876 if (test_and_clear_bit(SUSPEND_PAUSE_DISCOVERY, hdev->suspend_tasks)) { in mgmt_stop_discovery_complete()
5113 hdev->suspend_tasks)) { in set_advertising_complete()
5117 hdev->suspend_tasks)) { in set_advertising_complete()
H A Dhci_event.c2875 test_and_clear_bit(SUSPEND_DISCONNECTING, hdev->suspend_tasks)) { in hci_disconn_complete_evt()
/OK3568_Linux_fs/kernel/include/net/bluetooth/
H A Dhci_core.h98 enum suspend_tasks { enum
496 DECLARE_BITMAP(suspend_tasks, __SUSPEND_NUM_TASKS);