Lines Matching refs:crtc
61 u8 crtc[VGA_CRT_C]; member
402 par->crtc[VGA_CRTC_H_TOTAL] = xtotal - 5; in vga16fb_check_var()
403 par->crtc[VGA_CRTC_H_BLANK_START] = xres - 1; in vga16fb_check_var()
404 par->crtc[VGA_CRTC_H_DISP] = xres - 1; in vga16fb_check_var()
406 par->crtc[VGA_CRTC_H_SYNC_START] = pos; in vga16fb_check_var()
408 par->crtc[VGA_CRTC_H_SYNC_END] = pos & 0x1F; in vga16fb_check_var()
410 par->crtc[VGA_CRTC_H_BLANK_END] = (pos & 0x1F) | 0x80; in vga16fb_check_var()
412 par->crtc[VGA_CRTC_H_SYNC_END] |= 0x80; in vga16fb_check_var()
457 par->crtc[VGA_CRTC_V_TOTAL] = ytotal - 2; in vga16fb_check_var()
461 par->crtc[VGA_CRTC_PRESET_ROW] = 0; in vga16fb_check_var()
462 par->crtc[VGA_CRTC_MAX_SCAN] = 0x40; /* 1 scanline, no linecmp */ in vga16fb_check_var()
464 par->crtc[VGA_CRTC_MAX_SCAN] |= 0x80; in vga16fb_check_var()
465 par->crtc[VGA_CRTC_CURSOR_START] = 0x20; in vga16fb_check_var()
466 par->crtc[VGA_CRTC_CURSOR_END] = 0x00; in vga16fb_check_var()
470 par->crtc[VGA_CRTC_START_HI] = pos >> 8; in vga16fb_check_var()
471 par->crtc[VGA_CRTC_START_LO] = pos & 0xFF; in vga16fb_check_var()
472 par->crtc[VGA_CRTC_CURSOR_HI] = 0x00; in vga16fb_check_var()
473 par->crtc[VGA_CRTC_CURSOR_LO] = 0x00; in vga16fb_check_var()
475 par->crtc[VGA_CRTC_V_DISP_END] = pos & 0xFF; in vga16fb_check_var()
476 par->crtc[VGA_CRTC_V_BLANK_START] = pos & 0xFF; in vga16fb_check_var()
481 par->crtc[VGA_CRTC_MAX_SCAN] |= 0x20; /* BLANK_START */ in vga16fb_check_var()
484 par->crtc[VGA_CRTC_V_SYNC_START] = pos & 0xFF; in vga16fb_check_var()
490 par->crtc[VGA_CRTC_V_SYNC_END] = (pos & 0x0F) & ~0x10; /* disabled IRQ */ in vga16fb_check_var()
492 par->crtc[VGA_CRTC_V_BLANK_END] = pos & 0xFF; /* 0x7F for original VGA, in vga16fb_check_var()
496 par->crtc[VGA_CRTC_OFFSET] = vxres >> 1; in vga16fb_check_var()
498 par->crtc[VGA_CRTC_UNDERLINE] = 0x5F; /* 256, cfb8 */ in vga16fb_check_var()
500 par->crtc[VGA_CRTC_UNDERLINE] = 0x1F; /* 16, vgap */ in vga16fb_check_var()
501 par->crtc[VGA_CRTC_MODE] = rMode | ((mode & MODE_TEXT) ? 0xA3 : 0xE3); in vga16fb_check_var()
502 par->crtc[VGA_CRTC_LINE_COMPARE] = 0xFF; in vga16fb_check_var()
503 par->crtc[VGA_CRTC_OVERFLOW] = r7; in vga16fb_check_var()
592 par->crtc[VGA_CRTC_MAX_SCAN] = (par->crtc[VGA_CRTC_MAX_SCAN] in vga16fb_set_par()
623 vga_io_wcrt(VGA_CRTC_V_SYNC_END, par->crtc[VGA_CRTC_V_SYNC_END]); in vga16fb_set_par()
627 vga_io_wcrt(i, par->crtc[i]); in vga16fb_set_par()