Lines Matching refs:status
657 /* Only clear the status bits we want to clear */
672 unsigned short status;
676 status = serial_port_in(port, SCxSR);
677 if (status & SCxSR_ERRORS(port)) {
684 if (!(status & SCxSR_RDxF(port)))
699 unsigned short status;
702 status = serial_port_in(port, SCxSR);
703 } while (!(status & SCxSR_TDxE(port)));
747 u16 status = serial_port_in(port, SCSPTR);
750 status |= SCSPTR_RTSIO;
752 status |= SCSPTR_RTSDT;
754 status &= ~SCSPTR_RTSDT;
756 status &= ~(SCSPTR_CTSIO | SCSPTR_SCKIO);
757 serial_port_out(port, SCSPTR, status);
808 unsigned short status;
812 status = serial_port_in(port, SCxSR);
813 if (!(status & SCxSR_TDxE(port))) {
859 unsigned short status;
862 status = serial_port_in(port, SCxSR);
863 if (!(status & SCxSR_RDxF(port)))
886 status = serial_port_in(port, SCxSR);
890 status = serial_port_in(port, SCxSR);
897 /* Store data and status */
898 if (status & SCxSR_FER(port)) {
902 } else if (status & SCxSR_PER(port)) {
934 unsigned short status = serial_port_in(port, SCxSR);
939 if (status & s->params->overrun_mask) {
949 if (status & SCxSR_FER(port)) {
959 if (status & SCxSR_PER(port)) {
981 u16 status;
987 status = serial_port_in(port, s->params->overrun_reg);
988 if (status & s->params->overrun_mask) {
989 status &= ~s->params->overrun_mask;
990 serial_port_out(port, s->params->overrun_reg, status);
1007 unsigned short status = serial_port_in(port, SCxSR);
1013 if (status & SCxSR_BRK(port)) {
1476 enum dma_status status;
1491 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state);
1492 if (status == DMA_COMPLETE) {
1509 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state);
1510 if (status == DMA_COMPLETE) {
2002 unsigned short status = serial_port_in(port, SCxSR);
2005 return (status & SCxSR_TEND(port)) && !in_tx_fifo ? TIOCSER_TEMT : 0;
2351 unsigned int status;
2364 status = serial_port_in(port, SCLSR);
2365 status &= ~(SCLSR_TO | SCLSR_ORER);
2366 serial_port_out(port, SCLSR, status);
2588 port->status &= ~UPSTAT_AUTOCTS;
2597 port->status |= UPSTAT_AUTOCTS;