Lines Matching defs:mode
40 /* Set basic 80x25 mode */
44 u8 mode;
48 /* Query current mode */
51 mode = oreg.al;
53 if (mode != 3 && mode != 7)
54 mode = 3;
56 /* Set the mode */
57 ireg.ax = mode; /* AH=0: set mode */
60 return mode;
116 /* Set 80x43 mode on VGA (not EGA) */
126 /* Reset video mode */
193 static int vga_set_mode(struct mode_info *mode)
195 /* Set the basic mode */
199 force_x = mode->x;
200 force_y = mode->y;
202 switch (mode->mode) {