Lines Matching refs:UTSR1_TO_SM
43 #define UTSR1_TO_SM(x) ((x) << 8) macro
185 status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) | in sa1100_rx_chars()
187 while (status & UTSR1_TO_SM(UTSR1_RNE)) { in sa1100_rx_chars()
198 if (status & UTSR1_TO_SM(UTSR1_PRE | UTSR1_FRE | UTSR1_ROR)) { in sa1100_rx_chars()
199 if (status & UTSR1_TO_SM(UTSR1_PRE)) in sa1100_rx_chars()
201 else if (status & UTSR1_TO_SM(UTSR1_FRE)) in sa1100_rx_chars()
203 if (status & UTSR1_TO_SM(UTSR1_ROR)) in sa1100_rx_chars()
208 if (status & UTSR1_TO_SM(UTSR1_PRE)) in sa1100_rx_chars()
210 else if (status & UTSR1_TO_SM(UTSR1_FRE)) in sa1100_rx_chars()
219 uart_insert_char(&sport->port, status, UTSR1_TO_SM(UTSR1_ROR), ch, flg); in sa1100_rx_chars()
222 status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) | in sa1100_rx_chars()
456 sport->port.read_status_mask |= UTSR1_TO_SM(UTSR1_ROR); in sa1100_set_termios()
459 UTSR1_TO_SM(UTSR1_FRE | UTSR1_PRE); in sa1100_set_termios()
470 UTSR1_TO_SM(UTSR1_FRE | UTSR1_PRE); in sa1100_set_termios()
480 UTSR1_TO_SM(UTSR1_ROR); in sa1100_set_termios()