Home
last modified time | relevance | path

Searched refs:crtc (Results 1 – 3 of 3) sorted by relevance

/arch/x86/boot/
Dvideo-vga.c141 u16 crtc; /* CRTC base address */ in vga_set_480_scanlines() local
144 crtc = vga_crtc(); in vga_set_480_scanlines()
146 out_idx(0x0c, crtc, 0x11); /* Vertical sync end, unlock CR0-7 */ in vga_set_480_scanlines()
147 out_idx(0x0b, crtc, 0x06); /* Vertical total */ in vga_set_480_scanlines()
148 out_idx(0x3e, crtc, 0x07); /* Vertical overflow */ in vga_set_480_scanlines()
149 out_idx(0xea, crtc, 0x10); /* Vertical sync start */ in vga_set_480_scanlines()
150 out_idx(0xdf, crtc, 0x12); /* Vertical display end */ in vga_set_480_scanlines()
151 out_idx(0xe7, crtc, 0x15); /* Vertical blank start */ in vga_set_480_scanlines()
152 out_idx(0x04, crtc, 0x16); /* Vertical blank end */ in vga_set_480_scanlines()
161 u16 crtc; /* CRTC base address */ in vga_set_vertical_end() local
[all …]
Dvideo-mode.c121 u16 crtc; in vga_recalc_vertical() local
131 crtc = vga_crtc(); in vga_recalc_vertical()
133 pt = in_idx(crtc, 0x11); in vga_recalc_vertical()
135 out_idx(pt, crtc, 0x11); in vga_recalc_vertical()
137 out_idx((u8)rows, crtc, 0x12); /* Lower height register */ in vga_recalc_vertical()
139 ov = in_idx(crtc, 0x07); /* Overflow register */ in vga_recalc_vertical()
143 out_idx(ov, crtc, 0x07); in vga_recalc_vertical()
Dvideo-bios.c71 u16 crtc; in bios_probe() local
79 crtc = vga_crtc(); in bios_probe()
104 if (in_idx(crtc, 0x0f)) in bios_probe()