Lines Matching defs:mode
21 /* Set a conventional BIOS mode */
22 static int set_bios_mode(u8 mode);
26 return set_bios_mode(mi->mode - VIDEO_FIRST_BIOS);
29 static int set_bios_mode(u8 mode)
35 ireg.al = mode; /* AH=0x00 Set Video Mode */
46 if (new_mode == mode)
53 video mode. */
63 u8 mode;
81 for (mode = 0x14; mode <= 0x7f; mode++) {
85 if (mode_defined(VIDEO_FIRST_BIOS+mode))
88 if (set_bios_mode(mode))
91 /* Try to verify that it's a text mode. */
106 mi->mode = VIDEO_FIRST_BIOS+mode;