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