Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/ps2/
Dps2_mchp_xec.c55 struct k_sem tx_lock; member
142 k_sem_give(&data->tx_lock); in ps2_xec_configure()
157 if (k_sem_take(&data->tx_lock, K_NO_WAIT)) { in ps2_xec_write()
194 k_sem_give(&data->tx_lock); in ps2_xec_write()
205 if (k_sem_take(&data->tx_lock, K_MSEC(10)) != 0) { in ps2_xec_inhibit_interface()
214 k_sem_give(&data->tx_lock); in ps2_xec_inhibit_interface()
228 k_sem_give(&data->tx_lock); in ps2_xec_enable_interface()
366 k_sem_init(&data->tx_lock, 0, 1); in ps2_xec_init()
/Zephyr-Core-3.5.0/drivers/serial/
Duart_emul.c40 struct k_spinlock tx_lock; member
75 key = k_spin_lock(&drv_data->tx_lock); in uart_emul_poll_out()
77 k_spin_unlock(&drv_data->tx_lock, key); in uart_emul_poll_out()
289 key = k_spin_lock(&drv_data->tx_lock); in uart_emul_get_tx_data()
291 k_spin_unlock(&drv_data->tx_lock, key); in uart_emul_get_tx_data()
314 key = k_spin_lock(&drv_data->tx_lock); in uart_emul_flush_tx_data()
317 k_spin_unlock(&drv_data->tx_lock, key); in uart_emul_flush_tx_data()
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-Core-3.5.0/include/zephyr/ipc/
Dicmsg.h50 struct k_mutex tx_lock; member
/Zephyr-Core-3.5.0/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-Core-3.5.0/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()
1500 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()
1510 k_sem_init(&data->tx_lock, 0, 1); in espi_xec_init()
/Zephyr-Core-3.5.0/subsys/ipc/ipc_service/lib/
Dicmsg.c94 int ret = k_mutex_lock(&dev_data->tx_lock, SHMEM_ACCESS_TO); in reserve_tx_buffer_if_unused()
117 return k_mutex_unlock(&dev_data->tx_lock); in release_tx_buffer()
277 k_mutex_init(&dev_data->tx_lock); in icmsg_open()