Home
last modified time | relevance | path

Searched refs:atomic_set_bit (Results 1 – 25 of 130) sorted by relevance

123456

/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_le_oob_get_local/src/
Dtest_suite_invalid_inputs.c79 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
109 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
110 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST()
149 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
150 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST()
194 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
195 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST()
198 atomic_set_bit(adv.flags, BT_ADV_ENABLED); in ZTEST()
199 atomic_set_bit(adv.flags, BT_ADV_USE_IDENTITY); in ZTEST()
246 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
[all …]
Dmain.c54 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
97 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_id_adv_random_addr_check/src/
Dmain.c121 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST()
122 atomic_set_bit(bt_dev.flags, BT_DEV_SCANNING); in ZTEST()
155 atomic_set_bit(bt_dev.flags, BT_DEV_SCANNING); in ZTEST()
189 atomic_set_bit(bt_dev.flags, BT_DEV_SCANNING); in ZTEST()
223 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST()
224 atomic_set_bit(bt_dev.flags, BT_DEV_SCANNING); in ZTEST()
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_id_create/src/
Dmain.c66 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
103 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
139 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
173 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
204 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
Dtest_suite_privacy_enabled.c63 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
105 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
147 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Dsmp.c523 atomic_set_bit(smp->flags, SMP_FLAG_TIMEOUT); in smp_create_pdu()
752 atomic_set_bit(smp->allowed_cmds, BT_SMP_CMD_PAIRING_REQ); in smp_br_reset()
812 atomic_set_bit(smp->flags, SMP_FLAG_TIMEOUT); in smp_br_timeout()
839 atomic_set_bit(smp->flags, SMP_FLAG_BR_CONNECTED); in bt_smp_br_connected()
872 atomic_set_bit(smp->allowed_cmds, BT_SMP_CMD_PAIRING_FAIL); in smp_br_init()
969 atomic_set_bit(smp->flags, SMP_FLAG_TIMEOUT); in smp_br_create_pdu()
1146 atomic_set_bit(smp->flags, SMP_FLAG_PAIRING); in smp_br_pairing_req()
1160 atomic_set_bit(smp->allowed_cmds, BT_SMP_CMD_IDENT_INFO); in smp_br_pairing_req()
1162 atomic_set_bit(smp->allowed_cmds, BT_SMP_CMD_SIGNING_INFO); in smp_br_pairing_req()
1203 atomic_set_bit(smp->allowed_cmds, BT_SMP_CMD_IDENT_INFO); in smp_br_pairing_rsp()
[all …]
Dssp.c110 atomic_set_bit(conn->flags, BT_CONN_BR_LEGACY_SECURE); in bt_conn_auth_pincode_entry()
125 atomic_set_bit(conn->flags, BT_CONN_USER); in pin_code_req()
126 atomic_set_bit(conn->flags, BT_CONN_BR_PAIRING); in pin_code_req()
255 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth()
259 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth()
263 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth()
275 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth()
339 atomic_set_bit(conn->flags, BT_CONN_BR_PAIRING_INITIATOR); in conn_auth()
476 atomic_set_bit(conn->flags, BT_CONN_BR_NOBOND); in bt_hci_link_key_notify()
489 atomic_set_bit(conn->flags, BT_CONN_BR_NOBOND); in bt_hci_link_key_notify()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Dprov.c197 atomic_set_bit(bt_mesh_prov_link.flags, OOB_STATIC_KEY); in bt_mesh_prov_auth()
207 atomic_set_bit(bt_mesh_prov_link.flags, WAIT_STRING); in bt_mesh_prov_auth()
210 atomic_set_bit(bt_mesh_prov_link.flags, WAIT_NUMBER); in bt_mesh_prov_auth()
224 atomic_set_bit(bt_mesh_prov_link.flags, NOTIFY_INPUT_COMPLETE); in bt_mesh_prov_auth()
229 atomic_set_bit(bt_mesh_prov_link.flags, NOTIFY_INPUT_COMPLETE); in bt_mesh_prov_auth()
243 atomic_set_bit(bt_mesh_prov_link.flags, WAIT_STRING); in bt_mesh_prov_auth()
245 atomic_set_bit(bt_mesh_prov_link.flags, WAIT_NUMBER); in bt_mesh_prov_auth()
254 atomic_set_bit(bt_mesh_prov_link.flags, NOTIFY_INPUT_COMPLETE); in bt_mesh_prov_auth()
259 atomic_set_bit(bt_mesh_prov_link.flags, NOTIFY_INPUT_COMPLETE); in bt_mesh_prov_auth()
367 atomic_set_bit(bt_mesh_prov_link.flags, LINK_ACTIVE); in prov_link_opened()
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_le_ext_adv_oob_get_local/src/
Dtest_suite_invalid_inputs.c108 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
109 atomic_set_bit(bt_dev.flags, BT_DEV_INITIATING); in ZTEST()
145 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
184 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
Dmain.c52 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
91 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
/Zephyr-Core-3.5.0/tests/bluetooth/host/ecc/bt_dh_key_gen/src/
Dtest_suite_invalid_inputs.c76 atomic_set_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in ZTEST()
114 atomic_set_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in ZTEST()
144 atomic_set_bit(bt_dev.flags, BT_DEV_PUB_KEY_BUSY); in ZTEST()
191 atomic_set_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in ZTEST()
Dmain.c61 atomic_set_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in ZTEST()
98 atomic_set_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in ZTEST()
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_id_reset/src/
Dmain.c74 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
113 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
153 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
190 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
224 atomic_set_bit(bt_dev.flags, BT_DEV_ENABLE); in ZTEST()
/Zephyr-Core-3.5.0/tests/bluetooth/host/ecc/bt_pub_key_get/src/
Dmain.c44 atomic_set_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in ZTEST()
71 atomic_set_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in ZTEST()
/Zephyr-Core-3.5.0/tests/subsys/modem/modem_chat/src/
Dmain.c70 atomic_set_bit(&callback_called, MODEM_CHAT_UTEST_ON_IMEI_CALLED_BIT); in on_imei()
76 atomic_set_bit(&callback_called, MODEM_CHAT_UTEST_ON_CREG_CALLED_BIT); in on_creg()
82 atomic_set_bit(&callback_called, MODEM_CHAT_UTEST_ON_CGREG_CALLED_BIT); in on_cgreg()
89 atomic_set_bit(&callback_called, MODEM_CHAT_UTEST_ON_QENG_SERVINGCELL_CALLED_BIT); in on_qeng_serving_cell()
95 atomic_set_bit(&callback_called, MODEM_CHAT_UTEST_ON_NO_CARRIER_CALLED_BIT); in on_no_carrier()
101 atomic_set_bit(&callback_called, MODEM_CHAT_UTEST_ON_ERROR_CALLED_BIT); in on_error()
107 atomic_set_bit(&callback_called, MODEM_CHAT_UTEST_ON_RDY_CALLED_BIT); in on_rdy()
113 atomic_set_bit(&callback_called, MODEM_CHAT_UTEST_ON_APP_RDY_CALLED_BIT); in on_app_rdy()
120 atomic_set_bit(&callback_called, MODEM_CHAT_UTEST_ON_NORMAL_POWER_DOWN_CALLED_BIT); in on_normal_power_down()
126 atomic_set_bit(&callback_called, MODEM_CHAT_UTEST_ON_CMGL_PARTIAL_CALLED_BIT); in on_cmgl_partial()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_id_scan_random_addr_check/src/
Dmain.c149 atomic_set_bit(adv.flags, BT_ADV_ENABLED); in ZTEST()
181 atomic_set_bit(adv.flags, BT_ADV_ENABLED); in ZTEST()
182 atomic_set_bit(adv.flags, BT_ADV_USE_IDENTITY); in ZTEST()
/Zephyr-Core-3.5.0/drivers/console/
Duart_console.c255 atomic_set_bit(&esc_state, ESC_ANSI_VAL); in handle_ansi()
373 atomic_set_bit(&esc_state, ESC_MCUMGR_PKT_2); in read_mcumgr_byte()
379 atomic_set_bit(&esc_state, ESC_MCUMGR_FRAG_2); in read_mcumgr_byte()
385 atomic_set_bit(&esc_state, ESC_MCUMGR_PKT_1); in read_mcumgr_byte()
389 atomic_set_bit(&esc_state, ESC_MCUMGR_FRAG_1); in read_mcumgr_byte()
506 atomic_set_bit(&esc_state, ESC_ANSI); in uart_console_isr()
507 atomic_set_bit(&esc_state, ESC_ANSI_FIRST); in uart_console_isr()
523 atomic_set_bit(&esc_state, ESC_ESC); in uart_console_isr()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Ddistribute_keyid.c38 atomic_set_bit(pst_keys, i); in bt_mesh_user_keyid_alloc()
67 atomic_set_bit(pst_keys, key_id - BT_MESH_TEST_PSA_KEY_ID_USER_MIN); in bt_mesh_user_keyid_assign()
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_le_oob_get_sc_data/src/
Dmain.c49 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
77 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_le_oob_set_sc_data/src/
Dmain.c49 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
77 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_id_set_adv_random_addr/src/
Dtest_suite_invalid_cases.c93 atomic_set_bit(adv_param.flags, BT_ADV_PARAMS_SET); in ZTEST()
125 atomic_set_bit(adv_param.flags, BT_ADV_PARAMS_SET); in ZTEST()
/Zephyr-Core-3.5.0/subsys/usb/usb_c/
Dusbc_timer.c21 atomic_set_bit(&usbc_timer->flags, TIMER_EXPIRED); in usbc_timer_handler()
34 atomic_set_bit(&usbc_timer->flags, TIMER_STARTED); in usbc_timer_start()
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/transport/src/
Dsmp_shell.c105 atomic_set_bit(&data->esc_state, ESC_MCUMGR_PKT_2); in read_mcumgr_byte()
116 atomic_set_bit(&data->esc_state, ESC_MCUMGR_FRAG_2); in read_mcumgr_byte()
127 atomic_set_bit(&data->esc_state, ESC_MCUMGR_PKT_1); in read_mcumgr_byte()
131 atomic_set_bit(&data->esc_state, ESC_MCUMGR_FRAG_1); in read_mcumgr_byte()
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_id_set_create_conn_own_addr/src/
Dmain.c117 atomic_set_bit(bt_dev.flags, BT_DEV_RPA_VALID); in ZTEST()
149 atomic_set_bit(bt_dev.flags, BT_DEV_RPA_VALID); in ZTEST()
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_id_delete/src/
Dtest_suite_bt_settings.c58 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()
112 atomic_set_bit(bt_dev.flags, BT_DEV_READY); in ZTEST()

123456