Searched refs:ufstat (Results 1 – 4 of 4) sorted by relevance
147 if (!(readl(&uart->ufstat) & RX_FIFO_COUNT_MASK)) in s5p_serial_getc()159 if (readl(&uart->ufstat) & TX_FIFO_FULL) in s5p_serial_putc()172 uint32_t ufstat = readl(&uart->ufstat); in s5p_serial_pending() local175 return (ufstat & RX_FIFO_COUNT_MASK) >> RX_FIFO_COUNT_SHIFT; in s5p_serial_pending()177 return (ufstat & TX_FIFO_COUNT_MASK) >> TX_FIFO_COUNT_SHIFT; in s5p_serial_pending()235 while (readl(&uart->ufstat) & TX_FIFO_FULL); in _debug_uart_putc()
554 unsigned long ufstat) in s3c24xx_serial_rx_fifocnt() argument558 if (ufstat & info->rx_fifofull) in s3c24xx_serial_rx_fifocnt()561 return (ufstat & info->rx_fifomask) >> info->rx_fifoshift; in s3c24xx_serial_rx_fifocnt()719 unsigned int ufcon, ch, flag, ufstat, uerstat; in s3c24xx_serial_rx_drain_fifo() local729 ufstat = rd_regl(port, S3C2410_UFSTAT); in s3c24xx_serial_rx_drain_fifo()730 fifocnt = s3c24xx_serial_rx_fifocnt(ourport, ufstat); in s3c24xx_serial_rx_drain_fifo()918 unsigned long ufstat = rd_regl(port, S3C2410_UFSTAT); in s3c24xx_serial_tx_empty() local922 if ((ufstat & info->tx_fifomask) != 0 || in s3c24xx_serial_tx_empty()923 (ufstat & info->tx_fifofull)) in s3c24xx_serial_tx_empty()2183 unsigned long ufstat, utrstat; in s3c24xx_serial_console_txrdy() local[all …]
26 unsigned int ufstat; member