Searched refs:rx_lock (Results 1 – 9 of 9) sorted by relevance
/Zephyr-Core-3.6.0/drivers/serial/ |
D | uart_emul.c | 36 struct k_spinlock rx_lock; member 81 key = k_spin_lock(&drv_data->rx_lock); in uart_emul_poll_in() 83 k_spin_unlock(&drv_data->rx_lock, key); in uart_emul_poll_in() 173 K_SPINLOCK(&data->rx_lock) { in uart_emul_fifo_read() 203 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_rx_ready() 238 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_handler() 279 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_rx_enable() 302 K_SPINLOCK(&data->rx_lock) { in uart_emul_irq_rx_disable() 374 K_SPINLOCK(&drv_data->rx_lock) { in uart_emul_put_rx_data() 411 key = k_spin_lock(&drv_data->rx_lock); in uart_emul_flush_rx_data() [all …]
|
D | uart_xlnx_uartlite.c | 53 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-Core-3.6.0/drivers/espi/ |
D | espi_mchp_xec_v2.h | 54 struct k_sem rx_lock; member
|
D | espi_mchp_xec.c | 81 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()
|
D | espi_mchp_xec_v2.c | 437 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-Core-3.6.0/drivers/ieee802154/ |
D | ieee802154_cc1200.h | 55 struct k_sem rx_lock; member
|
D | ieee802154_cc1200.c | 186 k_sem_give(&cc1200->rx_lock); in gpio0_int_handler() 462 k_sem_take(&cc1200->rx_lock, K_FOREVER); in cc1200_rx() 761 k_sem_init(&cc1200->rx_lock, 0, 1); in cc1200_init()
|
D | ieee802154_cc2520.h | 48 struct k_sem rx_lock; member
|
D | ieee802154_cc2520.c | 411 k_sem_give(&cc2520->rx_lock); in fifop_int_handler() 607 k_sem_take(&cc2520->rx_lock, K_FOREVER); in cc2520_rx() 1001 k_sem_init(&cc2520->rx_lock, 0, K_SEM_MAX_LIMIT); in cc2520_init()
|