Home
last modified time | relevance | path

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

/openbmc/qemu/include/hw/char/
H A Dstm32f2xx_usart.h45 #define USART_SR_RESET (USART_SR_TXE | USART_SR_TC)
47 #define USART_SR_TXE (1 << 7) macro
/openbmc/qemu/hw/char/
H A Dstm32f2xx_usart.c60 if (mask & (USART_SR_TXE | USART_SR_TC | USART_SR_RXNE)) { in stm32f2xx_update_irq()
153 s->usart_sr = value | USART_SR_TXE; in stm32f2xx_usart_write()
/openbmc/linux/drivers/tty/serial/
H A Dstm32-usart.h49 #define USART_SR_TXE BIT(7) macro
H A Dstm32-usart.c699 if (!(readl_relaxed(port->membase + ofs->isr) & USART_SR_TXE)) in stm32_usart_transmit_chars_pio()
811 (isr & USART_SR_TXE), in stm32_usart_transmit_chars()
904 if ((sr & USART_SR_TXE) && !(stm32_port->tx_ch)) { in stm32_usart_interrupt()
1872 (isr & USART_SR_TXE), 100, in stm32_usart_console_putchar()
1962 while (!(readl_relaxed(port->membase + info->ofs.isr) & USART_SR_TXE)) in early_stm32_usart_console_putchar()