Lines Matching defs:rx
158 #define UTS_LOOP (1<<12) /* Loop tx and rx */
357 unsigned int rx,flg,ignored = 0;
361 rx = readl(sport->port.membase + URXD0);
366 sport->port.icount.rx++;
376 (&sport->port, (unsigned char)rx))
379 if( rx & (URXD_PRERR | URXD_OVRRUN | URXD_FRMERR) )
383 tty_insert_flip_char(tty, rx, flg);
386 rx = readl(sport->port.membase + URXD0);
387 } while(rx & URXD_CHARRDY);
395 if (rx & URXD_PRERR)
397 else if (rx & URXD_FRMERR)
399 if (rx & URXD_OVRRUN)
402 if (rx & sport->port.ignore_status_mask) {
408 rx &= sport->port.read_status_mask;
410 if (rx & URXD_PRERR)
412 else if (rx & URXD_FRMERR)
414 if (rx & URXD_OVRRUN)