Home
last modified time | relevance | path

Searched refs:atomic_test_bit (Results 1 – 25 of 143) sorted by relevance

123456

/Zephyr-latest/tests/subsys/modem/modem_pipelink/src/
Dmain.c84 zassert_true(atomic_test_bit(&events, TEST_EVENTS_CONNECTED_BIT)); in ZTEST()
85 zassert_false(atomic_test_bit(&events, TEST_EVENTS_DISCONNECTED_BIT)); in ZTEST()
88 zassert_false(atomic_test_bit(&events, TEST_EVENTS_CONNECTED_BIT)); in ZTEST()
89 zassert_false(atomic_test_bit(&events, TEST_EVENTS_DISCONNECTED_BIT)); in ZTEST()
91 zassert_false(atomic_test_bit(&events, TEST_EVENTS_CONNECTED_BIT)); in ZTEST()
92 zassert_true(atomic_test_bit(&events, TEST_EVENTS_DISCONNECTED_BIT)); in ZTEST()
95 zassert_false(atomic_test_bit(&events, TEST_EVENTS_CONNECTED_BIT)); in ZTEST()
96 zassert_false(atomic_test_bit(&events, TEST_EVENTS_DISCONNECTED_BIT)); in ZTEST()
/Zephyr-latest/subsys/bluetooth/mesh/
Dcfg.c38 if (atomic_test_bit(bt_mesh.flags, BT_MESH_BEACON) == beacon) { in bt_mesh_beacon_set()
51 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_beacon_set()
58 return atomic_test_bit(bt_mesh.flags, BT_MESH_BEACON); in bt_mesh_beacon_enabled()
68 if (atomic_test_bit(bt_mesh.flags, feature_flag) == in feature_set()
81 return atomic_test_bit(bt_mesh.flags, feature_flag) ? in feature_get()
106 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_priv_beacon_set()
158 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_od_priv_proxy_set()
199 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_gatt_proxy_set()
241 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_priv_gatt_proxy_set()
270 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_default_ttl_set()
[all …]
Dmain.c55 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_INIT)) { in bt_mesh_provision()
70 atomic_test_bit(bt_mesh_cdb.flags, BT_MESH_CDB_VALID)) { in bt_mesh_provision()
267 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_provision_adv()
287 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_provision_gatt()
308 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_provision_remote()
328 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_reprovision_remote()
342 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID) || in bt_mesh_reset()
343 !atomic_test_bit(bt_mesh.flags, BT_MESH_INIT)) { in bt_mesh_reset()
419 return atomic_test_bit(bt_mesh.flags, BT_MESH_VALID); in bt_mesh_is_provisioned()
438 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_suspend()
[all …]
Dprovisionee.c66 atomic_test_bit(bt_mesh_prov_link.flags, REPROVISION)) { in prov_fail()
192 if (atomic_test_bit(bt_mesh_prov_link.flags, OOB_STATIC_KEY)) { in prov_start()
287 if (atomic_test_bit(bt_mesh_prov_link.flags, INPUT_COMPLETE)) { in public_key_sent()
295 if (atomic_test_bit(bt_mesh_prov_link.flags, WAIT_NUMBER) || in start_auth()
296 atomic_test_bit(bt_mesh_prov_link.flags, WAIT_STRING)) { in start_auth()
338 atomic_test_bit(bt_mesh_prov_link.flags, OOB_PUB_KEY)) { in prov_dh_key_gen()
352 if (atomic_test_bit(bt_mesh_prov_link.flags, OOB_PUB_KEY)) { in prov_dh_key_gen()
374 atomic_test_bit(bt_mesh_prov_link.flags, OOB_PUB_KEY)) { in prov_pub_key()
563 atomic_test_bit(bt_mesh_prov_link.flags, REPROVISION) && in prov_data()
583 atomic_test_bit(bt_mesh_prov_link.flags, REPROVISION)) { in prov_data()
[all …]
Dsettings.c87 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_INIT)) { in mesh_commit()
91 if (!atomic_test_bit(bt_dev.flags, BT_DEV_ENABLE)) { in mesh_commit()
146 (atomic_test_bit(pending_flags, BT_MESH_SETTINGS_RPL_PENDING) || in bt_mesh_settings_store_schedule()
147 atomic_test_bit(pending_flags, BT_MESH_SETTINGS_SRPL_PENDING)) && in bt_mesh_settings_store_schedule()
Dpb_adv.c159 if (atomic_test_bit(link.flags, ADV_SENDING)) { in tx_schedule()
346 if (atomic_test_bit(link.flags, ADV_PROVISIONER)) { in reset_adv_link()
403 return atomic_test_bit(link.flags, ADV_ACK_PENDING); in ack_pending()
424 if (atomic_test_bit(link.flags, ADV_LINK_INVALID)) { in prov_msg_recv()
435 if (!atomic_test_bit(link.flags, ADV_LINK_ACTIVE)) { in protocol_timeout()
564 if (!atomic_test_bit(link.flags, ADV_LINK_CLOSING)) { in gen_prov_ack()
669 if (!atomic_test_bit(link.flags, ADV_LINK_ACTIVE)) { in gen_prov_ctl()
676 if (!atomic_test_bit(link.flags, ADV_LINK_ACTIVE)) { in gen_prov_ctl()
711 if (!atomic_test_bit(link.flags, ADV_LINK_ACTIVE) && in gen_prov_recv()
728 if (!atomic_test_bit(link.flags, ADV_LINK_ACTIVE)) { in prov_retransmit()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Did.c83 atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in adv_id_check_func()
93 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED) && in adv_is_private_enabled()
94 !atomic_test_bit(adv->flags, BT_ADV_USE_IDENTITY)) { in adv_is_private_enabled()
104 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED) && in adv_is_limited_enabled()
105 atomic_test_bit(adv->flags, BT_ADV_LIMITED)) { in adv_is_limited_enabled()
112 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in adv_pause_enabled()
182 if (!atomic_test_bit(adv->flags, BT_ADV_PARAMS_SET)) { in bt_id_set_adv_random_addr()
222 if (atomic_test_bit(adv->flags, BT_ADV_RPA_VALID) && in adv_rpa_expired()
250 if (!atomic_test_bit(adv->flags, BT_ADV_LIMITED) && in adv_rpa_invalidate()
251 !atomic_test_bit(adv->flags, BT_ADV_USE_IDENTITY)) { in adv_rpa_invalidate()
[all …]
Dadv.c177 if (atomic_test_bit(adv->flags, BT_ADV_INCLUDE_NAME_SD)) { in get_adv_name_type()
181 if (atomic_test_bit(adv->flags, BT_ADV_INCLUDE_NAME_AD)) { in get_adv_name_type()
227 if (!atomic_test_bit(adv_pool[i].flags, BT_ADV_CREATED)) { in adv_new()
253 atomic_test_bit(adv_pool[handle].flags, BT_ADV_CREATED)) { in bt_hci_adv_lookup_handle()
267 if (atomic_test_bit(adv_pool[i].flags, BT_ADV_CREATED)) { in bt_le_ext_adv_foreach()
568 if (!atomic_test_bit(adv->flags, BT_ADV_EXT_ADV) && in hci_set_adv_ext_complete()
659 atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in hci_set_ad_ext()
865 if (!atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in bt_le_adv_update_data()
869 scannable = atomic_test_bit(adv->flags, BT_ADV_SCANNABLE); in bt_le_adv_update_data()
983 if (!atomic_test_bit(bt_dev.flags, BT_DEV_READY)) { in bt_le_adv_start_legacy()
[all …]
Dsmp.c377 if (atomic_test_bit(conn->flags, BT_CONN_FORCE_PAIR)) { in smp_keys_check()
414 if (!atomic_test_bit(smp->flags, SMP_FLAG_SC)) { in get_pair_method()
571 if (atomic_test_bit(smp->flags, SMP_FLAG_TIMEOUT)) { in smp_create_pdu()
616 !atomic_test_bit(smp->flags, SMP_FLAG_SC) && in update_keys_check()
636 !atomic_test_bit(smp->flags, SMP_FLAG_SC)) { in update_keys_check()
767 if (atomic_test_bit(smp->flags, SMP_FLAG_CT2)) { in sc_derive_link_key()
849 bool bond_flag = atomic_test_bit(smp->flags, SMP_FLAG_BOND); in smp_pairing_br_complete()
909 if (atomic_test_bit(smp->flags, SMP_FLAG_BR_PAIR)) { in bt_smp_br_connected()
972 if (atomic_test_bit(smp->flags, SMP_FLAG_CT2)) { in smp_br_derive_ltk()
1019 if (atomic_test_bit(smp->flags, SMP_FLAG_TIMEOUT)) { in smp_br_create_pdu()
[all …]
Dscan.c337 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()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_iv_index.c70 ASSERT_FALSE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_recovery()
90 ASSERT_FALSE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_recovery()
110 ASSERT_FALSE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_normal()
123 ASSERT_TRUE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_normal()
143 ASSERT_TRUE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_deferring()
146 ASSERT_FALSE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_deferring()
/Zephyr-latest/subsys/usb/usb_c/
Dusbc_timer.c40 bool started = atomic_test_bit(&usbc_timer->flags, TIMER_STARTED); in usbc_timer_expired()
41 bool expired = atomic_test_bit(&usbc_timer->flags, TIMER_EXPIRED); in usbc_timer_expired()
53 return atomic_test_bit(&usbc_timer->flags, TIMER_STARTED); in usbc_timer_running()
Dusbc_prl.c626 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_WAIT_SINK_OK) || in prl_tx_wait_for_message_request_run()
627 atomic_test_bit(&prl_tx->flags, PRL_FLAGS_SINK_NG)) { in prl_tx_wait_for_message_request_run()
732 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_TX_COMPLETE)) { in prl_tx_wait_for_phy_response_run()
743 atomic_test_bit(&prl_tx->flags, PRL_FLAGS_TX_ERROR)) { in prl_tx_wait_for_phy_response_run()
789 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_MSG_XMIT)) { in prl_tx_src_source_tx_run()
815 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_MSG_XMIT)) { in prl_tx_snk_start_ams_run()
860 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_FIRST_MSG_PENDING)) { in prl_tx_src_pending_run()
924 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_FIRST_MSG_PENDING)) { in prl_tx_snk_pending_run()
992 if (atomic_test_bit(&prl_hr->flags, PRL_FLAGS_PE_HARD_RESET) || in prl_hr_wait_for_request_run()
993 atomic_test_bit(&prl_hr->flags, PRL_FLAGS_PORT_PARTNER_HARD_RESET)) { in prl_hr_wait_for_request_run()
[all …]
/Zephyr-latest/subsys/pm/
Ddevice_runtime.c55 if (!atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in runtime_suspend()
125 atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_PD_CLAIMED)) { in runtime_suspend_work()
180 if (!atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in pm_device_runtime_get()
184 if (atomic_test_bit(&dev->pm_base->flags, PM_DEVICE_FLAG_ISR_SAFE)) { in pm_device_runtime_get()
217 if (atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_TURN_ON_FAILED)) { in pm_device_runtime_get()
326 if (atomic_test_bit(&dev->pm_base->flags, PM_DEVICE_FLAG_ISR_SAFE)) { in pm_device_runtime_put()
340 atomic_test_bit(&dev->pm_base->flags, PM_DEVICE_FLAG_PD_CLAIMED)) { in pm_device_runtime_put()
358 if (atomic_test_bit(&dev->pm_base->flags, PM_DEVICE_FLAG_ISR_SAFE)) { in pm_device_runtime_put_async()
379 if (!pm || !atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_RUNTIME_AUTO)) { in pm_device_runtime_auto_enable()
421 if (atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in pm_device_runtime_enable()
[all …]
Ddevice.c236 if (atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_BUSY)) { in pm_device_is_any_busy()
252 return atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_BUSY); in pm_device_is_busy()
310 return atomic_test_bit(&pm->flags, in pm_device_wakeup_is_enabled()
322 return atomic_test_bit(&pm->flags, in pm_device_wakeup_is_capable()
385 atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_RUNTIME_AUTO)) { in pm_device_driver_init()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor_broadcast.c73 if (atomic_test_bit(flags, FLAG_SCANNING)) { in check_start_scan()
77 if (atomic_test_bit(flags, FLAG_PA_SYNCED)) { in check_start_scan()
81 if (atomic_test_bit(flags, FLAG_BROADCAST_SYNCED)) { in check_start_scan()
161 if (!atomic_test_bit(flags, FLAG_BASE_RECEIVED)) { in check_sync_broadcast()
166 if (!atomic_test_bit(flags, FLAG_BROADCAST_SYNCABLE)) { in check_sync_broadcast()
171 if (atomic_test_bit(flags, FLAG_BROADCAST_CODE_REQUIRED) && in check_sync_broadcast()
172 !atomic_test_bit(flags, FLAG_BROADCAST_CODE_RECEIVED)) { in check_sync_broadcast()
177 if (!atomic_test_bit(flags, FLAG_BROADCAST_SYNC_REQUESTED)) { in check_sync_broadcast()
182 if (!atomic_test_bit(flags, FLAG_PA_SYNCED)) { in check_sync_broadcast()
187 if (atomic_test_bit(flags, FLAG_BROADCAST_SYNCED) || in check_sync_broadcast()
[all …]
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dccp_call_ctrl.c92 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in discover_cb()
109 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in ccid_cb()
126 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in status_flags_cb()
144 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in call_state_cb()
/Zephyr-latest/tests/subsys/modem/backends/tty/src/
Dmain.c135 result = atomic_test_bit(&tty_pipe_events, TEST_MODEM_BACKEND_TTY_PIPE_EVENT_TIDLE_BIT); in ZTEST()
146 result = atomic_test_bit(&tty_pipe_events, TEST_MODEM_BACKEND_TTY_PIPE_EVENT_RRDY_BIT); in ZTEST()
161 result = atomic_test_bit(&tty_pipe_events, TEST_MODEM_BACKEND_TTY_PIPE_EVENT_RRDY_BIT); in ZTEST()
186 result = atomic_test_bit(&tty_pipe_events, TEST_MODEM_BACKEND_TTY_PIPE_EVENT_TIDLE_BIT); in ZTEST()
194 result = atomic_test_bit(&tty_pipe_events, TEST_MODEM_BACKEND_TTY_PIPE_EVENT_TIDLE_BIT); in ZTEST()
/Zephyr-latest/soc/nordic/nrf54h/gpd/
Dgpd.c135 if (atomic_test_bit(&gpd_service_status, GPD_SERVICE_REQ_ERR)) { in nrf_gpd_sync()
139 if (atomic_test_bit(&gpd_service_status, GPD_SERVICE_REQ_OK)) { in nrf_gpd_sync()
151 if (atomic_test_bit(&gpd_service_status, GPD_SERVICE_READY)) { in evt_handler()
182 if (!atomic_test_bit(&gpd_service_status, GPD_SERVICE_READY)) { in start()
201 if (!atomic_test_bit(&gpd_service_status, GPD_SERVICE_READY)) { in stop()
225 if (atomic_test_bit(&gpd_service_status, GPD_SERVICE_ERROR)) { in nrf_gpd_request()
265 if (atomic_test_bit(&gpd_service_status, GPD_SERVICE_ERROR)) { in nrf_gpd_release()
/Zephyr-latest/drivers/console/
Duart_console.c254 if (atomic_test_bit(&esc_state, ESC_ANSI_VAL)) { in handle_ansi()
256 if (atomic_test_bit(&esc_state, ESC_ANSI_VAL_2)) { in handle_ansi()
353 pkt_1 = atomic_test_bit(&esc_state, ESC_MCUMGR_PKT_1); in read_mcumgr_byte()
354 pkt_2 = atomic_test_bit(&esc_state, ESC_MCUMGR_PKT_2); in read_mcumgr_byte()
355 frag_1 = atomic_test_bit(&esc_state, ESC_MCUMGR_FRAG_1); in read_mcumgr_byte()
356 frag_2 = atomic_test_bit(&esc_state, ESC_MCUMGR_FRAG_2); in read_mcumgr_byte()
491 if (atomic_test_bit(&esc_state, ESC_ANSI)) { in uart_console_isr()
/Zephyr-latest/tests/bluetooth/host/id/bt_id_set_adv_private_addr/src/
Dmain.c92 zassert_true(atomic_test_bit(bt_dev.flags, BT_DEV_RPA_VALID), in ZTEST()
127 zassert_true(atomic_test_bit(adv_param.flags, BT_ADV_RANDOM_ADDR_PENDING), in ZTEST()
134 zassert_true(atomic_test_bit(adv_param.flags, BT_ADV_RPA_VALID), in ZTEST()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp_shell.c91 pkt_1 = atomic_test_bit(&data->esc_state, ESC_MCUMGR_PKT_1); in read_mcumgr_byte()
92 pkt_2 = atomic_test_bit(&data->esc_state, ESC_MCUMGR_PKT_2); in read_mcumgr_byte()
93 frag_1 = atomic_test_bit(&data->esc_state, ESC_MCUMGR_FRAG_1); in read_mcumgr_byte()
94 frag_2 = atomic_test_bit(&data->esc_state, ESC_MCUMGR_FRAG_2); in read_mcumgr_byte()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/src/
Dmain.c311 __ASSERT_NO_MSG(!atomic_test_bit(conn_info.flags, CONN_INFO_SUBSCRIBED)); in discover_func()
335 !atomic_test_bit(conn_info.flags, CONN_INFO_SUBSCRIBED)) { in subscribe_to_service()
356 while (atomic_test_bit(conn_info.flags, CONN_INFO_DISCOVERING) && in subscribe_to_service()
357 !atomic_test_bit(conn_info.flags, CONN_INFO_SUBSCRIBED)) { in subscribe_to_service()
382 while (atomic_test_bit(conn_info.flags, CONN_INFO_CONNECTED)) { in disconnect()
416 while (!atomic_test_bit(conn_info.flags, CONN_INFO_CONNECTED)) { in test_peripheral_main()
428 while (!atomic_test_bit(conn_info.flags, CONN_INFO_MTU_EXCHANGED)) { in test_peripheral_main()
434 atomic_test_bit(conn_info.flags, CONN_INFO_CONNECTED)) { in test_peripheral_main()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/src/
Dmain.c282 __ASSERT_NO_MSG(atomic_test_bit(conn_info_ref->flags, CONN_INFO_DISCOVERING)); in discover_func()
283 __ASSERT_NO_MSG(!atomic_test_bit(conn_info_ref->flags, CONN_INFO_SUBSCRIBED)); in discover_func()
308 __ASSERT(atomic_test_bit(status_flags, DEVICE_IS_SCANNING), in stop_scan()
348 __ASSERT(!atomic_test_bit(status_flags, DEVICE_IS_CONNECTING), in parse_ad()
537 if (!atomic_test_bit(conn_info_ref->flags, CONN_INFO_MTU_EXCHANGED) && in exchange_mtu()
571 if (!atomic_test_bit(conn_info_ref->flags, CONN_INFO_SUBSCRIBED) && in subscribe_to_service()
572 (!atomic_test_bit(conn_info_ref->flags, CONN_INFO_DISCOVERING) || in subscribe_to_service()
573 atomic_test_bit(conn_info_ref->flags, CONN_INFO_DISCOVER_PAUSED))) { in subscribe_to_service()
623 if (!atomic_test_bit(conn_info_ref->flags, CONN_INFO_MTU_EXCHANGED)) { in notify_peers()
675 !atomic_test_bit(status_flags, DEVICE_IS_SCANNING) && in test_central_main()
[all …]
/Zephyr-latest/tests/subsys/modem/modem_chat/src/
Dmain.c363 zassert_true(atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_IMEI_CALLED_BIT) == true, in ZTEST()
435 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
441 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
460 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
466 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
481 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
486 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
520 called = atomic_test_bit(&callback_called, in ZTEST()
539 called = atomic_test_bit(&callback_called, in ZTEST()
559 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
[all …]

123456