Lines Matching refs:ufstat
587 s3c24xx_serial_rx_fifocnt(const struct s3c24xx_uart_port *ourport, u32 ufstat) in s3c24xx_serial_rx_fifocnt() argument
591 if (ufstat & info->rx_fifofull) in s3c24xx_serial_rx_fifocnt()
594 return (ufstat & info->rx_fifomask) >> info->rx_fifoshift; in s3c24xx_serial_rx_fifocnt()
757 u32 ufcon, ufstat, uerstat; in s3c24xx_serial_rx_drain_fifo() local
766 ufstat = rd_regl(port, S3C2410_UFSTAT); in s3c24xx_serial_rx_drain_fifo()
767 fifocnt = s3c24xx_serial_rx_fifocnt(ourport, ufstat); in s3c24xx_serial_rx_drain_fifo()
979 u32 ufstat = rd_regl(port, S3C2410_UFSTAT); in s3c24xx_serial_tx_empty() local
983 if ((ufstat & info->tx_fifomask) || in s3c24xx_serial_tx_empty()
984 (ufstat & info->tx_fifofull)) in s3c24xx_serial_tx_empty()
2185 u32 ufstat, utrstat; in s3c24xx_serial_console_txrdy() local
2190 ufstat = rd_regl(port, S3C2410_UFSTAT); in s3c24xx_serial_console_txrdy()
2191 return !(ufstat & info->tx_fifofull); in s3c24xx_serial_console_txrdy()
2216 u32 ufstat; in s3c24xx_serial_get_poll_char() local
2218 ufstat = rd_regl(port, S3C2410_UFSTAT); in s3c24xx_serial_get_poll_char()
2219 if (s3c24xx_serial_rx_fifocnt(ourport, ufstat) == 0) in s3c24xx_serial_get_poll_char()
2751 u32 ch, ufstat; in samsung_early_read() local
2754 ufstat = rd_regl(&dev->port, S3C2410_UFSTAT); in samsung_early_read()
2755 if (!(ufstat & data->rxfifo_mask)) in samsung_early_read()