Home
last modified time | relevance | path

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

/arch/x86/boot/
Dvideo-vga.c134 u16 crtc; in vga_set_480_scanlines() local
137 crtc = vga_crtc(); in vga_set_480_scanlines()
139 out_idx(0x0c, crtc, 0x11); /* Vertical sync end, unlock CR0-7 */ in vga_set_480_scanlines()
140 out_idx(0x0b, crtc, 0x06); /* Vertical total */ in vga_set_480_scanlines()
141 out_idx(0x3e, crtc, 0x07); /* Vertical overflow */ in vga_set_480_scanlines()
142 out_idx(0xea, crtc, 0x10); /* Vertical sync start */ in vga_set_480_scanlines()
143 out_idx(end, crtc, 0x12); /* Vertical display end */ in vga_set_480_scanlines()
144 out_idx(0xe7, crtc, 0x15); /* Vertical blank start */ in vga_set_480_scanlines()
145 out_idx(0x04, crtc, 0x16); /* Vertical blank end */ in vga_set_480_scanlines()
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.c73 u16 crtc; in bios_probe() local
81 crtc = vga_crtc(); in bios_probe()
106 if (in_idx(crtc, 0x0f)) in bios_probe()