Home
last modified time | relevance | path

Searched refs:USART_SR_RXNE (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/char/
H A Dstm32f2xx_usart.c49 if (!(s->usart_sr & USART_SR_RXNE)) { in stm32f2xx_usart_can_receive()
60 if (mask & (USART_SR_TXE | USART_SR_TC | USART_SR_RXNE)) { in stm32f2xx_update_irq()
78 s->usart_sr |= USART_SR_RXNE; in stm32f2xx_usart_receive()
116 s->usart_sr &= ~USART_SR_RXNE; in stm32f2xx_usart_read()
/openbmc/qemu/include/hw/char/
H A Dstm32f2xx_usart.h49 #define USART_SR_RXNE (1 << 5) macro
/openbmc/linux/drivers/tty/serial/
H A Dstm32-usart.h47 #define USART_SR_RXNE BIT(5) macro
H A Dstm32-usart.c351 if (*sr & USART_SR_RXNE) { in stm32_usart_pending_rx_pio()
893 if (((sr & USART_SR_RXNE) && !stm32_usart_rx_dma_started(stm32_port)) || in stm32_usart_interrupt()
1432 if (!(readl_relaxed(port->membase + ofs->isr) & USART_SR_RXNE)) in stm32_usart_poll_get_char()