Lines Matching refs:UTSR1_TO_SM
58 #define UTSR1_TO_SM(x) ((x) << 8) macro
197 status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) | in sa1100_rx_chars()
199 while (status & UTSR1_TO_SM(UTSR1_RNE)) { in sa1100_rx_chars()
210 if (status & UTSR1_TO_SM(UTSR1_PRE | UTSR1_FRE | UTSR1_ROR)) { in sa1100_rx_chars()
211 if (status & UTSR1_TO_SM(UTSR1_PRE)) in sa1100_rx_chars()
213 else if (status & UTSR1_TO_SM(UTSR1_FRE)) in sa1100_rx_chars()
215 if (status & UTSR1_TO_SM(UTSR1_ROR)) in sa1100_rx_chars()
220 if (status & UTSR1_TO_SM(UTSR1_PRE)) in sa1100_rx_chars()
222 else if (status & UTSR1_TO_SM(UTSR1_FRE)) in sa1100_rx_chars()
233 uart_insert_char(&sport->port, status, UTSR1_TO_SM(UTSR1_ROR), ch, flg); in sa1100_rx_chars()
236 status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) | in sa1100_rx_chars()
458 sport->port.read_status_mask |= UTSR1_TO_SM(UTSR1_ROR); in sa1100_set_termios()
461 UTSR1_TO_SM(UTSR1_FRE | UTSR1_PRE); in sa1100_set_termios()
472 UTSR1_TO_SM(UTSR1_FRE | UTSR1_PRE); in sa1100_set_termios()
482 UTSR1_TO_SM(UTSR1_ROR); in sa1100_set_termios()