Lines Matching refs:REG_LSR
69 lsr = uart_getreg(bas, REG_LSR);
154 while ((uart_getreg(bas, REG_LSR) & LSR_TEMT) == 0 && --limit)
172 while ((uart_getreg(bas, REG_LSR) & LSR_RXRDY) && --limit) {
345 while ((uart_getreg(bas, REG_LSR) & LSR_THRE) == 0 && --limit)
350 while ((uart_getreg(bas, REG_LSR) & LSR_TEMT) == 0 && --limit)
358 return ((uart_getreg(bas, REG_LSR) & LSR_RXRDY) != 0 ? 1 : 0);
368 while ((uart_getreg(bas, REG_LSR) & LSR_RXRDY) == 0) {
650 lsr = uart_getreg(bas, REG_LSR);
771 while (((lsr |= uart_getreg(bas, REG_LSR)) & LSR_TEMT) == 0 &&
827 lsr = uart_getreg(bas, REG_LSR);
839 lsr = uart_getreg(bas, REG_LSR);
845 lsr = uart_getreg(bas, REG_LSR);
892 while ((uart_getreg(bas, REG_LSR) & LSR_THRE) == 0)