/Zephyr-latest/samples/bluetooth/hap_ha/src/ |
D | ccp_call_ctrl.c | 35 if (!atomic_test_and_set_bit(flags_for_conn, CCP_FLAG_GTBS_DISCOVER)) { in process_profile_connection() 40 } else if (!atomic_test_and_set_bit(flags_for_conn, CCP_FLAG_CCID_READ)) { in process_profile_connection() 45 } else if (!atomic_test_and_set_bit(flags_for_conn, CCP_FLAG_STATUS_FLAGS_READ)) { in process_profile_connection() 50 } else if (!atomic_test_and_set_bit(flags_for_conn, CCP_FLAG_CALL_STATE_READ)) { in process_profile_connection() 55 } else if (!atomic_test_and_set_bit(flags_for_conn, CCP_FLAG_PROFILE_CONNECTED)) { in process_profile_connection()
|
/Zephyr-latest/arch/x86/core/intel64/ |
D | irq.c | 156 if (!atomic_test_and_set_bit(irq_reserved, IRQ_LIST_INITIALIZED)) { in arch_irq_allocate() 169 if (!atomic_test_and_set_bit(irq_reserved, irq)) { in arch_irq_allocate()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | mcc.c | 2108 if (atomic_test_and_set_bit(mcs_inst->flags, MCC_FLAG_BUSY)) { in bt_mcc_discover_mcs() 2161 } else if (atomic_test_and_set_bit(mcs_inst->flags, MCC_FLAG_BUSY)) { in bt_mcc_read_player_name() 2200 } else if (atomic_test_and_set_bit(mcs_inst->flags, MCC_FLAG_BUSY)) { in bt_mcc_read_icon_obj_id() 2240 } else if (atomic_test_and_set_bit(mcs_inst->flags, MCC_FLAG_BUSY)) { in bt_mcc_read_icon_url() 2280 } else if (atomic_test_and_set_bit(mcs_inst->flags, MCC_FLAG_BUSY)) { in bt_mcc_read_track_title() 2320 } else if (atomic_test_and_set_bit(mcs_inst->flags, MCC_FLAG_BUSY)) { in bt_mcc_read_track_duration() 2360 } else if (atomic_test_and_set_bit(mcs_inst->flags, MCC_FLAG_BUSY)) { in bt_mcc_read_track_position() 2400 } else if (atomic_test_and_set_bit(mcs_inst->flags, MCC_FLAG_BUSY)) { in bt_mcc_set_track_position() 2445 } else if (atomic_test_and_set_bit(mcs_inst->flags, MCC_FLAG_BUSY)) { in bt_mcc_read_playback_speed() 2485 } else if (atomic_test_and_set_bit(mcs_inst->flags, MCC_FLAG_BUSY)) { in bt_mcc_set_playback_speed() [all …]
|
D | aics_client.c | 472 } else if (atomic_test_and_set_bit(inst->cli.flags, BT_AICS_CLIENT_FLAG_BUSY)) { in aics_client_common_control() 707 if (atomic_test_and_set_bit(inst->cli.flags, BT_AICS_CLIENT_FLAG_BUSY)) { in bt_aics_discover() 735 if (!atomic_test_and_set_bit(aics_insts[i].cli.flags, BT_AICS_CLIENT_FLAG_ACTIVE)) { in bt_aics_client_free_instance_get() 788 } else if (atomic_test_and_set_bit(inst->cli.flags, BT_AICS_CLIENT_FLAG_BUSY)) { in bt_aics_client_state_get() 826 } else if (atomic_test_and_set_bit(inst->cli.flags, BT_AICS_CLIENT_FLAG_BUSY)) { in bt_aics_client_gain_setting_get() 864 } else if (atomic_test_and_set_bit(inst->cli.flags, BT_AICS_CLIENT_FLAG_BUSY)) { in bt_aics_client_type_get() 902 } else if (atomic_test_and_set_bit(inst->cli.flags, BT_AICS_CLIENT_FLAG_BUSY)) { in bt_aics_client_status_get() 960 } else if (atomic_test_and_set_bit(inst->cli.flags, BT_AICS_CLIENT_FLAG_BUSY)) { in bt_aics_client_gain_set() 1003 } else if (atomic_test_and_set_bit(inst->cli.flags, BT_AICS_CLIENT_FLAG_BUSY)) { in bt_aics_client_description_get() 1045 } else if (atomic_test_and_set_bit(inst->cli.flags, BT_AICS_CLIENT_FLAG_BUSY)) { in bt_aics_client_description_set()
|
D | vocs_client.c | 459 if (atomic_test_and_set_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY)) { in bt_vocs_client_state_get() 530 } else if (atomic_test_and_set_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY)) { in bt_vocs_client_location_get() 570 } else if (atomic_test_and_set_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY)) { in bt_vocs_client_state_set() 610 } else if (atomic_test_and_set_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY)) { in bt_vocs_client_description_get() 663 if (!atomic_test_and_set_bit(insts[i].flags, BT_VOCS_CLIENT_FLAG_ACTIVE)) { in bt_vocs_client_free_instance_get() 750 } else if (atomic_test_and_set_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY)) { in bt_vocs_discover()
|
D | bap_broadcast_assistant.c | 429 if (atomic_test_and_set_bit(inst->flags, BAP_BA_FLAG_BUSY)) { in long_bap_read() 1028 if (atomic_test_and_set_bit(inst->flags, BAP_BA_FLAG_BUSY)) { in bt_bap_broadcast_assistant_discover() 1126 } else if (atomic_test_and_set_bit(inst->flags, BAP_BA_FLAG_BUSY)) { in bt_bap_broadcast_assistant_scan_start() 1138 if (atomic_test_and_set_bit(inst->flags, BAP_BA_FLAG_SCANNING)) { in bt_bap_broadcast_assistant_scan_start() 1213 } else if (atomic_test_and_set_bit(inst->flags, BAP_BA_FLAG_BUSY)) { in bt_bap_broadcast_assistant_scan_stop() 1381 } else if (atomic_test_and_set_bit(inst->flags, BAP_BA_FLAG_BUSY)) { in bt_bap_broadcast_assistant_add_src() 1507 } else if (atomic_test_and_set_bit(inst->flags, BAP_BA_FLAG_BUSY)) { in bt_bap_broadcast_assistant_mod_src() 1609 } else if (atomic_test_and_set_bit(inst->flags, BAP_BA_FLAG_BUSY)) { in bt_bap_broadcast_assistant_set_broadcast_code() 1649 } else if (atomic_test_and_set_bit(inst->flags, BAP_BA_FLAG_BUSY)) { in bt_bap_broadcast_assistant_rem_src() 1708 } else if (atomic_test_and_set_bit(inst->flags, BAP_BA_FLAG_BUSY)) { in bt_bap_broadcast_assistant_read_recv_state()
|
D | has_client.c | 852 atomic_test_and_set_bit(inst->flags, HAS_CLIENT_DISCOVER_IN_PROGRESS)) { in bt_has_client_discover() 891 atomic_test_and_set_bit(inst->flags, HAS_CLIENT_CP_OPERATION_IN_PROGRESS)) { in bt_has_client_presets_read() 931 atomic_test_and_set_bit(inst->flags, HAS_CLIENT_CP_OPERATION_IN_PROGRESS)) { in bt_has_client_preset_set() 956 atomic_test_and_set_bit(inst->flags, HAS_CLIENT_CP_OPERATION_IN_PROGRESS)) { in bt_has_client_preset_next() 981 atomic_test_and_set_bit(inst->flags, HAS_CLIENT_CP_OPERATION_IN_PROGRESS)) { in bt_has_client_preset_prev()
|
D | micp_mic_ctlr.c | 544 if (atomic_test_and_set_bit(mic_ctlr->flags, BT_MICP_MIC_CTLR_FLAG_BUSY)) { in bt_micp_mic_ctlr_discover() 693 } else if (atomic_test_and_set_bit(mic_ctlr->flags, BT_MICP_MIC_CTLR_FLAG_BUSY)) { in bt_micp_mic_ctlr_mute_get() 724 } else if (atomic_test_and_set_bit(mic_ctlr->flags, BT_MICP_MIC_CTLR_FLAG_BUSY)) { in bt_micp_mic_ctlr_write_mute()
|
D | vcp_vol_ctlr.c | 587 } else if (atomic_test_and_set_bit(vol_ctlr->flags, BT_VCP_VOL_CTLR_FLAG_BUSY)) { in vcp_vol_ctlr_common_vcs_cp() 963 if (atomic_test_and_set_bit(vol_ctlr->flags, BT_VCP_VOL_CTLR_FLAG_BUSY)) { in bt_vcp_vol_ctlr_discover() 1109 } else if (atomic_test_and_set_bit(vol_ctlr->flags, BT_VCP_VOL_CTLR_FLAG_BUSY)) { in bt_vcp_vol_ctlr_read_state() 1144 } else if (atomic_test_and_set_bit(vol_ctlr->flags, BT_VCP_VOL_CTLR_FLAG_BUSY)) { in bt_vcp_vol_ctlr_read_flags() 1215 } else if (atomic_test_and_set_bit(vol_ctlr->flags, BT_VCP_VOL_CTLR_FLAG_BUSY)) { in bt_vcp_vol_ctlr_set_vol()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | monitor.c | 233 if (atomic_test_and_set_bit(&flags, BT_LOG_BUSY)) { in bt_monitor_send() 266 if (atomic_test_and_set_bit(&flags, BT_CONSOLE_BUSY)) { in monitor_console_out() 348 if (atomic_test_and_set_bit(&flags, BT_LOG_BUSY)) { in monitor_log_process()
|
D | hci_ecc.c | 287 if (atomic_test_and_set_bit(flags, PENDING_DHKEY)) { in le_gen_dhkey() 338 } else if (atomic_test_and_set_bit(flags, PENDING_PUB_KEY)) { in le_p256_pub_key()
|
D | ecc.c | 115 if (atomic_test_and_set_bit(bt_dev.flags, BT_DEV_PUB_KEY_BUSY)) { in bt_pub_key_gen()
|
/Zephyr-latest/subsys/modem/backends/ |
D | modem_backend_uart_async.c | 75 if (!atomic_test_and_set_bit(&backend->async.state, in modem_backend_uart_async_event_handler() 83 if (!atomic_test_and_set_bit(&backend->async.state, in modem_backend_uart_async_event_handler() 210 transmitting = atomic_test_and_set_bit(&backend->async.state, in modem_backend_uart_async_transmit()
|
D | modem_backend_tty.c | 56 if (atomic_test_and_set_bit(&backend->state, MODEM_BACKEND_TTY_STATE_RUN_BIT)) { in modem_backend_tty_open()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | main.c | 65 if (atomic_test_and_set_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_provision() 442 if (atomic_test_and_set_bit(bt_mesh.flags, BT_MESH_SUSPENDED)) { in bt_mesh_suspend() 568 if (atomic_test_and_set_bit(bt_mesh.flags, BT_MESH_INIT)) { in bt_mesh_init()
|
D | pb_adv.c | 451 bool pending = atomic_test_and_set_bit(link.flags, ADV_ACK_PENDING); in gen_prov_ack_send() 937 if (atomic_test_and_set_bit(link.flags, ADV_LINK_ACK_RECVD)) { in link_ack() 1003 if (atomic_test_and_set_bit(link.flags, ADV_LINK_ACTIVE)) { in prov_link_open() 1057 if (atomic_test_and_set_bit(link.flags, ADV_LINK_CLOSING)) { in prov_link_close()
|
D | provisioner.c | 790 if (atomic_test_and_set_bit(bt_mesh_prov_link.flags, REMOTE_PUB_KEY)) { in bt_mesh_prov_remote_pub_key_set() 805 if (atomic_test_and_set_bit(bt_mesh_prov_link.flags, LINK_ACTIVE)) { in link_open() 875 if (atomic_test_and_set_bit(bt_mesh_prov_link.flags, LINK_ACTIVE)) { in reprovision_local_client_server()
|
/Zephyr-latest/include/zephyr/sys/ |
D | atomic.h | 170 static inline bool atomic_test_and_set_bit(atomic_t *target, int bit) in atomic_test_and_set_bit() function
|
/Zephyr-latest/drivers/modem/ |
D | modem_at_shell.c | 236 if (atomic_test_and_set_bit(&at_shell_state, AT_SHELL_STATE_SCRIPT_RUNNING_BIT)) { in at_shell_cmd_handler()
|
/Zephyr-latest/drivers/serial/ |
D | uart_cc13xx_cc26xx.c | 249 if (!atomic_test_and_set_bit(data->pm_lock, UART_CC13XX_CC26XX_PM_LOCK_TX)) { in uart_cc13xx_cc26xx_irq_tx_enable() 301 if (!atomic_test_and_set_bit(data->pm_lock, UART_CC13XX_CC26XX_PM_LOCK_RX)) { in uart_cc13xx_cc26xx_irq_rx_enable()
|
/Zephyr-latest/samples/subsys/usb/webusb-next/src/ |
D | sfunc.c | 149 if (!atomic_test_and_set_bit(&data->state, SAMPLE_FUNCTION_ENABLED)) { in sfunc_enable()
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | usbd_msc.c | 179 if (atomic_test_and_set_bit(&ctx->bits, MSC_BULK_OUT_QUEUED)) { in msc_queue_bulk_out_ep() 266 if (atomic_test_and_set_bit(&ctx->bits, MSC_BULK_IN_QUEUED)) { in msc_process_read() 540 if (atomic_test_and_set_bit(&ctx->bits, MSC_BULK_IN_QUEUED)) { in msc_send_csw()
|
D | usbd_uac2.c | 272 if (atomic_test_and_set_bit(queued_bits, as_idx)) { in usbd_uac2_send() 274 if (atomic_test_and_set_bit(queued_bits, as_idx)) { in usbd_uac2_send() 325 if (atomic_test_and_set_bit(&ctx->as_queued, as_idx)) { in schedule_iso_out_read()
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
D | cap_acceptor_broadcast.c | 234 if (!atomic_test_and_set_bit(flags, FLAG_BASE_RECEIVED)) { in base_recv_cb() 249 if (!atomic_test_and_set_bit(flags, FLAG_BROADCAST_SYNCABLE)) { in syncable_cb()
|
/Zephyr-latest/tests/kernel/common/src/ |
D | atomic.c | 243 zassert_true(!!(atomic_test_and_set_bit(&target, i)) == !!(orig & BIT(i)), in ZTEST_USER()
|