Searched refs:OWL_UART_STAT (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | owl-uart.c | 30 #define OWL_UART_STAT 0x00c macro 114 stat = owl_uart_read(port, OWL_UART_STAT); in owl_uart_get_mctrl() 130 val = owl_uart_read(port, OWL_UART_STAT); in owl_uart_tx_empty() 146 val = owl_uart_read(port, OWL_UART_STAT); in owl_uart_stop_rx() 148 owl_uart_write(port, val, OWL_UART_STAT); in owl_uart_stop_rx() 159 val = owl_uart_read(port, OWL_UART_STAT); in owl_uart_stop_tx() 161 owl_uart_write(port, val, OWL_UART_STAT); in owl_uart_stop_tx() 173 val = owl_uart_read(port, OWL_UART_STAT); in owl_uart_start_tx() 175 owl_uart_write(port, val, OWL_UART_STAT); in owl_uart_start_tx() 187 !(owl_uart_read(port, OWL_UART_STAT) & OWL_UART_STAT_TFFU), in owl_uart_send_chars() [all …]
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_owl.c | 22 #define OWL_UART_STAT (0x000C) macro 49 if (readl(priv->base + OWL_UART_STAT) & OWL_UART_STAT_RFEM) in owl_serial_getc() 59 if (readl(priv->base + OWL_UART_STAT) & OWL_UART_STAT_TFFU) in owl_serial_putc() 70 unsigned int stat = readl(priv->base + OWL_UART_STAT); in owl_serial_pending()
|