Lines Matching refs:flip

760 			if (tty->flip.count < TTY_FLIPBUF_SIZE) {  in sci_receive_chars()
761 *tty->flip.char_buf_ptr++ = sci_in(port, SCxRDR); in sci_receive_chars()
762 *tty->flip.flag_buf_ptr++ = TTY_NORMAL; in sci_receive_chars()
763 tty->flip.count++; in sci_receive_chars()
769 while (count > 0 && tty->flip.count < TTY_FLIPBUF_SIZE){ in sci_receive_chars()
807 *tty->flip.char_buf_ptr++ = c; in sci_receive_chars()
810 *tty->flip.flag_buf_ptr++ = TTY_FRAME; in sci_receive_chars()
813 *tty->flip.flag_buf_ptr++ = TTY_PARITY; in sci_receive_chars()
816 *tty->flip.flag_buf_ptr++ = TTY_NORMAL; in sci_receive_chars()
818 tty->flip.count++; in sci_receive_chars()
828 tty->flip.flag_buf_ptr[TTY_FLIPBUF_SIZE - 1] = TTY_OVERRUN; in sci_receive_chars()
849 if (status&SCxSR_ORER(port) && tty->flip.count<TTY_FLIPBUF_SIZE) { in sci_handle_errors()
852 *tty->flip.flag_buf_ptr++ = TTY_OVERRUN; in sci_handle_errors()
856 if (status&SCxSR_FER(port) && tty->flip.count<TTY_FLIPBUF_SIZE) { in sci_handle_errors()
860 *tty->flip.flag_buf_ptr++ = TTY_BREAK; in sci_handle_errors()
866 *tty->flip.flag_buf_ptr++ = TTY_FRAME; in sci_handle_errors()
871 if (status&SCxSR_PER(port) && tty->flip.count<TTY_FLIPBUF_SIZE) { in sci_handle_errors()
874 *tty->flip.flag_buf_ptr++ = TTY_PARITY; in sci_handle_errors()
879 tty->flip.count += copied; in sci_handle_errors()
892 if (status&SCxSR_BRK(port) && tty->flip.count<TTY_FLIPBUF_SIZE) { in sci_handle_breaks()
912 *tty->flip.flag_buf_ptr++ = TTY_BREAK; in sci_handle_breaks()
923 if(tty->flip.count<TTY_FLIPBUF_SIZE) { in sci_handle_breaks()
925 *tty->flip.flag_buf_ptr++ = TTY_OVERRUN; in sci_handle_breaks()
932 tty->flip.count += copied; in sci_handle_breaks()