Searched refs:NR_CONS (Results 1 – 7 of 7) sorted by relevance
44 #define NR_CONS 4 /* # system consoles (1 to 8) */ macro
46 #define isconsole(tp) ((tp) < tty_addr(NR_CONS))129 tty_t tty_table[NR_CONS+NR_RS_LINES];276 } else if ((line - CONS_MINOR) < NR_CONS) { in line2tty()279 tp = tty_addr(line - RS232_MINOR + NR_CONS); in line2tty()352 for (i = 1; i < NR_CONS; i++) { in set_console_line()1558 if (tp < tty_addr(NR_CONS)) { in tty_init()1567 tp->tty_minor = RS232_MINOR + s-NR_CONS; in tty_init()
89 extern tty_t tty_table[NR_CONS+NR_RS_LINES];
104 static console_t cons_table[NR_CONS];982 if (nr_cons > NR_CONS) nr_cons = NR_CONS;
55 static int locks[NR_CONS]; /* per console lock keys state */
456 line = tp - &tty_table[NR_CONS]; in rs_init()
489 line = tp - &tty_table[NR_CONS]; in rs_init()