Home
last modified time | relevance | path

Searched refs:atomic_test_and_set_bit (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Dmonitor.c167 if (atomic_test_and_set_bit(&flags, BT_LOG_BUSY)) { in bt_monitor_send()
212 if (atomic_test_and_set_bit(&flags, BT_CONSOLE_BUSY)) { in monitor_console_out()
299 if (atomic_test_and_set_bit(&flags, BT_LOG_BUSY)) { in monitor_log_put()
Dhci_ecc.c250 if (atomic_test_and_set_bit(flags, PENDING_DHKEY)) { in le_gen_dhkey()
301 } else if (atomic_test_and_set_bit(flags, PENDING_PUB_KEY)) { in le_p256_pub_key()
Decc.c81 if (atomic_test_and_set_bit(bt_dev.flags, BT_DEV_PUB_KEY_BUSY)) { in bt_pub_key_gen()
Datt.c157 if (atomic_test_and_set_bit(chan->flags, ATT_PENDING_SENT)) { in chan_send()
2454 atomic_test_and_set_bit(att_chan->flags, ATT_PENDING_RSP)) { in bt_att_recv()
2458 atomic_test_and_set_bit(att_chan->flags, in bt_att_recv()
Dl2cap_br.c304 if (atomic_test_and_set_bit(chan->flags, L2CAP_FLAG_FIXED_CONNECTED)) { in connect_fixed_channel()
Dscan.c990 if (atomic_test_and_set_bit(bt_dev.flags, BT_DEV_EXPLICIT_SCAN)) { in bt_le_scan_start()
Dhci_core.c1570 !atomic_test_and_set_bit(conn->flags, in le_conn_update_complete()
3571 if (atomic_test_and_set_bit(bt_dev.flags, BT_DEV_ENABLE)) { in bt_enable()
/Zephyr-Core-2.7.6/drivers/pcie/host/
Dpcie.c200 if (!atomic_test_and_set_bit(irq_reserved, irq)) { in irq_alloc()
231 if (!atomic_test_and_set_bit(irq_reserved, IRQ_LIST_INITIALIZED)) { in pcie_alloc_irq()
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dadv_ext.c73 if (atomic_test_and_set_bit(adv.flags, ADV_FLAG_ACTIVE)) { in adv_start()
195 atomic_test_and_set_bit(adv.flags, ADV_FLAG_SCHEDULED)) { in schedule_send()
Dmain.c53 if (atomic_test_and_set_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_provision()
244 if (atomic_test_and_set_bit(bt_mesh.flags, BT_MESH_SUSPENDED)) { in bt_mesh_suspend()
Dpb_adv.c314 bool pending = atomic_test_and_set_bit(link.flags, ADV_ACK_PENDING); in gen_prov_ack_send()
791 if (atomic_test_and_set_bit(link.flags, ADV_LINK_ACK_RECVD)) { in link_ack()
855 if (atomic_test_and_set_bit(link.flags, ADV_LINK_ACTIVE)) { in prov_link_open()
901 if (atomic_test_and_set_bit(link.flags, ADV_LINK_CLOSING)) { in prov_link_close()
Dprovisioner.c740 if (atomic_test_and_set_bit(bt_mesh_prov_link.flags, REMOTE_PUB_KEY)) { in bt_mesh_prov_remote_pub_key_set()
755 if (atomic_test_and_set_bit(bt_mesh_prov_link.flags, LINK_ACTIVE)) { in bt_mesh_pb_adv_open()
Dcdb.c684 if (atomic_test_and_set_bit(bt_mesh_cdb.flags, in bt_mesh_cdb_create()
/Zephyr-Core-2.7.6/include/sys/
Datomic.h166 static inline bool atomic_test_and_set_bit(atomic_t *target, int bit) in atomic_test_and_set_bit() function
/Zephyr-Core-2.7.6/samples/subsys/usb/hid/src/
Dmain.c62 if (!atomic_test_and_set_bit(hid_ep_in_busy, HID_EP_BUSY_FLAG)) { in send_report()
/Zephyr-Core-2.7.6/tests/kernel/common/src/
Datomic.c236 zassert_true(!!(atomic_test_and_set_bit(&target, i)) == !!(orig & (1 << i)), in test_atomic()
/Zephyr-Core-2.7.6/include/drivers/
Ddma.h401 if (!atomic_test_and_set_bit(dma_ctx->atomic, i)) { in z_impl_dma_request_channel()
/Zephyr-Core-2.7.6/subsys/modbus/
Dmodbus_core.c206 if (atomic_test_and_set_bit(&ctx->state, MODBUS_STATE_CONFIGURED)) { in modbus_init_iface()
/Zephyr-Core-2.7.6/drivers/console/
Duart_console.c267 !atomic_test_and_set_bit(&esc_state, ESC_ANSI_VAL_2)) { in handle_ansi()
/Zephyr-Core-2.7.6/subsys/net/l2/ppp/
Dppp_l2.c299 if (!atomic_test_and_set_bit(&ctx->flags, PPP_CARRIER_UP)) { in net_ppp_carrier_on()
/Zephyr-Core-2.7.6/drivers/can/
Dcan_mcux_flexcan.c328 if (atomic_test_and_set_bit(data->tx_allocs, alloc)) { in mcux_flexcan_send()
379 if (!atomic_test_and_set_bit(data->rx_allocs, i)) { in mcux_flexcan_attach_isr()
/Zephyr-Core-2.7.6/drivers/ieee802154/
Dieee802154_dw1000.c660 if (atomic_test_and_set_bit(&ctx->state, DWT_STATE_CCA)) { in dwt_cca()
800 if (atomic_test_and_set_bit(&ctx->state, DWT_STATE_TX)) { in dwt_tx()
/Zephyr-Core-2.7.6/include/net/
Dnet_if.h516 return atomic_test_and_set_bit(iface->if_dev->flags, value); in net_if_flag_test_and_set()
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/
Dethernet.c1079 if (!atomic_test_and_set_bit(&ctx->flags, ETH_CARRIER_UP)) { in net_eth_carrier_on()
/Zephyr-Core-2.7.6/include/
Dkernel.h3940 if (!atomic_test_and_set_bit(&work->flags, in k_work_user_submit_to_queue()

12