Home
last modified time | relevance | path

Searched refs:rx_lock (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/subsys/shell/backends/
Dshell_websocket.c119 k_mutex_lock(&ws->rx_lock, K_FOREVER); in ws_recv()
124 k_mutex_unlock(&ws->rx_lock); in ws_recv()
143 k_mutex_unlock(&ws->rx_lock); in ws_recv()
149 k_mutex_unlock(&ws->rx_lock); in ws_recv()
156 k_mutex_unlock(&ws->rx_lock); in ws_recv()
249 k_mutex_init(&ws->rx_lock); in init()
343 k_mutex_lock(&ws->rx_lock, K_FOREVER); in sh_read()
346 k_mutex_unlock(&ws->rx_lock); in sh_read()
363 k_mutex_unlock(&ws->rx_lock); in sh_read()
Dshell_telnet.c277 k_mutex_lock(&sh_telnet->rx_lock, K_FOREVER); in telnet_recv()
282 k_mutex_unlock(&sh_telnet->rx_lock); in telnet_recv()
367 k_mutex_unlock(&sh_telnet->rx_lock); in telnet_recv()
373 k_mutex_unlock(&sh_telnet->rx_lock); in telnet_recv()
381 k_mutex_unlock(&sh_telnet->rx_lock); in telnet_recv()
639 k_mutex_init(&sh_telnet->rx_lock); in init()
748 k_mutex_lock(&sh_telnet->rx_lock, K_FOREVER); in telnet_read()
751 k_mutex_unlock(&sh_telnet->rx_lock); in telnet_read()
769 k_mutex_unlock(&sh_telnet->rx_lock); in telnet_read()
/Zephyr-latest/drivers/serial/
Duart_emul.c43 struct k_spinlock rx_lock; member
134 key = k_spin_lock(&drv_data->rx_lock); in uart_emul_poll_in()
136 k_spin_unlock(&drv_data->rx_lock, key); in uart_emul_poll_in()
223 K_SPINLOCK(&data->rx_lock) { in uart_emul_fifo_read()
253 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_rx_ready()
287 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_handler()
328 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_rx_enable()
351 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_rx_disable()
424 K_SPINLOCK(&data->rx_lock) { in uart_emul_async_rx_timeout_handler()
491 K_SPINLOCK(&data->rx_lock) { in uart_emul_async_rx_handler()
[all …]
Duart_xlnx_uartlite.c53 struct k_spinlock rx_lock; member
111 key = k_spin_lock(&data->rx_lock); in xlnx_uartlite_poll_in()
117 k_spin_unlock(&data->rx_lock, key); in xlnx_uartlite_poll_in()
211 key = k_spin_lock(&data->rx_lock); in xlnx_uartlite_fifo_read()
216 k_spin_unlock(&data->rx_lock, key); in xlnx_uartlite_fifo_read()
/Zephyr-latest/include/zephyr/shell/
Dshell_telnet.h52 struct k_mutex rx_lock; member
Dshell_websocket.h51 struct k_mutex rx_lock; member
/Zephyr-latest/drivers/espi/
Despi_mchp_xec_v2.h54 struct k_sem rx_lock; member
Despi_mchp_xec.c81 struct k_sem rx_lock; member
562 ret = k_sem_take(&data->rx_lock, K_MSEC(MAX_OOB_TIMEOUT)); in espi_xec_receive_oob()
1023 k_sem_give(&data->rx_lock); in espi_oob_down_isr()
1501 k_sem_init(&data->rx_lock, 0, 1); in espi_xec_init()
Despi_mchp_xec_v2.c437 ret = k_sem_take(&data->rx_lock, K_MSEC(MAX_OOB_TIMEOUT)); in espi_xec_receive_oob()
929 k_sem_give(&data->rx_lock); in espi_oob_down_isr()
1518 k_sem_init(&data->rx_lock, 0, 1); in espi_xec_init()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_cc1200.h55 struct k_sem rx_lock; member
Dieee802154_cc1200.c184 k_sem_give(&cc1200->rx_lock); in gpio0_int_handler()
460 k_sem_take(&cc1200->rx_lock, K_FOREVER); in cc1200_rx()
759 k_sem_init(&cc1200->rx_lock, 0, 1); in cc1200_init()
Dieee802154_cc2520.h48 struct k_sem rx_lock; member
Dieee802154_cc2520.c409 k_sem_give(&cc2520->rx_lock); in fifop_int_handler()
605 k_sem_take(&cc2520->rx_lock, K_FOREVER); in cc2520_rx()
999 k_sem_init(&cc2520->rx_lock, 0, K_SEM_MAX_LIMIT); in cc2520_init()