Lines Matching defs:UTSR1_TO_SM
43 #define UTSR1_TO_SM(x) ((x) << 8)
186 status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) |
188 while (status & UTSR1_TO_SM(UTSR1_RNE)) {
199 if (status & UTSR1_TO_SM(UTSR1_PRE | UTSR1_FRE | UTSR1_ROR)) {
200 if (status & UTSR1_TO_SM(UTSR1_PRE))
202 else if (status & UTSR1_TO_SM(UTSR1_FRE))
204 if (status & UTSR1_TO_SM(UTSR1_ROR))
209 if (status & UTSR1_TO_SM(UTSR1_PRE))
211 else if (status & UTSR1_TO_SM(UTSR1_FRE))
220 uart_insert_char(&sport->port, status, UTSR1_TO_SM(UTSR1_ROR), ch, flg);
223 status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) |
429 sport->port.read_status_mask |= UTSR1_TO_SM(UTSR1_ROR);
432 UTSR1_TO_SM(UTSR1_FRE | UTSR1_PRE);
443 UTSR1_TO_SM(UTSR1_FRE | UTSR1_PRE);
453 UTSR1_TO_SM(UTSR1_ROR);