Home
last modified time | relevance | path

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

12

/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Dsmp.c487 atomic_set_bit(smp->flags, SMP_FLAG_TIMEOUT); in smp_create_pdu()
980 atomic_set_bit(smp->allowed_cmds, BT_SMP_CMD_PAIRING_REQ); in smp_br_reset()
1031 atomic_set_bit(smp->flags, SMP_FLAG_TIMEOUT); in smp_br_timeout()
1052 atomic_set_bit(smp->flags, SMP_FLAG_BR_CONNECTED); in bt_smp_br_connected()
1085 atomic_set_bit(smp->allowed_cmds, BT_SMP_CMD_PAIRING_FAIL); in smp_br_init()
1182 atomic_set_bit(smp->flags, SMP_FLAG_TIMEOUT); in smp_br_create_pdu()
1351 atomic_set_bit(smp->flags, SMP_FLAG_PAIRING); in smp_br_pairing_req()
1365 atomic_set_bit(smp->allowed_cmds, BT_SMP_CMD_IDENT_INFO); in smp_br_pairing_req()
1367 atomic_set_bit(smp->allowed_cmds, BT_SMP_CMD_SIGNING_INFO); in smp_br_pairing_req()
1405 atomic_set_bit(smp->allowed_cmds, BT_SMP_CMD_IDENT_INFO); in smp_br_pairing_rsp()
[all …]
Dssp.c109 atomic_set_bit(conn->flags, BT_CONN_BR_LEGACY_SECURE); in bt_conn_auth_pincode_entry()
124 atomic_set_bit(conn->flags, BT_CONN_USER); in pin_code_req()
125 atomic_set_bit(conn->flags, BT_CONN_BR_PAIRING); in pin_code_req()
245 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth()
249 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth()
253 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth()
265 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth()
329 atomic_set_bit(conn->flags, BT_CONN_BR_PAIRING_INITIATOR); in conn_auth()
466 atomic_set_bit(conn->flags, BT_CONN_BR_NOBOND); in bt_hci_link_key_notify()
479 atomic_set_bit(conn->flags, BT_CONN_BR_NOBOND); in bt_hci_link_key_notify()
[all …]
Decc.c62 atomic_set_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in bt_pub_key_gen()
199 atomic_set_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in bt_hci_evt_le_pkey_complete()
Did.c99 atomic_set_bit(adv->flags, BT_ADV_PAUSED); in adv_pause_enabled()
158 atomic_set_bit(adv->flags, BT_ADV_RANDOM_ADDR_PENDING); in bt_id_set_adv_random_addr()
227 atomic_set_bit(bt_dev.flags, BT_DEV_RPA_VALID); in bt_id_set_private_addr()
270 atomic_set_bit(adv->flags, BT_ADV_RPA_VALID); in bt_id_set_adv_private_addr()
280 atomic_set_bit(adv->flags, BT_ADV_RPA_VALID); in bt_id_set_adv_private_addr()
684 atomic_set_bit(bt_dev.flags, BT_DEV_ID_PENDING); in bt_id_pending_keys_update_set()
1254 atomic_set_bit(bt_dev.flags, BT_DEV_STORE_ID); in bt_setup_public_id_addr()
1334 atomic_set_bit(bt_dev.flags, in bt_setup_random_id_addr()
1354 atomic_set_bit(bt_dev.flags, BT_DEV_STORE_ID); in bt_setup_random_id_addr()
Dscan.c136 atomic_set_bit(bt_dev.flags, BT_DEV_SCAN_LIMITED); in start_le_scan_ext()
302 atomic_set_bit(bt_dev.flags, BT_DEV_SCAN_FILTER_DUP); in bt_le_scan_update()
568 atomic_set_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_CREATED); in per_adv_sync_new()
738 atomic_set_bit(pending_per_adv_sync->flags, BT_PER_ADV_SYNC_SYNCED); in bt_hci_le_per_adv_sync_established()
828 atomic_set_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_SYNCED); in bt_hci_le_past_received()
1177 atomic_set_bit(per_adv_sync->flags, in bt_le_per_adv_sync_create()
1206 atomic_set_bit(per_adv_sync->flags, in bt_le_per_adv_sync_create()
1220 atomic_set_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_SYNCING); in bt_le_per_adv_sync_create()
Dl2cap_br.c288 atomic_set_bit(l2cap->chan.flags, L2CAP_FLAG_SIG_INFO_PENDING); in l2cap_br_get_info()
394 atomic_set_bit(l2cap->chan.flags, L2CAP_FLAG_SIG_INFO_DONE); in l2cap_br_info_rsp()
753 atomic_set_bit(BR_CHAN(chan)->flags, L2CAP_FLAG_CONN_ACCEPTOR); in l2cap_br_conn_req()
827 atomic_set_bit(BR_CHAN(chan)->flags, L2CAP_FLAG_CONN_LCONF_DONE); in l2cap_br_conf_rsp()
1041 atomic_set_bit(BR_CHAN(chan)->flags, L2CAP_FLAG_CONN_RCONF_DONE); in l2cap_br_conf_req()
1257 atomic_set_bit(BR_CHAN(chan)->flags, L2CAP_FLAG_CONN_PENDING); in bt_l2cap_br_chan_connect()
Dadv.c93 atomic_set_bit(adv_pool[i].flags, BT_ADV_CREATED); in adv_new()
679 atomic_set_bit(adv->flags, BT_ADV_DATA_SET); in le_adv_update()
1054 atomic_set_bit(adv->flags, BT_ADV_PARAMS_SET); in le_ext_adv_param_set()
1126 atomic_set_bit(adv->flags, BT_ADV_LIMITED); in bt_le_adv_start_ext()
1325 atomic_set_bit(adv->flags, BT_ADV_PERSIST); in bt_le_adv_resume()
1608 atomic_set_bit(adv->flags, BT_PER_ADV_PARAMS_SET); in bt_le_per_adv_set_param()
/Zephyr-Core-2.7.6/drivers/console/
Duart_console.c247 atomic_set_bit(&esc_state, ESC_ANSI_VAL); in handle_ansi()
365 atomic_set_bit(&esc_state, ESC_MCUMGR_PKT_2); in read_mcumgr_byte()
371 atomic_set_bit(&esc_state, ESC_MCUMGR_FRAG_2); in read_mcumgr_byte()
377 atomic_set_bit(&esc_state, ESC_MCUMGR_PKT_1); in read_mcumgr_byte()
381 atomic_set_bit(&esc_state, ESC_MCUMGR_FRAG_1); in read_mcumgr_byte()
492 atomic_set_bit(&esc_state, ESC_ANSI); in uart_console_isr()
493 atomic_set_bit(&esc_state, ESC_ANSI_FIRST); in uart_console_isr()
509 atomic_set_bit(&esc_state, ESC_ESC); in uart_console_isr()
/Zephyr-Core-2.7.6/subsys/mgmt/mcumgr/
Dsmp_shell.c67 atomic_set_bit(&data->esc_state, ESC_MCUMGR_PKT_2); in read_mcumgr_byte()
73 atomic_set_bit(&data->esc_state, ESC_MCUMGR_FRAG_2); in read_mcumgr_byte()
79 atomic_set_bit(&data->esc_state, ESC_MCUMGR_PKT_1); in read_mcumgr_byte()
83 atomic_set_bit(&data->esc_state, ESC_MCUMGR_FRAG_1); in read_mcumgr_byte()
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dprov.c128 atomic_set_bit(bt_mesh_prov_link.flags, OOB_STATIC_KEY); in bt_mesh_prov_auth()
146 atomic_set_bit(bt_mesh_prov_link.flags, NOTIFY_INPUT_COMPLETE); in bt_mesh_prov_auth()
211 atomic_set_bit(bt_mesh_prov_link.flags, WAIT_STRING); in bt_mesh_prov_auth()
213 atomic_set_bit(bt_mesh_prov_link.flags, WAIT_NUMBER); in bt_mesh_prov_auth()
307 atomic_set_bit(bt_mesh_prov_link.flags, LINK_ACTIVE); in prov_link_opened()
Dcfg.c267 atomic_set_bit(bt_mesh.flags, BT_MESH_RELAY); in bt_mesh_cfg_default_set()
271 atomic_set_bit(bt_mesh.flags, BT_MESH_BEACON); in bt_mesh_cfg_default_set()
275 atomic_set_bit(bt_mesh.flags, BT_MESH_GATT_PROXY); in bt_mesh_cfg_default_set()
279 atomic_set_bit(bt_mesh.flags, BT_MESH_FRIEND); in bt_mesh_cfg_default_set()
Dsettings.c70 atomic_set_bit(bt_mesh.flags, BT_MESH_VALID); in mesh_commit()
98 atomic_set_bit(pending_flags, flag); in bt_mesh_settings_store_schedule()
Dadv_ext.c137 atomic_set_bit(adv.flags, ADV_FLAG_UPDATE_PARAMS); in buf_send()
179 atomic_set_bit(adv.flags, ADV_FLAG_PROXY); in send_pending_adv()
279 atomic_set_bit(adv.flags, ADV_FLAG_UPDATE_PARAMS); in bt_mesh_adv_start()
Dprovisioner.c102 atomic_set_bit(bt_mesh_prov_link.flags, WAIT_PUB_KEY); in start_sent()
123 atomic_set_bit(bt_mesh_prov_link.flags, OOB_PUB_KEY); in send_start()
338 atomic_set_bit(bt_mesh_prov_link.flags, PUB_KEY_SENT); in public_key_sent()
396 atomic_set_bit(bt_mesh_prov_link.flags, WAIT_CONFIRM); in prov_dh_key_cb()
440 atomic_set_bit(bt_mesh_prov_link.flags, REMOTE_PUB_KEY); in prov_pub_key()
764 atomic_set_bit(bt_mesh_prov_link.flags, PROVISIONER); in bt_mesh_pb_adv_open()
Dprov_device.c234 atomic_set_bit(bt_mesh_prov_link.flags, PUB_KEY_SENT); in public_key_sent()
368 atomic_set_bit(bt_mesh_prov_link.flags, WAIT_DH_KEY); in prov_pub_key()
374 atomic_set_bit(bt_mesh_prov_link.flags, WAIT_PUB_KEY); in prov_pub_key()
574 atomic_set_bit(bt_mesh_prov_link.flags, INPUT_COMPLETE); in local_input_complete()
Dcdb.c188 atomic_set_bit(bt_mesh_cdb.flags, BT_MESH_CDB_IVU_IN_PROGRESS); in cdb_net_set()
191 atomic_set_bit(bt_mesh_cdb.flags, BT_MESH_CDB_VALID); in cdb_net_set()
241 atomic_set_bit(node->flags, BT_MESH_CDB_NODE_CONFIGURED); in cdb_node_set()
523 atomic_set_bit(bt_mesh_cdb.flags, flag); in schedule_cdb_store()
/Zephyr-Core-2.7.6/tests/bluetooth/tester/src/
Dgap.c302 atomic_set_bit(&current_settings, GAP_SETTINGS_STATIC_ADDRESS); in controller_info()
450 atomic_set_bit(&current_settings, GAP_SETTINGS_CONNECTABLE); in set_connectable()
480 atomic_set_bit(&current_settings, GAP_SETTINGS_DISCOVERABLE); in set_discoverable()
485 atomic_set_bit(&current_settings, GAP_SETTINGS_DISCOVERABLE); in set_discoverable()
508 atomic_set_bit(&current_settings, GAP_SETTINGS_BONDABLE); in set_bondable()
562 atomic_set_bit(&current_settings, GAP_SETTINGS_ADVERTISING); in start_advertising()
607 atomic_set_bit(&current_settings, GAP_SETTINGS_ADVERTISING); in start_directed_advertising()
1341 atomic_set_bit(&current_settings, GAP_SETTINGS_POWERED); in tester_init_gap_cb()
1342 atomic_set_bit(&current_settings, GAP_SETTINGS_CONNECTABLE); in tester_init_gap_cb()
1343 atomic_set_bit(&current_settings, GAP_SETTINGS_BONDABLE); in tester_init_gap_cb()
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/lis2dh/
Dlis2dh_trigger.c63 atomic_set_bit(&lis2dh->trig_flags, START_TRIG_INT1); in lis2dh_trigger_drdy_set()
160 atomic_set_bit(&lis2dh->trig_flags, START_TRIG_INT2); in lis2dh_trigger_anym_set()
255 atomic_set_bit(&lis2dh->trig_flags, TRIGGED_INT1); in lis2dh_gpio_int1_callback()
272 atomic_set_bit(&lis2dh->trig_flags, TRIGGED_INT2); in lis2dh_gpio_int2_callback()
/Zephyr-Core-2.7.6/drivers/pcie/host/
Dpcie.c222 atomic_set_bit(irq_reserved, *irq); in irq_init()
250 atomic_set_bit(irq_reserved, irq); in pcie_alloc_irq()
/Zephyr-Core-2.7.6/tests/kernel/common/src/
Datomic.c253 atomic_set_bit(&target, i); in test_atomic()
275 atomic_set_bit(flag_bits, i); in test_atomic()
/Zephyr-Core-2.7.6/include/sys/
Datomic.h205 static inline void atomic_set_bit(atomic_t *target, int bit) in atomic_set_bit() function
/Zephyr-Core-2.7.6/samples/bluetooth/mesh_provisioner/src/
Dmain.c117 atomic_set_bit(self->flags, BT_MESH_CDB_NODE_CONFIGURED); in configure_self()
208 atomic_set_bit(node->flags, BT_MESH_CDB_NODE_CONFIGURED); in configure_node()
/Zephyr-Core-2.7.6/samples/subsys/usb/hid/src/
Dmain.c165 atomic_set_bit(hid_ep_in_busy, HID_EP_BUSY_FLAG); in composite_pre_init()
/Zephyr-Core-2.7.6/subsys/pm/
Ddevice.c190 atomic_set_bit(&dev->pm->flags, PM_DEVICE_FLAG_BUSY); in pm_device_busy_set()
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/bsim_test_mesh/src/
Dtest_provision.c55 atomic_set_bit(flags, IS_PROVISIONER); in test_provisioner_init()

12