Lines Matching defs:mode
145 int mode; /* KD_TEXT or KD_GRAPHICS */
186 static int vgatext_kdsetmode(struct vgatext_softc *softc, int mode);
581 /* only do this if not in graphics mode */
698 do_gfx_ioctl(int cmd, intptr_t data, int mode, struct vgatext_softc *softc)
710 kd_mode = softc->mode;
711 if (ddi_copyout(&kd_mode, (void *)data, sizeof (int), mode))
717 sizeof (struct vis_identifier), mode))
723 if (!(mode & FKIOCTL)) {
741 sizeof (struct vis_conscopy), mode))
753 sizeof (display_request), mode))
765 sizeof (cursor_request), mode))
772 sizeof (cursor_request), mode))
782 * At the moment, text mode is not considered to have
812 int mode,
822 err = do_gfx_ioctl(cmd, data, mode, softc);
894 vgatext_kdsetmode(struct vgatext_softc *softc, int mode)
896 if ((mode == softc->mode) || (!VGATEXT_IS_CONSOLE(softc)))
899 switch (mode) {
914 if (softc->mode == KD_TEXT && vgatext_silent == 1) {
923 softc->mode = mode;
975 data->mode = VIS_TEXT;
1210 /* we are in graphics mode, set to text 80X25 mode */
1366 /* enable odd/even addressing mode */