Lines Matching refs:status

672 		/* Only clear the status bits we want to clear */
687 unsigned short status;
691 status = serial_port_in(port, SCxSR);
692 if (status & SCxSR_ERRORS(port)) {
699 if (!(status & SCxSR_RDxF(port)))
714 unsigned short status;
717 status = serial_port_in(port, SCxSR);
718 } while (!(status & SCxSR_TDxE(port)));
762 u16 status = serial_port_in(port, SCSPTR);
765 status |= SCSPTR_RTSIO;
767 status |= SCSPTR_RTSDT;
769 status &= ~SCSPTR_RTSDT;
771 status &= ~(SCSPTR_CTSIO | SCSPTR_SCKIO);
772 serial_port_out(port, SCSPTR, status);
823 unsigned short status;
827 status = serial_port_in(port, SCxSR);
828 if (!(status & SCxSR_TDxE(port))) {
883 unsigned short status;
886 status = serial_port_in(port, SCxSR);
887 if (!(status & SCxSR_RDxF(port)))
910 status = serial_port_in(port, SCxSR);
914 status = serial_port_in(port, SCxSR);
921 /* Store data and status */
922 if (status & SCxSR_FER(port)) {
925 } else if (status & SCxSR_PER(port)) {
956 unsigned short status = serial_port_in(port, SCxSR);
961 if (status & s->params->overrun_mask) {
969 if (status & SCxSR_FER(port)) {
977 if (status & SCxSR_PER(port)) {
997 u16 status;
1003 status = serial_port_in(port, s->params->overrun_reg);
1004 if (status & s->params->overrun_mask) {
1005 status &= ~s->params->overrun_mask;
1006 serial_port_out(port, s->params->overrun_reg, status);
1021 unsigned short status = serial_port_in(port, SCxSR);
1027 if (status & SCxSR_BRK(port)) {
1493 enum dma_status status;
1508 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state);
1509 if (status == DMA_COMPLETE) {
1526 status = dmaengine_tx_status(s->chan_rx, s->active_rx, &state);
1527 if (status == DMA_COMPLETE) {
2042 unsigned short status = serial_port_in(port, SCxSR);
2045 return (status & SCxSR_TEND(port)) && !in_tx_fifo ? TIOCSER_TEMT : 0;
2391 unsigned int status;
2404 status = serial_port_in(port, SCLSR);
2405 status &= ~(SCLSR_TO | SCLSR_ORER);
2406 serial_port_out(port, SCLSR, status);
2613 port->status &= ~UPSTAT_AUTOCTS;
2622 port->status |= UPSTAT_AUTOCTS;