Lines Matching +full:0 +full:- +full:indexed
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* -*- linux-c -*- ------------------------------------------------------- *
5 * Copyright 2007 rPath, Inc. - All Rights Reserved
7 * ----------------------------------------------------------------------- */
10 * Header file for the real-mode video probing code
21 * NORMAL_VGA (-1)
22 * EXTENDED_VGA (-2)
23 * ASK_VGA (-3)
24 * Video modes numbered by menu position -- NOT RECOMMENDED because of lack
25 * of compatibility when extending the table. These are between 0x00 and 0xff.
27 #define VIDEO_FIRST_MENU 0x0000
29 /* Standard BIOS video modes (BIOS number + 0x0100) */
30 #define VIDEO_FIRST_BIOS 0x0100
32 /* VESA BIOS video modes (VESA number + 0x0200) */
33 #define VIDEO_FIRST_VESA 0x0200
35 /* Video7 special modes (BIOS number + 0x0900) */
36 #define VIDEO_FIRST_V7 0x0900
39 #define VIDEO_FIRST_SPECIAL 0x0f00
40 #define VIDEO_80x25 0x0f00
41 #define VIDEO_8POINT 0x0f01
42 #define VIDEO_80x43 0x0f02
43 #define VIDEO_80x28 0x0f03
44 #define VIDEO_CURRENT_MODE 0x0f04
45 #define VIDEO_80x30 0x0f05
46 #define VIDEO_80x34 0x0f06
47 #define VIDEO_80x60 0x0f07
48 #define VIDEO_GFX_HACK 0x0f08
49 #define VIDEO_LAST_SPECIAL 0x0f09
52 #define VIDEO_FIRST_RESOLUTION 0x1000
55 #define VIDEO_RECALC 0x8000
67 u16 depth; /* Bits per pixel, 0 for text mode */
87 #define ADAPTER_CGA 0 /* CGA/MDA/HGC */
96 /* Accessing VGA indexed registers */
108 /* Writes a value to an indexed port and then reads the port again */
116 u16 vga_crtc(void); /* video-vga.c */