Lines Matching refs:vtys
527 SC_DRIVER_NAME, unit, adapter_name(sc->adp), sc->vtys, sc->config);
550 for (vc = 0; vc < sc->vtys; vc++) {
558 * in scinit(). The other vtys will have these structs when
1138 for (i = sc->first_vty; i < sc->first_vty + sc->vtys; i++) {
1173 if ((i < sc->first_vty) || (i >= sc->first_vty + sc->vtys))
2422 if ((next_scr < sc->first_vty) || (next_scr >= sc->first_vty + sc->vtys)
2794 for (i = sc->first_vty; i < sc->first_vty + sc->vtys; ++i) {
2900 sc->vtys = MAXCONS; /* XXX: should be configurable */
2929 sc->dev = malloc(sizeof(struct tty *)*sc->vtys, M_DEVBUF,
3584 for (i = (this_scr - sc->first_vty + 1)%sc->vtys;
3586 i = (i + 1)%sc->vtys) {
3597 for (i = (this_scr - sc->first_vty + sc->vtys - 1)%sc->vtys;
3599 i = (i + sc->vtys - 1)%sc->vtys) {