Lines Matching refs:status
10 * but only to keep track of status, etc in the state variables. It
214 int status;
222 status = UART_LSR_DR; /* We obviously have a character! */
229 status |= UART_LSR_BI;
231 status |= UART_LSR_OE;
237 printk("DR%02x:%02x...", ch, status);
247 if (status & (UART_LSR_BI | UART_LSR_PE |
252 if (status & UART_LSR_BI) {
253 status &= ~(UART_LSR_FE | UART_LSR_PE);
255 } else if (status & UART_LSR_PE)
257 else if (status & UART_LSR_FE)
259 if (status & UART_LSR_OE)
267 if (status & info->ignore_status_mask)
270 status &= info->read_status_mask;
272 if (status & (UART_LSR_BI)) {
279 } else if (status & UART_LSR_PE)
281 else if (status & UART_LSR_FE)
283 if (status & UART_LSR_OE) {
343 unsigned char status = ciab.pra & (SER_DCD | SER_CTS | SER_DSR);
348 dstatus = status ^ current_ctl_bits;
349 current_ctl_bits = status;
367 (!(status & SER_DCD)) ? "on" : "off");
369 if (!(status & SER_DCD))
381 if (!(status & SER_CTS)) {
396 if ((status & SER_CTS)) {
414 /* vbl is just a periodic interrupt we tie into to update modem status */
510 retval = request_irq(IRQ_AMIGA_VERTB, ser_vbl_int, 0, "serial status", info);
677 /* CTS flow control flag and modem status interrupts */
1019 * get_lsr_info - get line status register info
1030 unsigned char status;
1035 status = custom.serdatr;
1038 result = ((status & SDR_TSRE) ? TIOCSER_TEMT : 0);
1048 unsigned char control, status;
1056 status = ciab.pra;
1060 | (!(status & SER_DCD) ? TIOCM_CAR : 0)
1061 | (!(status & SER_DSR) ? TIOCM_DSR : 0)
1062 | (!(status & SER_CTS) ? TIOCM_CTS : 0);
1156 case TIOCSERGETLSR: /* Get line status register */
1213 /* Handle transition to B0 status */
1221 /* Handle transition away from B0 status */
1269 * disable the receive line status interrupts, and tell the
1271 * line status register.
1407 char stat_buf[30], control, status;
1413 status = ciab.pra;
1414 control = tty_port_initialized(&state->tport) ? state->MCR : status;
1421 if(!(status & SER_CTS))
1425 if(!(status & SER_DSR))
1427 if(!(status & SER_DCD))
1448 * Last thing is the RS-232 status lines