Lines Matching defs:mode
38 /* Set basic 80x25 mode */
42 u8 mode;
46 /* Query current mode */
49 mode = oreg.al;
51 if (mode != 3 && mode != 7)
52 mode = 3;
54 /* Set the mode */
55 ireg.ax = mode; /* AH=0: set mode */
58 return mode;
114 /* Set 80x43 mode on VGA (not EGA) */
124 /* Reset video mode */
191 static int vga_set_mode(struct mode_info *mode)
193 /* Set the basic mode */
197 force_x = mode->x;
198 force_y = mode->y;
200 switch (mode->mode) {