Lines Matching refs:outb
755 outb(adp->va_crtc_addr, 7); in verify_adapter()
1026 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr, 12); in probe_adapters()
1027 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr + 1, 0); in probe_adapters()
1028 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr, 13); in probe_adapters()
1029 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr + 1, 0); in probe_adapters()
1263 outb(adp->va_crtc_addr, 0x13); in set_line_length()
1264 outb(adp->va_crtc_addr + 1, count); in set_line_length()
1287 outb(TSIDX, 1); in set_display_start()
1305 outb(adp->va_crtc_addr, 0xc); /* high */ in set_display_start()
1306 outb(adp->va_crtc_addr + 1, off >> 8); in set_display_start()
1307 outb(adp->va_crtc_addr, 0xd); /* low */ in set_display_start()
1308 outb(adp->va_crtc_addr + 1, off & 0xff); in set_display_start()
1313 outb(ATC, 0x13 | 0x20); in set_display_start()
1314 outb(ATC, poff); in set_display_start()
1316 outb(ATC, 0x20); in set_display_start()
1320 outb(adp->va_crtc_addr, 8); in set_display_start()
1321 outb(adp->va_crtc_addr + 1, roff); in set_display_start()
1675 outb(TSIDX, 0x02); buf[0] = inb(TSREG); in set_font_mode()
1676 outb(TSIDX, 0x04); buf[1] = inb(TSREG); in set_font_mode()
1677 outb(GDCIDX, 0x04); buf[2] = inb(GDCREG); in set_font_mode()
1678 outb(GDCIDX, 0x05); buf[3] = inb(GDCREG); in set_font_mode()
1679 outb(GDCIDX, 0x06); buf[4] = inb(GDCREG); in set_font_mode()
1681 outb(ATC, 0x10); buf[5] = inb(ATC + 1); in set_font_mode()
1698 outb(ATC, 0x10); outb(ATC, buf[5] & ~0x01); in set_font_mode()
1700 outb(ATC, 0x20); /* enable palette */ in set_font_mode()
1704 outb(TSIDX, 0x00); outb(TSREG, 0x01); in set_font_mode()
1706 outb(TSIDX, 0x02); outb(TSREG, 0x04); in set_font_mode()
1707 outb(TSIDX, 0x04); outb(TSREG, 0x07); in set_font_mode()
1709 outb(TSIDX, 0x00); outb(TSREG, 0x03); in set_font_mode()
1711 outb(GDCIDX, 0x04); outb(GDCREG, 0x02); in set_font_mode()
1712 outb(GDCIDX, 0x05); outb(GDCREG, 0x00); in set_font_mode()
1713 outb(GDCIDX, 0x06); outb(GDCREG, 0x04); in set_font_mode()
1740 outb(ATC, 0x10); outb(ATC, buf[5]); in set_normal_mode()
1742 outb(ATC, 0x20); /* enable palette */ in set_normal_mode()
1746 outb(TSIDX, 0x00); outb(TSREG, 0x01); in set_normal_mode()
1748 outb(TSIDX, 0x02); outb(TSREG, buf[0]); in set_normal_mode()
1749 outb(TSIDX, 0x04); outb(TSREG, buf[1]); in set_normal_mode()
1751 outb(TSIDX, 0x00); outb(TSREG, 0x03); in set_normal_mode()
1753 outb(GDCIDX, 0x04); outb(GDCREG, buf[2]); in set_normal_mode()
1754 outb(GDCIDX, 0x05); outb(GDCREG, buf[3]); in set_normal_mode()
1756 outb(GDCIDX, 0x06); outb(GDCREG,(buf[4] & 0x03) | 0x08); in set_normal_mode()
1758 outb(GDCIDX, 0x06); outb(GDCREG,(buf[4] & 0x03) | 0x0c); in set_normal_mode()
1825 outb(TSIDX, 0x00); outb(TSREG, 0x01); in vga_save_font()
1826 outb(TSIDX, 0x01); val = inb(TSREG); /* disable screen */ in vga_save_font()
1827 outb(TSIDX, 0x01); outb(TSREG, val | 0x20); in vga_save_font()
1828 outb(TSIDX, 0x00); outb(TSREG, 0x03); in vga_save_font()
1847 outb(TSIDX, 0x00); outb(TSREG, 0x01); in vga_save_font()
1848 outb(TSIDX, 0x01); outb(TSREG, val & 0xdf); /* enable screen */ in vga_save_font()
1849 outb(TSIDX, 0x00); outb(TSREG, 0x03); in vga_save_font()
1905 outb(TSIDX, 0x00); outb(TSREG, 0x01); in vga_load_font()
1906 outb(TSIDX, 0x01); val = inb(TSREG); /* disable screen */ in vga_load_font()
1907 outb(TSIDX, 0x01); outb(TSREG, val | 0x20); in vga_load_font()
1908 outb(TSIDX, 0x00); outb(TSREG, 0x03); in vga_load_font()
1927 outb(TSIDX, 0x00); outb(TSREG, 0x01); in vga_load_font()
1928 outb(TSIDX, 0x01); outb(TSREG, val & 0xdf); /* enable screen */ in vga_load_font()
1929 outb(TSIDX, 0x00); outb(TSREG, 0x03); in vga_load_font()
1960 outb(TSIDX, 0x03); outb(TSREG, cg[page]); in vga_show_font()
1987 outb(PALRADR, 0x00); in vga_save_palette()
2004 outb(PALRADR, base); in vga_save_palette2()
2029 outb(PIXMASK, 0xff); /* no pixelmask */ in vga_load_palette()
2030 outb(PALWADR, 0x00); in vga_load_palette()
2033 outb(PALDATA, palette[i] >> bits); in vga_load_palette()
2035 outb(ATC, 0x20); /* enable palette */ in vga_load_palette()
2048 outb(PIXMASK, 0xff); /* no pixelmask */ in vga_load_palette2()
2049 outb(PALWADR, base); in vga_load_palette2()
2052 outb(PALDATA, r[i] >> bits); in vga_load_palette2()
2053 outb(PALDATA, g[i] >> bits); in vga_load_palette2()
2054 outb(PALDATA, b[i] >> bits); in vga_load_palette2()
2057 outb(ATC, 0x20); /* enable palette */ in vga_load_palette2()
2076 outb(ATC, 0x31); outb(ATC, color & 0xff); in vga_set_border()
2079 outb(adp->va_crtc_addr + 5, color & 0x0f); /* color select register */ in vga_set_border()
2123 outb(TSIDX, 0x00); outb(TSREG, 0x01); /* stop sequencer */ in vga_save_state()
2125 outb(TSIDX, i + 1); in vga_save_state()
2129 outb(TSIDX, 0x00); outb(TSREG, 0x03); /* start sequencer */ in vga_save_state()
2132 outb(crtc_addr, i); in vga_save_state()
2137 outb(ATC, i); in vga_save_state()
2141 outb(GDCIDX, i); in vga_save_state()
2145 outb(ATC, 0x20); /* enable palette */ in vga_save_state()
2200 outb(TSIDX, 0x00); outb(TSREG, 0x01); /* stop sequencer */ in vga_load_state()
2202 outb(TSIDX, i + 1); in vga_load_state()
2203 outb(TSREG, buf[i + 5]); in vga_load_state()
2205 outb(MISC, buf[9]); /* set dot-clock */ in vga_load_state()
2206 outb(TSIDX, 0x00); outb(TSREG, 0x03); /* start sequencer */ in vga_load_state()
2207 outb(crtc_addr, 0x11); in vga_load_state()
2208 outb(crtc_addr + 1, inb(crtc_addr + 1) & 0x7F); in vga_load_state()
2210 outb(crtc_addr, i); in vga_load_state()
2211 outb(crtc_addr + 1, buf[i + 10]); in vga_load_state()
2215 outb(ATC, i); in vga_load_state()
2216 outb(ATC, buf[i + 35]); in vga_load_state()
2219 outb(GDCIDX, i); in vga_load_state()
2220 outb(GDCREG, buf[i + 55]); in vga_load_state()
2223 outb(ATC, 0x20); /* enable palette */ in vga_load_state()
2276 outb(adp->va_crtc_addr, 14); in vga_read_hw_cursor()
2278 outb(adp->va_crtc_addr, 15); in vga_read_hw_cursor()
2313 outb(adp->va_crtc_addr, 14); in vga_set_hw_cursor()
2314 outb(adp->va_crtc_addr + 1, off >> 8); in vga_set_hw_cursor()
2315 outb(adp->va_crtc_addr, 15); in vga_set_hw_cursor()
2316 outb(adp->va_crtc_addr + 1, off & 0x00ff); in vga_set_hw_cursor()
2347 outb(adp->va_crtc_addr, 10); in vga_set_hw_cursor_shape()
2348 outb(adp->va_crtc_addr + 1, 32); in vga_set_hw_cursor_shape()
2349 outb(adp->va_crtc_addr, 11); in vga_set_hw_cursor_shape()
2350 outb(adp->va_crtc_addr + 1, 0); in vga_set_hw_cursor_shape()
2352 outb(adp->va_crtc_addr, 10); in vga_set_hw_cursor_shape()
2353 outb(adp->va_crtc_addr + 1, celsize - base - height); in vga_set_hw_cursor_shape()
2354 outb(adp->va_crtc_addr, 11); in vga_set_hw_cursor_shape()
2355 outb(adp->va_crtc_addr + 1, celsize - base - 1); in vga_set_hw_cursor_shape()
2361 outb(adp->va_crtc_addr, 10); in vga_set_hw_cursor_shape()
2362 outb(adp->va_crtc_addr + 1, celsize); in vga_set_hw_cursor_shape()
2363 outb(adp->va_crtc_addr, 11); in vga_set_hw_cursor_shape()
2364 outb(adp->va_crtc_addr + 1, 0); in vga_set_hw_cursor_shape()
2366 outb(adp->va_crtc_addr, 10); in vga_set_hw_cursor_shape()
2367 outb(adp->va_crtc_addr + 1, celsize - base - height); in vga_set_hw_cursor_shape()
2368 outb(adp->va_crtc_addr, 11); in vga_set_hw_cursor_shape()
2369 outb(adp->va_crtc_addr + 1, celsize - base); in vga_set_hw_cursor_shape()
2396 outb(TSIDX, 0x01); in vga_blank_display()
2398 outb(TSIDX, 0x01); in vga_blank_display()
2399 outb(TSREG, val | 0x20); in vga_blank_display()
2400 outb(adp->va_crtc_addr, 0x17); in vga_blank_display()
2402 outb(adp->va_crtc_addr + 1, val & ~0x80); in vga_blank_display()
2405 outb(TSIDX, 0x01); in vga_blank_display()
2407 outb(TSIDX, 0x01); in vga_blank_display()
2408 outb(TSREG, val | 0x20); in vga_blank_display()
2411 outb(TSIDX, 0x01); in vga_blank_display()
2413 outb(TSIDX, 0x01); in vga_blank_display()
2414 outb(TSREG, val & 0xDF); in vga_blank_display()
2415 outb(adp->va_crtc_addr, 0x17); in vga_blank_display()
2417 outb(adp->va_crtc_addr + 1, val | 0x80); in vga_blank_display()
2432 outb(adp->va_crtc_addr + 4, 0x25); in vga_blank_display()
2435 outb(adp->va_crtc_addr + 4, 0x2d); in vga_blank_display()
2446 outb(adp->va_crtc_addr + 4, 0x21); in vga_blank_display()
2449 outb(adp->va_crtc_addr + 4, 0x29); in vga_blank_display()