Lines Matching refs:outb

806 	outb(adp->va_crtc_addr, 7);  in verify_adapter()
1077 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr, 12); in probe_adapters()
1078 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr + 1, 0); in probe_adapters()
1079 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr, 13); in probe_adapters()
1080 outb(biosadapter[V_ADP_PRIMARY].va_crtc_addr + 1, 0); in probe_adapters()
1314 outb(adp->va_crtc_addr, 0x13); in set_line_length()
1315 outb(adp->va_crtc_addr + 1, count); in set_line_length()
1338 outb(TSIDX, 1); in set_display_start()
1356 outb(adp->va_crtc_addr, 0xc); /* high */ in set_display_start()
1357 outb(adp->va_crtc_addr + 1, off >> 8); in set_display_start()
1358 outb(adp->va_crtc_addr, 0xd); /* low */ in set_display_start()
1359 outb(adp->va_crtc_addr + 1, off & 0xff); in set_display_start()
1364 outb(ATC, 0x13 | 0x20); in set_display_start()
1365 outb(ATC, poff); in set_display_start()
1367 outb(ATC, 0x20); in set_display_start()
1371 outb(adp->va_crtc_addr, 8); in set_display_start()
1372 outb(adp->va_crtc_addr + 1, roff); in set_display_start()
1726 outb(TSIDX, 0x02); buf[0] = inb(TSREG); in set_font_mode()
1727 outb(TSIDX, 0x04); buf[1] = inb(TSREG); in set_font_mode()
1728 outb(GDCIDX, 0x04); buf[2] = inb(GDCREG); in set_font_mode()
1729 outb(GDCIDX, 0x05); buf[3] = inb(GDCREG); in set_font_mode()
1730 outb(GDCIDX, 0x06); buf[4] = inb(GDCREG); in set_font_mode()
1732 outb(ATC, 0x10); buf[5] = inb(ATC + 1); in set_font_mode()
1749 outb(ATC, 0x10); outb(ATC, buf[5] & ~0x01); in set_font_mode()
1751 outb(ATC, 0x20); /* enable palette */ in set_font_mode()
1755 outb(TSIDX, 0x00); outb(TSREG, 0x01); in set_font_mode()
1757 outb(TSIDX, 0x02); outb(TSREG, 0x04); in set_font_mode()
1758 outb(TSIDX, 0x04); outb(TSREG, 0x07); in set_font_mode()
1760 outb(TSIDX, 0x00); outb(TSREG, 0x03); in set_font_mode()
1762 outb(GDCIDX, 0x04); outb(GDCREG, 0x02); in set_font_mode()
1763 outb(GDCIDX, 0x05); outb(GDCREG, 0x00); in set_font_mode()
1764 outb(GDCIDX, 0x06); outb(GDCREG, 0x04); in set_font_mode()
1791 outb(ATC, 0x10); outb(ATC, buf[5]); in set_normal_mode()
1793 outb(ATC, 0x20); /* enable palette */ in set_normal_mode()
1797 outb(TSIDX, 0x00); outb(TSREG, 0x01); in set_normal_mode()
1799 outb(TSIDX, 0x02); outb(TSREG, buf[0]); in set_normal_mode()
1800 outb(TSIDX, 0x04); outb(TSREG, buf[1]); in set_normal_mode()
1802 outb(TSIDX, 0x00); outb(TSREG, 0x03); in set_normal_mode()
1804 outb(GDCIDX, 0x04); outb(GDCREG, buf[2]); in set_normal_mode()
1805 outb(GDCIDX, 0x05); outb(GDCREG, buf[3]); in set_normal_mode()
1807 outb(GDCIDX, 0x06); outb(GDCREG,(buf[4] & 0x03) | 0x08); in set_normal_mode()
1809 outb(GDCIDX, 0x06); outb(GDCREG,(buf[4] & 0x03) | 0x0c); in set_normal_mode()
1876 outb(TSIDX, 0x00); outb(TSREG, 0x01); in vga_save_font()
1877 outb(TSIDX, 0x01); val = inb(TSREG); /* disable screen */ in vga_save_font()
1878 outb(TSIDX, 0x01); outb(TSREG, val | 0x20); in vga_save_font()
1879 outb(TSIDX, 0x00); outb(TSREG, 0x03); in vga_save_font()
1898 outb(TSIDX, 0x00); outb(TSREG, 0x01); in vga_save_font()
1899 outb(TSIDX, 0x01); outb(TSREG, val & 0xdf); /* enable screen */ in vga_save_font()
1900 outb(TSIDX, 0x00); outb(TSREG, 0x03); in vga_save_font()
1956 outb(TSIDX, 0x00); outb(TSREG, 0x01); in vga_load_font()
1957 outb(TSIDX, 0x01); val = inb(TSREG); /* disable screen */ in vga_load_font()
1958 outb(TSIDX, 0x01); outb(TSREG, val | 0x20); in vga_load_font()
1959 outb(TSIDX, 0x00); outb(TSREG, 0x03); in vga_load_font()
1978 outb(TSIDX, 0x00); outb(TSREG, 0x01); in vga_load_font()
1979 outb(TSIDX, 0x01); outb(TSREG, val & 0xdf); /* enable screen */ in vga_load_font()
1980 outb(TSIDX, 0x00); outb(TSREG, 0x03); in vga_load_font()
2011 outb(TSIDX, 0x03); outb(TSREG, cg[page]); in vga_show_font()
2038 outb(PALRADR, 0x00); in vga_save_palette()
2055 outb(PALRADR, base); in vga_save_palette2()
2080 outb(PIXMASK, 0xff); /* no pixelmask */ in vga_load_palette()
2081 outb(PALWADR, 0x00); in vga_load_palette()
2084 outb(PALDATA, palette[i] >> bits); in vga_load_palette()
2086 outb(ATC, 0x20); /* enable palette */ in vga_load_palette()
2099 outb(PIXMASK, 0xff); /* no pixelmask */ in vga_load_palette2()
2100 outb(PALWADR, base); in vga_load_palette2()
2103 outb(PALDATA, r[i] >> bits); in vga_load_palette2()
2104 outb(PALDATA, g[i] >> bits); in vga_load_palette2()
2105 outb(PALDATA, b[i] >> bits); in vga_load_palette2()
2108 outb(ATC, 0x20); /* enable palette */ in vga_load_palette2()
2127 outb(ATC, 0x31); outb(ATC, color & 0xff); in vga_set_border()
2130 outb(adp->va_crtc_addr + 5, color & 0x0f); /* color select register */ in vga_set_border()
2174 outb(TSIDX, 0x00); outb(TSREG, 0x01); /* stop sequencer */ in vga_save_state()
2176 outb(TSIDX, i + 1); in vga_save_state()
2180 outb(TSIDX, 0x00); outb(TSREG, 0x03); /* start sequencer */ in vga_save_state()
2183 outb(crtc_addr, i); in vga_save_state()
2188 outb(ATC, i); in vga_save_state()
2192 outb(GDCIDX, i); in vga_save_state()
2196 outb(ATC, 0x20); /* enable palette */ in vga_save_state()
2251 outb(TSIDX, 0x00); outb(TSREG, 0x01); /* stop sequencer */ in vga_load_state()
2253 outb(TSIDX, i + 1); in vga_load_state()
2254 outb(TSREG, buf[i + 5]); in vga_load_state()
2256 outb(MISC, buf[9]); /* set dot-clock */ in vga_load_state()
2257 outb(TSIDX, 0x00); outb(TSREG, 0x03); /* start sequencer */ in vga_load_state()
2258 outb(crtc_addr, 0x11); in vga_load_state()
2259 outb(crtc_addr + 1, inb(crtc_addr + 1) & 0x7F); in vga_load_state()
2261 outb(crtc_addr, i); in vga_load_state()
2262 outb(crtc_addr + 1, buf[i + 10]); in vga_load_state()
2266 outb(ATC, i); in vga_load_state()
2267 outb(ATC, buf[i + 35]); in vga_load_state()
2270 outb(GDCIDX, i); in vga_load_state()
2271 outb(GDCREG, buf[i + 55]); in vga_load_state()
2274 outb(ATC, 0x20); /* enable palette */ in vga_load_state()
2327 outb(adp->va_crtc_addr, 14); in vga_read_hw_cursor()
2329 outb(adp->va_crtc_addr, 15); in vga_read_hw_cursor()
2364 outb(adp->va_crtc_addr, 14); in vga_set_hw_cursor()
2365 outb(adp->va_crtc_addr + 1, off >> 8); in vga_set_hw_cursor()
2366 outb(adp->va_crtc_addr, 15); in vga_set_hw_cursor()
2367 outb(adp->va_crtc_addr + 1, off & 0x00ff); in vga_set_hw_cursor()
2398 outb(adp->va_crtc_addr, 10); in vga_set_hw_cursor_shape()
2399 outb(adp->va_crtc_addr + 1, 32); in vga_set_hw_cursor_shape()
2400 outb(adp->va_crtc_addr, 11); in vga_set_hw_cursor_shape()
2401 outb(adp->va_crtc_addr + 1, 0); in vga_set_hw_cursor_shape()
2403 outb(adp->va_crtc_addr, 10); in vga_set_hw_cursor_shape()
2404 outb(adp->va_crtc_addr + 1, celsize - base - height); in vga_set_hw_cursor_shape()
2405 outb(adp->va_crtc_addr, 11); in vga_set_hw_cursor_shape()
2406 outb(adp->va_crtc_addr + 1, celsize - base - 1); in vga_set_hw_cursor_shape()
2412 outb(adp->va_crtc_addr, 10); in vga_set_hw_cursor_shape()
2413 outb(adp->va_crtc_addr + 1, celsize); in vga_set_hw_cursor_shape()
2414 outb(adp->va_crtc_addr, 11); in vga_set_hw_cursor_shape()
2415 outb(adp->va_crtc_addr + 1, 0); in vga_set_hw_cursor_shape()
2417 outb(adp->va_crtc_addr, 10); in vga_set_hw_cursor_shape()
2418 outb(adp->va_crtc_addr + 1, celsize - base - height); in vga_set_hw_cursor_shape()
2419 outb(adp->va_crtc_addr, 11); in vga_set_hw_cursor_shape()
2420 outb(adp->va_crtc_addr + 1, celsize - base); in vga_set_hw_cursor_shape()
2447 outb(TSIDX, 0x01); in vga_blank_display()
2449 outb(TSIDX, 0x01); in vga_blank_display()
2450 outb(TSREG, val | 0x20); in vga_blank_display()
2451 outb(adp->va_crtc_addr, 0x17); in vga_blank_display()
2453 outb(adp->va_crtc_addr + 1, val & ~0x80); in vga_blank_display()
2456 outb(TSIDX, 0x01); in vga_blank_display()
2458 outb(TSIDX, 0x01); in vga_blank_display()
2459 outb(TSREG, val | 0x20); in vga_blank_display()
2462 outb(TSIDX, 0x01); in vga_blank_display()
2464 outb(TSIDX, 0x01); in vga_blank_display()
2465 outb(TSREG, val & 0xDF); in vga_blank_display()
2466 outb(adp->va_crtc_addr, 0x17); in vga_blank_display()
2468 outb(adp->va_crtc_addr + 1, val | 0x80); in vga_blank_display()
2483 outb(adp->va_crtc_addr + 4, 0x25); in vga_blank_display()
2486 outb(adp->va_crtc_addr + 4, 0x2d); in vga_blank_display()
2497 outb(adp->va_crtc_addr + 4, 0x21); in vga_blank_display()
2500 outb(adp->va_crtc_addr + 4, 0x29); in vga_blank_display()