Lines Matching refs:atomic_test_bit

337 	return atomic_test_bit(bt_dev.flags, BT_DEV_SCANNING) &&  in bt_le_scan_active_scanner_running()
345 if (atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_EXPLICIT_SCAN)) { in select_scan_params()
350 else if (atomic_test_bit(bt_dev.flags, BT_DEV_INITIATING)) { in select_scan_params()
377 if (atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_PER_SYNC) || in select_scan_params()
378 atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_CONN)) { in select_scan_params()
401 bool is_scanning = atomic_test_bit(bt_dev.flags, BT_DEV_SCANNING); in get_scan_action()
482 if (atomic_test_bit(scan_state.scan_flags, flag)) { in scan_check_if_state_allowed()
487 atomic_test_bit(bt_dev.flags, BT_DEV_INITIATING)) { in scan_check_if_state_allowed()
544 atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_EXPLICIT_SCAN)) { in check_pending_conn()
632 atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_EXPLICIT_SCAN) && in le_adv_recv()
783 if (!atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_EXPLICIT_SCAN)) { in bt_hci_le_adv_ext_report()
930 if (!atomic_test_bit(per_adv_sync_pool[i].flags, in per_adv_sync_new()
957 if (atomic_test_bit(per_adv_sync_pool[i].flags, in get_pending_per_adv_sync()
977 atomic_test_bit(per_adv_sync_pool[i].flags, in bt_hci_per_adv_sync_lookup_handle()
1042 if (atomic_test_bit(per_adv_sync->flags, in bt_hci_le_per_adv_report_common()
1215 (!atomic_test_bit(pending_per_adv_sync->flags, in bt_hci_le_per_adv_sync_established_common()
1233 if (atomic_test_bit(pending_per_adv_sync->flags, in bt_hci_le_per_adv_sync_established_common()
1262 if (atomic_test_bit(pending_per_adv_sync->flags, in bt_hci_le_per_adv_sync_established_common()
1290 !atomic_test_bit(pending_per_adv_sync->flags, in bt_hci_le_per_adv_sync_established_common()
1646 if (!atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_EXPLICIT_SCAN)) { in bt_hci_le_adv_report()
1736 if (!atomic_test_bit(bt_dev.flags, BT_DEV_READY)) { in bt_le_scan_start()
1849 if (!atomic_test_bit(per_adv_sync_pool[i].flags, in bt_le_per_adv_sync_lookup_addr()
2015 if (!atomic_test_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_SYNCED)) { in bt_le_per_adv_sync_terminate()
2036 if (atomic_test_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_SYNCED)) { in bt_le_per_adv_sync_delete()
2074 if (!atomic_test_bit(bt_dev.flags, BT_DEV_READY)) { in bt_le_set_per_adv_recv_enable()
2082 if (!atomic_test_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_SYNCED)) { in bt_le_set_per_adv_recv_enable()
2086 if ((enable && !atomic_test_bit(per_adv_sync->flags, in bt_le_set_per_adv_recv_enable()
2088 (!enable && atomic_test_bit(per_adv_sync->flags, in bt_le_set_per_adv_recv_enable()
2115 info.recv_enabled = !atomic_test_bit(per_adv_sync->flags, in bt_le_set_per_adv_recv_enable()
2340 if (!atomic_test_bit(bt_dev.flags, BT_DEV_READY)) { in bt_le_per_adv_list_add()
2371 if (!atomic_test_bit(bt_dev.flags, BT_DEV_READY)) { in bt_le_per_adv_list_remove()
2399 if (!atomic_test_bit(bt_dev.flags, BT_DEV_READY)) { in bt_le_per_adv_list_clear()
2415 return atomic_test_bit(scan_state.scan_flags, BT_LE_SCAN_USER_EXPLICIT_SCAN); in bt_le_explicit_scanner_running()