/Zephyr-latest/include/zephyr/sys/ |
D | onoff.h | 169 struct k_spinlock lock; member 578 struct k_spinlock lock; member
|
D | fdtable.h | 173 struct k_mutex **lock); 190 bool zvfs_get_obj_lock_and_cond(void *obj, const struct fd_op_vtable *vtable, struct k_mutex **lock,
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_pca_series.c | 169 struct k_sem lock; member 924 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_pin_configure() 1027 k_sem_give(&data->lock); in gpio_pca_series_pin_configure() 1063 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_port_read_standard() 1073 k_sem_give(&data->lock); in gpio_pca_series_port_read_standard() 1121 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_port_read_extended() 1132 k_sem_give(&data->lock); in gpio_pca_series_port_read_extended() 1153 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_port_write() 1179 k_sem_give(&data->lock); in gpio_pca_series_port_write() 1242 k_sem_take(&data->lock, K_FOREVER); in gpio_pca_series_pin_interrupt_configure_standard() [all …]
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_mcux.c | 39 struct k_mutex lock; member 169 k_mutex_lock(&data->lock, K_FOREVER); in mcux_pwm_set_cycles() 171 k_mutex_unlock(&data->lock); in mcux_pwm_set_cycles() 198 k_mutex_init(&data->lock); in pwm_mcux_init()
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_cc13xx_cc26xx_subg.h | 36 struct k_sem lock; member
|
/Zephyr-latest/drivers/hwspinlock/ |
D | hwspinlock_handlers.c | 20 K_OOPS(K_SYSCALL_DRIVER_HWSPINLOCK(dev, lock)); in z_vrfy_hwspinlock_lock()
|
/Zephyr-latest/include/zephyr/net/ |
D | ethernet_bridge.h | 45 struct k_mutex lock; member
|
/Zephyr-latest/drivers/sensor/aosong/dht/ |
D | dht.c | 71 int lock; in dht_sample_fetch() local 80 lock = irq_lock(); in dht_sample_fetch() 166 irq_unlock(lock); in dht_sample_fetch()
|
/Zephyr-latest/drivers/mspi/ |
D | mspi_ambiq_ap3.c | 44 struct k_sem lock; member 64 struct k_mutex lock; member 205 k_sem_give(&ctx->lock); in mspi_context_release() 212 if (!k_sem_count_get(&ctx->lock)) { in mspi_context_unlock_unconditionally() 214 k_sem_give(&ctx->lock); in mspi_context_unlock_unconditionally() 227 if ((k_sem_count_get(&ctx->lock) == 0) && !lockon && in mspi_context_lock() 232 if (k_sem_take(&ctx->lock, K_MSEC(xfer->timeout))) { in mspi_context_lock() 269 return (k_sem_count_get(&data->ctx.lock) == 0); in mspi_is_inp() 307 if (k_mutex_lock(&data->lock, K_MSEC(CONFIG_MSPI_COMPLETION_TIMEOUT_TOLERANCE))) { in mspi_ambiq_deinit() 353 k_mutex_unlock(&data->lock); in mspi_ambiq_deinit() [all …]
|
/Zephyr-latest/drivers/dma/ |
D | dma_andes_atcdmac300.c | 136 struct k_spinlock lock; member 156 key = k_spin_lock(&data->lock); in dma_atcdmac300_isr() 161 k_spin_unlock(&data->lock, key); in dma_atcdmac300_isr() 292 key = k_spin_lock(&data->lock); in dma_atcdmac300_config() 295 k_spin_unlock(&data->lock, key); in dma_atcdmac300_config() 451 key = k_spin_lock(&data->lock); in dma_atcdmac300_transfer_stop() 458 k_spin_unlock(&data->lock, key); in dma_atcdmac300_transfer_stop()
|
/Zephyr-latest/doc/kernel/data_structures/ |
D | mpsc_lockfree.rst | 8 at `1024cores <https://www.1024cores.net/home/lock-free-algorithms/queues/intrusive-mpsc-node-based…
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_rv8263.c | 82 struct k_sem lock; member 293 k_sem_init(&data->lock, 1, 1); in rv8263c8_init() 361 (void)k_sem_take(&data->lock, K_FOREVER); in rv8263c8_init() 369 k_sem_give(&data->lock); in rv8263c8_init() 537 (void)k_sem_take(&data->lock, K_FOREVER); in rv8263c8_alarm_set_callback() 540 k_sem_give(&data->lock); in rv8263c8_alarm_set_callback() 580 (void)k_sem_take(&data->lock, K_FOREVER); in rv8263_update_callback() 583 k_sem_give(&data->lock); in rv8263_update_callback()
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_cmsdk_apb.c | 35 volatile uint32_t lock; member 81 wdog->lock = CMSDK_APB_WDOG_UNLOCK_VALUE; in wdog_cmsdk_apb_unlock()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_mcux_flexcomm.c | 52 struct k_sem lock; member 99 k_sem_take(&data->lock, K_FOREVER); in mcux_flexcomm_configure() 101 k_sem_give(&data->lock); in mcux_flexcomm_configure() 146 k_sem_take(&data->lock, K_FOREVER); in mcux_flexcomm_transfer() 202 k_sem_give(&data->lock); in mcux_flexcomm_transfer() 490 k_sem_init(&data->lock, 1, 1); in mcux_flexcomm_init()
|
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_spi.c | 30 struct k_mutex lock; member 262 ret = k_mutex_lock(&data->lock, K_FOREVER); in mipi_dbi_spi_write_helper() 303 k_mutex_unlock(&data->lock); in mipi_dbi_spi_write_helper() 448 ret = k_mutex_lock(&data->lock, K_FOREVER); in mipi_dbi_spi_command_read() 472 k_mutex_unlock(&data->lock); in mipi_dbi_spi_command_read() 541 k_mutex_init(&data->lock); in mipi_dbi_spi_init()
|
/Zephyr-latest/drivers/gnss/ |
D | gnss_luatos_air530z.c | 73 struct k_sem lock; member 88 (void)k_sem_take(&data->lock, K_FOREVER); in luatos_air530z_lock() 95 k_sem_give(&data->lock); in luatos_air530z_unlock() 175 k_sem_init(&data->lock, 1, 1); in gnss_luatos_air530z_init()
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_client.c | 358 k_mutex_lock(&client->lock, K_FOREVER); in coap_client_req() 456 k_mutex_unlock(&client->lock); in coap_client_req() 532 k_mutex_lock(&client->lock, K_FOREVER); in coap_client_resend_handler() 549 k_mutex_unlock(&client->lock); in coap_client_resend_handler() 620 k_mutex_lock(&client->lock, K_FOREVER); in handle_poll() 626 k_mutex_unlock(&client->lock); in handle_poll() 1005 k_mutex_lock(&client->lock, K_FOREVER); in cancel_requests_with() 1025 k_mutex_unlock(&client->lock); in cancel_requests_with() 1057 k_mutex_lock(&client->lock, K_FOREVER); in coap_client_cancel_request() 1068 k_mutex_unlock(&client->lock); in coap_client_cancel_request() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_mspi_emul_device.c | 49 struct k_sem lock; member 63 k_sem_take(&data->lock, K_FOREVER); in acquire() 90 k_sem_give(&data->lock); in release() 437 .lock = Z_SEM_INITIALIZER(flash_mspi_emul_device_data_##n.lock, 0, 1), \
|
/Zephyr-latest/tests/bsim/bluetooth/audio/test_scripts/ |
D | csip_no_lock.sh | 20 -RealEncryption=1 -rs=1 -D=4 -argstest no-lock
|
D | csip_no_rank.sh | 20 -RealEncryption=1 -rs=1 -D=4 -argstest no-rank no-lock
|
/Zephyr-latest/drivers/auxdisplay/ |
D | auxdisplay_itron.c | 61 bool lock); 315 bool lock) in send_cmd() argument 331 if (lock) { in send_cmd() 381 if (lock) { in send_cmd()
|
/Zephyr-latest/include/zephyr/sd/ |
D | sd.h | 67 struct k_mutex lock; /*!< card mutex */ member
|
/Zephyr-latest/include/zephyr/drivers/spi/ |
D | rtio.h | 22 struct k_spinlock lock; member
|
/Zephyr-latest/subsys/net/lib/websocket/ |
D | websocket_internal.h | 70 struct k_mutex lock; member
|
/Zephyr-latest/ |
D | .gitignore | 62 # Cargo drops lock files in projects to capture resolved dependencies. 64 Cargo.lock
|