Searched refs:SC_DEV (Results 1 – 2 of 2) sorted by relevance
| /trueos/sys/dev/syscons/ |
| HD | syscons.c | 174 #define VTY_WCHAN(sc, vty) (&SC_DEV(sc, vty)) 758 cur_tty = SC_DEV(sc, sc->cur_scp->index); in sckbdevent() 1152 tp = SC_DEV(sc, i); in sctty_ioctl() 1734 tp = SC_DEV(scp->sc, scp->index); in sc_cnputc() 2453 tp = SC_DEV(sc, cur_scp->index); in sc_switch_scr() 2471 tp = SC_DEV(sc, next_scr); in sc_switch_scr() 2488 sc->new_scp = sc_get_stat(SC_DEV(sc, next_scr)); in sc_switch_scr() 2813 if ((tp = SC_DEV(sc, i)) == NULL) in sc_change_cursor_shape() 3510 tp = SC_DEV(sc, scp->index); in scgetc() 3605 struct tty *tp = SC_DEV(sc, sc->first_vty + i); in scgetc() [all …]
|
| HD | syscons.h | 106 #define SC_DEV(sc, vty) ((sc)->dev[(vty) - (sc)->first_vty]) macro
|