Home
last modified time | relevance | path

Searched refs:lock (Results 351 – 375 of 483) sorted by relevance

1...<<11121314151617181920

/Zephyr-latest/boards/silabs/dev_kits/xg27_dk2602a/
Dxg27_dk2602a.dts53 dpll-lock = "phase";
/Zephyr-latest/drivers/ethernet/
Deth_adin2111_priv.h232 struct k_mutex lock; member
Deth_smsc91x.c18 #define SMSC_LOCK(sc) k_mutex_lock(&(sc)->lock, K_FOREVER)
19 #define SMSC_UNLOCK(sc) k_mutex_unlock(&(sc)->lock)
66 struct k_mutex lock; member
809 ret = k_mutex_init(&sc->lock); in eth_init()
Deth_lan9250_priv.h330 struct k_mutex lock; member
/Zephyr-latest/include/zephyr/sys/
Dmem_blocks.h105 struct k_spinlock lock; member
/Zephyr-latest/doc/hardware/arch/
Darc-support-status.rst106 attempts to get the cooperative lock, and not modify the CPU affinity
107 while it is waiting for or holding that cooperative lock.
/Zephyr-latest/drivers/dma/
DKconfig.xilinx_axi_dma43 prompt "IRQs to lock when manipulating per-channel data structures during dma_start."
65 Only lock the interrupt of the DMA channel whose data are to be modified during dma_start.
Ddma_iproc_pax_v1.c621 k_mutex_init(&pd->ring[r].lock); in dma_iproc_pax_init()
834 k_mutex_lock(&ring->lock, K_FOREVER); in dma_iproc_pax_do_xfer()
836 k_mutex_unlock(&ring->lock); in dma_iproc_pax_do_xfer()
864 k_mutex_lock(&ring->lock, K_FOREVER); in dma_iproc_pax_configure()
939 k_mutex_unlock(&ring->lock); in dma_iproc_pax_configure()
/Zephyr-latest/drivers/i2c/
Di2c_sam0.c62 struct k_sem lock; member
422 k_sem_take(&data->lock, K_FOREVER); in i2c_sam0_transfer()
540 k_sem_give(&data->lock); in i2c_sam0_transfer()
754 k_sem_init(&data->lock, 1, 1); in i2c_sam0_initialize()
/Zephyr-latest/drivers/gnss/
Dgnss_quectel_lcx6g.c76 struct k_sem lock; member
172 (void)k_sem_take(&data->lock, K_FOREVER); in quectel_lcx6g_lock()
179 k_sem_give(&data->lock); in quectel_lcx6g_unlock()
805 k_sem_init(&data->lock, 1, 1); in quectel_lcx6g_init()
/Zephyr-latest/lib/net_buf/
Dbuf.c245 key = k_spin_lock(&pool->lock); in net_buf_alloc_len_debug()
260 k_spin_unlock(&pool->lock, key); in net_buf_alloc_len_debug()
266 k_spin_unlock(&pool->lock, key); in net_buf_alloc_len_debug()
272 k_spin_unlock(&pool->lock, key); in net_buf_alloc_len_debug()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_acm.c685 unsigned int lock; in cdc_acm_fifo_fill() local
694 lock = irq_lock(); in cdc_acm_fifo_fill()
696 irq_unlock(lock); in cdc_acm_fifo_fill()
899 unsigned int lock; in cdc_acm_poll_out() local
903 lock = irq_lock(); in cdc_acm_poll_out()
905 irq_unlock(lock); in cdc_acm_poll_out()
/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic.h163 struct k_spinlock lock; /**< locking mechanism */ member
/Zephyr-latest/drivers/spi/
Dspi_pl022.c301 struct k_spinlock lock; member
573 key = k_spin_lock(&data->lock); in spi_pl022_dma_callback()
578 k_spin_unlock(&data->lock, key); in spi_pl022_dma_callback()
582 key = k_spin_lock(&data->lock); in spi_pl022_dma_callback()
628 k_spin_unlock(&data->lock, key); in spi_pl022_dma_callback()
Dspi_rtio.c288 return k_spin_lock(&ctx->lock); in spi_spin_lock()
299 k_spin_unlock(&ctx->lock, key); in spi_spin_unlock()
/Zephyr-latest/doc/develop/getting_started/
Dinstallation_mac.rst23 and then scroll down to "Developer Tools". Then unlock the lock to be able to
/Zephyr-latest/drivers/gpio/
Dgpio_renesas_rz.c38 struct k_spinlock lock; member
335 key = k_spin_lock(&data->lock); in gpio_rz_pin_interrupt_configure()
364 k_spin_unlock(&data->lock, key); in gpio_rz_pin_interrupt_configure()
/Zephyr-latest/drivers/rtc/
Drtc_rv3028.c156 struct k_sem lock; member
177 (void)k_sem_take(&data->lock, K_FOREVER); in rv3028_lock_sem()
184 k_sem_give(&data->lock); in rv3028_unlock_sem()
772 k_sem_init(&data->lock, 1, 1); in rv3028_init()
/Zephyr-latest/drivers/clock_control/
Dclock_control_mchp_xec.c810 uint32_t lock = irq_lock(); in z_mchp_xec_pcr_periph_reset() local
816 irq_unlock(lock); in z_mchp_xec_pcr_periph_reset()
842 uint32_t lock = irq_lock(); in xec_cc_on() local
847 irq_unlock(lock); in xec_cc_on()
/Zephyr-latest/doc/kernel/services/
Dinterrupts.rst129 an **IRQ lock**. This lock can be applied even when it is already in effect,
131 The thread must unlock its IRQ lock the same number of times it was locked
136 The IRQ lock is thread-specific. If thread A locks out interrupts
138 for N milliseconds), the thread's IRQ lock no longer applies once
144 IRQ lock. (Whether interrupts can be processed while the kernel is
145 switching between two threads that are using the IRQ lock is
149 re-establishes thread A's IRQ lock. This ensures thread A won't be
150 interrupted until it has explicitly unlocked its IRQ lock.
153 ready, the IRQ lock will inhibit any preemption that would otherwise
155 <scheduling_v2>` reached after releasing the IRQ lock.
[all …]
/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6.c40 static K_MUTEX_DEFINE(lock);
2049 k_mutex_lock(&lock, K_FOREVER); in dhcpv6_timeout()
2063 k_mutex_unlock(&lock); in dhcpv6_timeout()
2082 k_mutex_lock(&lock, K_FOREVER); in dhcpv6_iface_event_handler()
2105 k_mutex_unlock(&lock); in dhcpv6_iface_event_handler()
2128 k_mutex_lock(&lock, K_FOREVER); in net_dhcpv6_start()
2166 k_mutex_unlock(&lock); in net_dhcpv6_start()
2171 k_mutex_lock(&lock, K_FOREVER); in net_dhcpv6_stop()
2204 k_mutex_unlock(&lock); in net_dhcpv6_stop()
/Zephyr-latest/boards/sparkfun/thing_plus_matter_mgm240p/
Dsparkfun_thing_plus_matter_mgm240p.dts64 dpll-lock = "phase";
/Zephyr-latest/boards/silabs/radio_boards/slwrb4180a/
Dslwrb4180a.dts86 dpll-lock = "phase";
/Zephyr-latest/modules/thrift/src/thrift/transport/
DTSSLServerSocket.cpp230 rwMutex_.lock(); in close()
/Zephyr-latest/include/zephyr/net/
Dnet_context.h222 struct k_mutex lock; member
289 struct k_mutex *lock; member

1...<<11121314151617181920