Home
last modified time | relevance | path

Searched refs:tx_lock (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/drivers/ps2/
Dps2_mchp_xec.c53 struct k_sem tx_lock; member
140 k_sem_give(&data->tx_lock); in ps2_xec_configure()
155 if (k_sem_take(&data->tx_lock, K_NO_WAIT)) { in ps2_xec_write()
192 k_sem_give(&data->tx_lock); in ps2_xec_write()
203 if (k_sem_take(&data->tx_lock, K_MSEC(10)) != 0) { in ps2_xec_inhibit_interface()
212 k_sem_give(&data->tx_lock); in ps2_xec_inhibit_interface()
226 k_sem_give(&data->tx_lock); in ps2_xec_enable_interface()
360 k_sem_init(&data->tx_lock, 0, 1); in ps2_xec_init()
/Zephyr-latest/drivers/serial/
Duart_emul.c49 struct k_spinlock tx_lock; member
153 key = k_spin_lock(&drv_data->tx_lock); in uart_emul_poll_out()
155 k_spin_unlock(&drv_data->tx_lock, key); in uart_emul_poll_out()
204 K_SPINLOCK(&data->tx_lock) { in uart_emul_fifo_fill()
237 K_SPINLOCK(&data->tx_lock) { in uart_emul_irq_tx_ready()
279 K_SPINLOCK(&data->tx_lock) { in uart_emul_irq_handler()
313 K_SPINLOCK(&data->tx_lock) { in uart_emul_irq_tx_enable()
342 K_SPINLOCK(&data->tx_lock) { in uart_emul_irq_tx_disable()
361 K_SPINLOCK(&data->tx_lock) { in uart_emul_irq_tx_complete()
592 K_SPINLOCK(&data->tx_lock) { in uart_emul_async_tx_handler()
[all …]
Duart_xlnx_uartlite.c54 struct k_spinlock tx_lock; member
130 key = k_spin_lock(&data->tx_lock); in xlnx_uartlite_poll_out()
136 k_spin_unlock(&data->tx_lock, key); in xlnx_uartlite_poll_out()
191 key = k_spin_lock(&data->tx_lock); in xlnx_uartlite_fifo_fill()
196 k_spin_unlock(&data->tx_lock, key); in xlnx_uartlite_fifo_fill()
/Zephyr-latest/include/zephyr/ipc/
Dicmsg.h45 struct k_mutex tx_lock; member
/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dicmsg.c107 int ret = k_mutex_lock(&dev_data->tx_lock, SHMEM_ACCESS_TO); in reserve_tx_buffer_if_unused()
118 return k_mutex_unlock(&dev_data->tx_lock); in release_tx_buffer()
270 k_mutex_init(&dev_data->tx_lock); in icmsg_open()
/Zephyr-latest/drivers/peci/
Dpeci_mchp_xec.c62 struct k_sem tx_lock; member
283 if (k_sem_take(&data->tx_lock, PECI_IO_DELAY * tx_buf->len)) { in peci_xec_write()
502 k_sem_give(&data->tx_lock); in peci_xec_isr()
532 k_sem_init(&data->tx_lock, 0, 1); in peci_xec_init()
/Zephyr-latest/drivers/espi/
Despi_mchp_xec_v2.h53 struct k_sem tx_lock; member
Despi_mchp_xec.c80 struct k_sem tx_lock; member
533 ret = k_sem_take(&data->tx_lock, K_MSEC(MAX_OOB_TIMEOUT)); in espi_xec_send_oob()
1046 k_sem_give(&data->tx_lock); in espi_oob_up_isr()
1499 k_sem_init(&data->tx_lock, 0, 1); in espi_xec_init()
Despi_mchp_xec_v2.c407 ret = k_sem_take(&data->tx_lock, K_MSEC(MAX_OOB_TIMEOUT)); in espi_xec_send_oob()
956 k_sem_give(&data->tx_lock); in espi_oob_up_isr()
1516 k_sem_init(&data->tx_lock, 0, 1); in espi_xec_init()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_mgmt.c721 nrf_wifi_osal_spinlock_take(def_dev_ctx->tx_config.tx_lock); in nrf_wifi_event_proc_twt_sleep_zep()
727 nrf_wifi_osal_spinlock_rel(def_dev_ctx->tx_config.tx_lock); in nrf_wifi_event_proc_twt_sleep_zep()
730 nrf_wifi_osal_spinlock_take(def_dev_ctx->tx_config.tx_lock); in nrf_wifi_event_proc_twt_sleep_zep()
743 nrf_wifi_osal_spinlock_rel(def_dev_ctx->tx_config.tx_lock); in nrf_wifi_event_proc_twt_sleep_zep()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h720 struct k_mutex tx_lock; member
764 (void)k_mutex_lock(&iface->tx_lock, K_FOREVER); in net_if_tx_lock()
775 k_mutex_unlock(&iface->tx_lock); in net_if_tx_unlock()
/Zephyr-latest/subsys/net/ip/
Dnet_if.c444 k_mutex_init(&iface->tx_lock); in init_iface()