/Zephyr-Core-3.5.0/samples/bluetooth/hap_ha/src/ |
D | ccp_call_ctrl.c | 34 if (!atomic_test_and_set_bit(flags_for_conn, CCP_FLAG_GTBS_DISCOVER)) { in process_profile_connection() 39 } else if (!atomic_test_and_set_bit(flags_for_conn, CCP_FLAG_CCID_READ)) { in process_profile_connection() 44 } else if (!atomic_test_and_set_bit(flags_for_conn, CCP_FLAG_STATUS_FLAGS_READ)) { in process_profile_connection() 49 } else if (!atomic_test_and_set_bit(flags_for_conn, CCP_FLAG_CALL_STATE_READ)) { in process_profile_connection() 54 } else if (!atomic_test_and_set_bit(flags_for_conn, CCP_FLAG_PROFILE_CONNECTED)) { in process_profile_connection()
|
/Zephyr-Core-3.5.0/arch/x86/core/intel64/ |
D | irq.c | 202 if (!atomic_test_and_set_bit(irq_reserved, IRQ_LIST_INITIALIZED)) { in arch_irq_allocate() 215 if (!atomic_test_and_set_bit(irq_reserved, irq)) { in arch_irq_allocate()
|
/Zephyr-Core-3.5.0/subsys/modem/backends/ |
D | modem_backend_uart_async.c | 71 if (!atomic_test_and_set_bit(&backend->async.state, in modem_backend_uart_async_event_handler() 79 if (!atomic_test_and_set_bit(&backend->async.state, in modem_backend_uart_async_event_handler() 173 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-Core-3.5.0/subsys/bluetooth/host/ |
D | monitor.c | 210 if (atomic_test_and_set_bit(&flags, BT_LOG_BUSY)) { in bt_monitor_send() 243 if (atomic_test_and_set_bit(&flags, BT_CONSOLE_BUSY)) { in monitor_console_out() 328 if (atomic_test_and_set_bit(&flags, BT_LOG_BUSY)) { in monitor_log_process()
|
D | hci_ecc.c | 247 if (atomic_test_and_set_bit(flags, PENDING_DHKEY)) { in le_gen_dhkey() 298 } else if (atomic_test_and_set_bit(flags, PENDING_PUB_KEY)) { in le_p256_pub_key()
|
D | ecc.c | 83 if (atomic_test_and_set_bit(bt_dev.flags, BT_DEV_PUB_KEY_BUSY)) { in bt_pub_key_gen()
|
/Zephyr-Core-3.5.0/include/zephyr/sys/ |
D | atomic.h | 176 static inline bool atomic_test_and_set_bit(atomic_t *target, int bit) in atomic_test_and_set_bit() function
|
/Zephyr-Core-3.5.0/samples/subsys/usb/hid/src/ |
D | main.c | 62 if (!atomic_test_and_set_bit(hid_ep_in_busy, HID_EP_BUSY_FLAG)) { in send_report()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/ |
D | main.c | 66 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() 515 if (atomic_test_and_set_bit(bt_mesh.flags, BT_MESH_INIT)) { in bt_mesh_init()
|
D | adv_ext.c | 153 if (atomic_test_and_set_bit(adv->flags, ADV_FLAG_ACTIVE)) { in adv_start() 341 } else if (atomic_test_and_set_bit(adv->flags, ADV_FLAG_SCHEDULED)) { in schedule_send()
|
D | pb_adv.c | 325 bool pending = atomic_test_and_set_bit(link.flags, ADV_ACK_PENDING); in gen_prov_ack_send() 802 if (atomic_test_and_set_bit(link.flags, ADV_LINK_ACK_RECVD)) { in link_ack() 868 if (atomic_test_and_set_bit(link.flags, ADV_LINK_ACTIVE)) { in prov_link_open() 920 if (atomic_test_and_set_bit(link.flags, ADV_LINK_CLOSING)) { in prov_link_close()
|
D | provisioner.c | 784 if (atomic_test_and_set_bit(bt_mesh_prov_link.flags, REMOTE_PUB_KEY)) { in bt_mesh_prov_remote_pub_key_set() 799 if (atomic_test_and_set_bit(bt_mesh_prov_link.flags, LINK_ACTIVE)) { in link_open() 869 if (atomic_test_and_set_bit(bt_mesh_prov_link.flags, LINK_ACTIVE)) { in reprovision_local_client_server()
|
/Zephyr-Core-3.5.0/subsys/usb/device_next/class/ |
D | usbd_cdc_acm.c | 471 if (atomic_test_and_set_bit(&data->state, CDC_ACM_LOCK)) { in cdc_acm_tx_fifo_handler() 525 if (atomic_test_and_set_bit(&data->state, CDC_ACM_RX_FIFO_BUSY)) { in cdc_acm_rx_fifo_handler() 736 if (atomic_test_and_set_bit(&data->state, CDC_ACM_LOCK)) { in cdc_acm_irq_cb_handler() 793 if (atomic_test_and_set_bit(&data->state, CDC_ACM_LOCK)) { in cdc_acm_poll_in() 818 if (atomic_test_and_set_bit(&data->state, CDC_ACM_LOCK)) { in cdc_acm_poll_out()
|
D | usbd_msc.c | 171 if (atomic_test_and_set_bit(&ctx->bits, MSC_BULK_OUT_QUEUED)) { in msc_queue_bulk_out_ep() 258 if (atomic_test_and_set_bit(&ctx->bits, MSC_BULK_IN_QUEUED)) { in msc_process_read() 532 if (atomic_test_and_set_bit(&ctx->bits, MSC_BULK_IN_QUEUED)) { in msc_send_csw()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/ |
D | has_client.c | 883 atomic_test_and_set_bit(inst->flags, HAS_DISCOVER_IN_PROGRESS)) { in bt_has_client_discover() 922 atomic_test_and_set_bit(inst->flags, HAS_CP_OPERATION_IN_PROGRESS)) { in bt_has_client_presets_read() 962 atomic_test_and_set_bit(inst->flags, HAS_CP_OPERATION_IN_PROGRESS)) { in bt_has_client_preset_set() 987 atomic_test_and_set_bit(inst->flags, HAS_CP_OPERATION_IN_PROGRESS)) { in bt_has_client_preset_next() 1012 atomic_test_and_set_bit(inst->flags, HAS_CP_OPERATION_IN_PROGRESS)) { in bt_has_client_preset_prev()
|
/Zephyr-Core-3.5.0/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-Core-3.5.0/tests/kernel/common/src/ |
D | atomic.c | 243 zassert_true(!!(atomic_test_and_set_bit(&target, i)) == !!(orig & BIT(i)), in ZTEST_USER()
|
/Zephyr-Core-3.5.0/subsys/modbus/ |
D | modbus_core.c | 202 if (atomic_test_and_set_bit(&ctx->state, MODBUS_STATE_CONFIGURED)) { in modbus_init_iface()
|
/Zephyr-Core-3.5.0/arch/xtensa/core/ |
D | xtensa_mmu.c | 120 if (!atomic_test_and_set_bit(l2_page_tables_track, idx)) { in alloc_l2_table()
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | dma.h | 515 if (!atomic_test_and_set_bit(dma_ctx->atomic, i)) { in z_impl_dma_request_channel()
|
/Zephyr-Core-3.5.0/drivers/console/ |
D | uart_console.c | 275 !atomic_test_and_set_bit(&esc_state, ESC_ANSI_VAL_2)) { in handle_ansi()
|
/Zephyr-Core-3.5.0/drivers/adc/ |
D | adc_mchp_xec.c | 91 if (atomic_test_and_set_bit(data->pm_policy_state_flag, flag) == 0) { in adc_xec_pm_policy_state_lock_get()
|
/Zephyr-Core-3.5.0/subsys/modem/ |
D | modem_ppp.c | 463 if (atomic_test_and_set_bit(&ppp->state, MODEM_PPP_STATE_ATTACHED_BIT) == true) { in modem_ppp_attach()
|
/Zephyr-Core-3.5.0/drivers/peci/ |
D | peci_mchp_xec.c | 74 if (atomic_test_and_set_bit(data->pm_policy_state_flag, flag) == 0) { in peci_xec_pm_policy_state_lock_get()
|