Lines Matching refs:ufstat
594 unsigned long ufstat) in s3c24xx_serial_rx_fifocnt() argument
598 if (ufstat & info->rx_fifofull) in s3c24xx_serial_rx_fifocnt()
601 return (ufstat & info->rx_fifomask) >> info->rx_fifoshift; in s3c24xx_serial_rx_fifocnt()
762 unsigned int ufcon, ufstat, uerstat; in s3c24xx_serial_rx_drain_fifo() local
773 ufstat = rd_regl(port, S3C2410_UFSTAT); in s3c24xx_serial_rx_drain_fifo()
774 fifocnt = s3c24xx_serial_rx_fifocnt(ourport, ufstat); in s3c24xx_serial_rx_drain_fifo()
986 unsigned long ufstat = rd_regl(port, S3C2410_UFSTAT); in s3c24xx_serial_tx_empty() local
990 if ((ufstat & info->tx_fifomask) != 0 || in s3c24xx_serial_tx_empty()
991 (ufstat & info->tx_fifofull)) in s3c24xx_serial_tx_empty()
2297 unsigned long ufstat, utrstat; in s3c24xx_serial_console_txrdy() local
2302 ufstat = rd_regl(port, S3C2410_UFSTAT); in s3c24xx_serial_console_txrdy()
2303 return (ufstat & info->tx_fifofull) ? 0 : 1; in s3c24xx_serial_console_txrdy()
2328 unsigned int ufstat; in s3c24xx_serial_get_poll_char() local
2330 ufstat = rd_regl(port, S3C2410_UFSTAT); in s3c24xx_serial_get_poll_char()
2331 if (s3c24xx_serial_rx_fifocnt(ourport, ufstat) == 0) in s3c24xx_serial_get_poll_char()
2810 int ch, ufstat, num_read = 0; in samsung_early_read() local
2813 ufstat = rd_regl(&dev->port, S3C2410_UFSTAT); in samsung_early_read()
2814 if (!(ufstat & data->rxfifo_mask)) in samsung_early_read()