Home
last modified time | relevance | path

Searched refs:atomic_test_and_clear_bit (Results 1 – 25 of 32) sorted by relevance

12

/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dsettings.c133 if (atomic_test_and_clear_bit(pending_flags, in store_pending()
138 if (atomic_test_and_clear_bit(pending_flags, in store_pending()
143 if (atomic_test_and_clear_bit(pending_flags, in store_pending()
148 if (atomic_test_and_clear_bit(pending_flags, in store_pending()
153 if (atomic_test_and_clear_bit(pending_flags, in store_pending()
158 if (atomic_test_and_clear_bit(pending_flags, in store_pending()
163 if (atomic_test_and_clear_bit(pending_flags, in store_pending()
168 if (atomic_test_and_clear_bit(pending_flags, in store_pending()
173 if (atomic_test_and_clear_bit(pending_flags, in store_pending()
178 if (atomic_test_and_clear_bit(pending_flags, in store_pending()
[all …]
Dadv_ext.c189 if (atomic_test_and_clear_bit(adv.flags, ADV_FLAG_PROXY)) { in schedule_send()
237 if (!atomic_test_and_clear_bit(adv.flags, ADV_FLAG_PROXY)) { in adv_sent()
247 if (atomic_test_and_clear_bit(adv.flags, ADV_FLAG_PROXY)) { in connected()
Dprov_device.c288 if (!atomic_test_and_clear_bit(bt_mesh_prov_link.flags, WAIT_DH_KEY) && in dh_key_gen_complete()
391 if (atomic_test_and_clear_bit(bt_mesh_prov_link.flags, WAIT_PUB_KEY)) { in pub_key_ready()
398 if (atomic_test_and_clear_bit(bt_mesh_prov_link.flags, in notify_input_complete()
466 if (!atomic_test_and_clear_bit(bt_mesh_prov_link.flags, WAIT_DH_KEY)) { in prov_confirm()
Dprov.c227 if (!atomic_test_and_clear_bit(bt_mesh_prov_link.flags, WAIT_NUMBER)) { in bt_mesh_input_number()
242 if (!atomic_test_and_clear_bit(bt_mesh_prov_link.flags, WAIT_STRING)) { in bt_mesh_input_string()
Dprovisioner.c458 if (atomic_test_and_clear_bit(bt_mesh_prov_link.flags, WAIT_PUB_KEY)) { in pub_key_ready()
465 if (atomic_test_and_clear_bit(bt_mesh_prov_link.flags, in notify_input_complete()
478 if (atomic_test_and_clear_bit(bt_mesh_prov_link.flags, WAIT_CONFIRM)) { in prov_input_complete()
654 if (atomic_test_and_clear_bit(bt_mesh_prov_link.flags, WAIT_CONFIRM)) { in local_input_complete()
Drpl.c311 if (atomic_test_and_clear_bit(store, rpl_idx(rpl))) { in store_pending_rpl()
Dcdb.c1067 if (atomic_test_and_clear_bit(bt_mesh_cdb.flags, in bt_mesh_cdb_pending_store()
1077 if (atomic_test_and_clear_bit(bt_mesh_cdb.flags, in bt_mesh_cdb_pending_store()
1082 if (atomic_test_and_clear_bit(bt_mesh_cdb.flags, in bt_mesh_cdb_pending_store()
Dmain.c287 if (!atomic_test_and_clear_bit(bt_mesh.flags, BT_MESH_SUSPENDED)) { in bt_mesh_resume()
Dlpn.c936 if (atomic_test_and_clear_bit(lpn->pending, i) && in bt_mesh_lpn_friend_sub_cfm()
937 atomic_test_and_clear_bit(lpn->to_remove, i)) { in bt_mesh_lpn_friend_sub_cfm()
/Zephyr-Core-2.7.6/lib/os/
Duser_work.c30 if (atomic_test_and_clear_bit(&work->flags, in z_work_user_q_main()
/Zephyr-Core-2.7.6/drivers/sensor/lis2dh/
Dlis2dh_trigger.c288 unlikely(atomic_test_and_clear_bit(&lis2dh->trig_flags, in lis2dh_thread_cb()
299 unlikely(atomic_test_and_clear_bit(&lis2dh->trig_flags, in lis2dh_thread_cb()
310 atomic_test_and_clear_bit(&lis2dh->trig_flags, in lis2dh_thread_cb()
325 atomic_test_and_clear_bit(&lis2dh->trig_flags, in lis2dh_thread_cb()
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Dssp.c104 if (!atomic_test_and_clear_bit(conn->flags, BT_CONN_USER)) { in bt_conn_auth_pincode_entry()
355 if (!atomic_test_and_clear_bit(conn->flags, BT_CONN_USER)) { in bt_ssp_auth_passkey_entry()
369 if (!atomic_test_and_clear_bit(conn->flags, BT_CONN_USER)) { in bt_ssp_auth_passkey_confirm()
384 if (!atomic_test_and_clear_bit(conn->flags, BT_CONN_USER)) { in bt_ssp_auth_cancel()
454 if (atomic_test_and_clear_bit(conn->flags, in bt_hci_link_key_notify()
Dsettings.c266 if (atomic_test_and_clear_bit(bt_dev.flags, BT_DEV_STORE_ID)) { in commit()
Dadv.c1056 if (atomic_test_and_clear_bit(adv->flags, BT_ADV_RANDOM_ADDR_PENDING)) { in le_ext_adv_param_set()
1316 persist_paused = atomic_test_and_clear_bit(adv->flags, in bt_le_adv_resume()
1475 if (atomic_test_and_clear_bit(adv->flags, BT_ADV_LIMITED)) { in bt_le_ext_adv_stop()
1836 if (atomic_test_and_clear_bit(adv->flags, BT_ADV_LIMITED)) { in bt_hci_le_adv_set_terminated()
Dsmp.c1641 if (!atomic_test_and_clear_bit(smp->allowed_cmds, hdr->code)) { in bt_smp_br_recv()
2565 if (!atomic_test_and_clear_bit(smp->flags, SMP_FLAG_CFM_DELAYED)) { in legacy_user_tk_entry()
3837 if (atomic_test_and_clear_bit(smp->flags, SMP_FLAG_USER) || in smp_pairing_failed()
3838 atomic_test_and_clear_bit(smp->flags, SMP_FLAG_DISPLAY)) { in smp_pairing_failed()
4498 if (!atomic_test_and_clear_bit(smp->allowed_cmds, hdr->code)) { in bt_smp_recv()
4619 if (!atomic_test_and_clear_bit(smp->flags, SMP_FLAG_ENC_PENDING)) { in bt_smp_encrypt_change()
5271 if (!atomic_test_and_clear_bit(smp->flags, SMP_FLAG_USER)) { in bt_smp_auth_passkey_entry()
5317 if (!atomic_test_and_clear_bit(smp->flags, SMP_FLAG_USER)) { in bt_smp_auth_passkey_confirm()
5369 if (!atomic_test_and_clear_bit(smp->flags, SMP_FLAG_USER)) { in bt_smp_le_oob_set_tk()
5495 if (!atomic_test_and_clear_bit(smp->flags, SMP_FLAG_OOB_PENDING)) { in bt_smp_le_oob_set_sc_data()
[all …]
Dl2cap_br.c338 if (atomic_test_and_clear_bit(l2cap->chan.flags, in l2cap_br_info_rsp()
1135 if (atomic_test_and_clear_bit(BR_CHAN(chan)->flags, in l2cap_br_disconnected()
1460 } else if (atomic_test_and_clear_bit(BR_CHAN(chan)->flags, in l2cap_br_conn_pend()
Dconn.c707 atomic_test_and_clear_bit(conn->flags, BT_CONN_CLEANUP)) { in conn_prepare_events()
785 atomic_test_and_clear_bit(conn->flags, BT_CONN_CLEANUP)) { in bt_conn_process_tx()
1660 if (atomic_test_and_clear_bit(conn->flags, in deferred_work()
2766 if (atomic_test_and_clear_bit(conn->flags, in bt_le_set_auto_conn()
Did.c106 if (atomic_test_and_clear_bit(adv->flags, BT_ADV_PAUSED)) { in adv_unpause_enabled()
690 if (atomic_test_and_clear_bit(bt_dev.flags, BT_DEV_ID_PENDING)) { in bt_id_pending_keys_update()
/Zephyr-Core-2.7.6/include/sys/
Datomic.h145 static inline bool atomic_test_and_clear_bit(atomic_t *target, int bit) in atomic_test_and_clear_bit() function
/Zephyr-Core-2.7.6/samples/subsys/usb/hid/src/
Dmain.c82 if (!atomic_test_and_clear_bit(hid_ep_in_busy, HID_EP_BUSY_FLAG)) { in int_in_ready_cb()
/Zephyr-Core-2.7.6/drivers/console/
Duart_console.c241 if (atomic_test_and_clear_bit(&esc_state, ESC_ANSI_FIRST)) { in handle_ansi()
490 if (atomic_test_and_clear_bit(&esc_state, ESC_ESC)) { in uart_console_isr()
/Zephyr-Core-2.7.6/tests/kernel/common/src/
Datomic.c227 zassert_true(!!(atomic_test_and_clear_bit(&target, i)) == !!(orig & (1 << i)), in test_atomic()
/Zephyr-Core-2.7.6/drivers/can/
Dcan_mcux_flexcan.c490 if (atomic_test_and_clear_bit(data->rx_allocs, filter_id)) { in mcux_flexcan_detach()
567 if (atomic_test_and_clear_bit(data->tx_allocs, alloc)) { in mcux_flexcan_transfer_error_status()
596 if (atomic_test_and_clear_bit(data->tx_allocs, alloc)) { in mcux_flexcan_transfer_tx_idle()
/Zephyr-Core-2.7.6/subsys/net/l2/ppp/
Dppp_l2.c308 if (atomic_test_and_clear_bit(&ctx->flags, PPP_CARRIER_UP)) { in net_ppp_carrier_off()
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/hci/
Dhci_driver.c387 reset = atomic_test_and_clear_bit(&hci_state_mask, HCI_STATE_BIT_RESET); in process_hbuf()

12