Home
last modified time | relevance | path

Searched refs:lock (Results 276 – 300 of 483) sorted by relevance

1...<<11121314151617181920

/Zephyr-latest/subsys/net/lib/dns/
Dresolve.c214 k_mutex_lock(&ctx->lock, K_FOREVER); in dispatcher_cb()
286 k_mutex_unlock(&ctx->lock); in dispatcher_cb()
620 (void)k_mutex_init(&ctx->lock); in dns_resolve_init()
1206 k_mutex_lock(&ctx->lock, K_FOREVER); in dns_resolve_cancel_with_hash()
1229 k_mutex_unlock(&ctx->lock); in dns_resolve_cancel_with_hash()
1304 ret = k_mutex_lock(&pending_query->ctx->lock, K_NO_WAIT); in query_timeout()
1333 k_mutex_unlock(&pending_query->ctx->lock); in query_timeout()
1431 k_mutex_lock(&ctx->lock, K_FOREVER); in dns_resolve_name()
1571 k_mutex_unlock(&ctx->lock); in dns_resolve_name()
1596 k_mutex_unlock(&ctx->lock); in dns_resolve_close_locked()
[all …]
/Zephyr-latest/include/zephyr/drivers/i2c/
Drtio.h22 struct k_sem lock; member
/Zephyr-latest/drivers/memc/
Dmemc_mspi_aps6404l.c65 struct k_sem lock; member
144 k_sem_take(&data->lock, K_FOREVER); in acquire()
169 k_sem_give(&data->lock); in release()
457 .lock = Z_SEM_INITIALIZER(memc_mspi_aps6404l_data_##n.lock, 0, 1), \
/Zephyr-latest/arch/x86/core/
Dpcie.c107 static struct k_spinlock lock; in pcie_io_conf() local
114 k = k_spin_lock(&lock); in pcie_io_conf()
124 k_spin_unlock(&lock, k); in pcie_io_conf()
/Zephyr-latest/include/zephyr/drivers/i3c/
Drtio.h23 struct k_sem lock; member
/Zephyr-latest/drivers/i3c/
Di3c_mcux.c96 struct k_mutex lock; member
565 &dev_data->lock, in mcux_i3c_wait_idle()
1091 k_mutex_lock(&dev_data->lock, K_FOREVER); in mcux_i3c_transfer()
1176 k_mutex_unlock(&dev_data->lock); in mcux_i3c_transfer()
1203 k_mutex_lock(&data->lock, K_FOREVER); in mcux_i3c_do_daa()
1314 k_mutex_unlock(&data->lock); in mcux_i3c_do_daa()
1350 k_mutex_lock(&data->lock, K_FOREVER); in mcux_i3c_do_ccc()
1442 k_mutex_unlock(&data->lock); in mcux_i3c_do_ccc()
1467 k_mutex_lock(&data->lock, K_FOREVER); in mcux_i3c_ibi_work()
1584 k_mutex_unlock(&data->lock); in mcux_i3c_ibi_work()
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/
Dbridge_shell.c133 k_mutex_lock(&ctx->lock, K_FOREVER); in bridge_show()
149 k_mutex_unlock(&ctx->lock); in bridge_show()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_tls.c162 struct k_mutex *lock; member
816 static void ctx_set_lock(struct tls_context *ctx, struct k_mutex *lock) in ctx_set_lock() argument
818 ctx->lock = lock; in ctx_set_lock()
2222 k_mutex_unlock(parent->lock); in ztls_accept_ctx()
2224 k_mutex_lock(parent->lock, K_FOREVER); in ztls_accept_ctx()
2641 k_mutex_unlock(ctx->lock); in recv_tls()
2643 k_mutex_lock(ctx->lock, K_FOREVER); in recv_tls()
2724 k_mutex_unlock(ctx->lock); in recvfrom_dtls_common()
2726 k_mutex_lock(ctx->lock, K_FOREVER); in recvfrom_dtls_common()
3000 struct k_mutex *lock; in ztls_poll_prepare_ctx() local
[all …]
/Zephyr-latest/subsys/retention/
Dretention.c47 struct k_mutex lock; member
66 k_mutex_lock(&data->lock, K_FOREVER); in retention_lock_take()
77 k_mutex_unlock(&data->lock); in retention_lock_release()
157 k_mutex_init(&data->lock); in retention_init()
/Zephyr-latest/drivers/serial/
Duart_npcx.c85 struct k_spinlock lock; member
213 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_npcx_fifo_fill()
225 k_spin_unlock(&data->lock, key); in uart_npcx_fifo_fill()
250 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_npcx_irq_tx_enable()
253 k_spin_unlock(&data->lock, key); in uart_npcx_irq_tx_enable()
261 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_npcx_irq_tx_disable()
264 k_spin_unlock(&data->lock, key); in uart_npcx_irq_tx_disable()
882 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_npcx_isr()
885 k_spin_unlock(&data->lock, key); in uart_npcx_isr()
901 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_npcx_isr()
[all …]
/Zephyr-latest/drivers/interrupt_controller/
Dintc_plic.c106 struct k_spinlock lock; member
285 k_spinlock_key_t key = k_spin_lock(&data->lock); in riscv_plic_irq_enable()
289 k_spin_unlock(&data->lock, key); in riscv_plic_irq_enable()
306 k_spinlock_key_t key = k_spin_lock(&data->lock); in riscv_plic_irq_disable()
310 k_spin_unlock(&data->lock, key); in riscv_plic_irq_disable()
349 K_SPINLOCK(&data->lock) { in riscv_plic_irq_is_enabled()
445 key = k_spin_lock(&data->lock); in riscv_plic_irq_set_affinity()
453 k_spin_unlock(&data->lock, key); in riscv_plic_irq_set_affinity()
Dintc_nxp_irqsteer.c283 struct k_spinlock lock; member
486 K_SPINLOCK(&dispatchers[i].lock) { in z_soc_irq_enable_disable()
531 K_SPINLOCK(&dispatchers[i].lock) { in z_soc_irq_is_enabled()
/Zephyr-latest/boards/nxp/s32z2xxdc2/doc/
Dindex.rst8 each, with flexible split/lock configurations.
276 either in lock-step or split-lock mode. By default, Zephyr runs on the first
277 core of the RTU chosen and in lock-step mode (which is the reset
280 To build for split-lock mode, the :kconfig:option:`CONFIG_DCLS` must be
294 .. group-tab:: split-lock configuration
307 ``s32z2xxdc2/s32z270/rtu0`` with split-lock core configuration:
316 To execute this sample in the second core of RTU0 in split-lock mode:
/Zephyr-latest/subsys/bluetooth/host/classic/
Dhfp_ag_internal.h119 struct k_sem lock; member
/Zephyr-latest/drivers/ethernet/
Deth_stellaris.c237 uint32_t lock; in eth_stellaris_isr() local
239 lock = irq_lock(); in eth_stellaris_isr()
281 irq_unlock(lock); in eth_stellaris_isr()
/Zephyr-latest/soc/intel/intel_adsp/common/include/
Dintel_adsp_ipc.h68 struct k_spinlock lock; member
/Zephyr-latest/include/zephyr/drivers/mfd/
Dadp5585.h104 struct k_sem lock; member
/Zephyr-latest/include/zephyr/net/
Ddns_resolve.h212 struct k_mutex lock; member
370 struct k_mutex lock; member
/Zephyr-latest/drivers/led/
Dht16k33.c78 struct k_mutex lock; member
221 k_mutex_lock(&data->lock, K_FOREVER); in ht16k33_process_keyscan_data()
242 k_mutex_unlock(&data->lock); in ht16k33_process_keyscan_data()
345 k_mutex_init(&data->lock); in ht16k33_init()
/Zephyr-latest/subsys/net/l2/virtual/ipip/
Dipip.c35 static K_MUTEX_DEFINE(lock);
438 k_mutex_lock(&lock, K_FOREVER); in interface_attach()
478 k_mutex_unlock(&lock); in interface_attach()
660 k_mutex_lock(&lock, K_FOREVER); in net_ipip_get_virtual_interface()
674 k_mutex_unlock(&lock); in net_ipip_get_virtual_interface()
/Zephyr-latest/drivers/gpio/
Dgpio_mcp23xxx.h75 struct k_sem lock; member
/Zephyr-latest/drivers/dai/intel/alh/
Dalh.h116 struct k_spinlock lock; /**< locking mechanism */ member
/Zephyr-latest/include/zephyr/shell/
Dshell_mqtt.h67 struct k_mutex lock; member
/Zephyr-latest/include/zephyr/sys/
Dmpsc_pbuf.h107 struct k_spinlock lock; member
/Zephyr-latest/drivers/fpga/
Dfpga_ice40_spi.c49 key = k_spin_lock(&data->lock); in fpga_ice40_load()
164 k_spin_unlock(&data->lock, key); in fpga_ice40_load()

1...<<11121314151617181920