Lines Matching refs:status
10 * but only to keep track of status, etc in the state variables. It
179 int status;
187 status = UART_LSR_DR; /* We obviously have a character! */
194 status |= UART_LSR_BI;
196 status |= UART_LSR_OE;
202 printk("DR%02x:%02x...", ch, status);
212 if (status & (UART_LSR_BI | UART_LSR_PE |
217 if (status & UART_LSR_BI) {
218 status &= ~(UART_LSR_FE | UART_LSR_PE);
220 } else if (status & UART_LSR_PE)
222 else if (status & UART_LSR_FE)
224 if (status & UART_LSR_OE)
232 if (status & info->ignore_status_mask)
235 status &= info->read_status_mask;
237 if (status & (UART_LSR_BI)) {
244 } else if (status & UART_LSR_PE)
246 else if (status & UART_LSR_FE)
248 if (status & UART_LSR_OE) {
308 unsigned char status = ciab.pra & (SER_DCD | SER_CTS | SER_DSR);
313 dstatus = status ^ current_ctl_bits;
314 current_ctl_bits = status;
332 (!(status & SER_DCD)) ? "on" : "off");
334 if (!(status & SER_DCD))
346 if (!(status & SER_CTS)) {
361 if ((status & SER_CTS)) {
379 /* vbl is just a periodic interrupt we tie into to update modem status */
475 retval = request_irq(IRQ_AMIGA_VERTB, ser_vbl_int, 0, "serial status", info);
635 /* CTS flow control flag and modem status interrupts */
986 * get_lsr_info - get line status register info
997 unsigned char status;
1002 status = amiga_custom.serdatr;
1005 result = ((status & SDR_TSRE) ? TIOCSER_TEMT : 0);
1015 unsigned char control, status;
1023 status = ciab.pra;
1027 | (!(status & SER_DCD) ? TIOCM_CAR : 0)
1028 | (!(status & SER_DSR) ? TIOCM_DSR : 0)
1029 | (!(status & SER_CTS) ? TIOCM_CTS : 0);
1123 case TIOCSERGETLSR: /* Get line status register */
1180 /* Handle transition to B0 status */
1188 /* Handle transition away from B0 status */
1236 * disable the receive line status interrupts, and tell the
1238 * line status register.
1369 char stat_buf[30], control, status;
1375 status = ciab.pra;
1376 control = tty_port_initialized(&state->tport) ? state->MCR : status;
1383 if(!(status & SER_CTS))
1387 if(!(status & SER_DSR))
1389 if(!(status & SER_DCD))
1410 * Last thing is the RS-232 status lines