Lines Matching refs:WREG_CRT
816 WREG_CRT(0x0d, (u8)(addr & 0xff)); in mga_set_start_address()
817 WREG_CRT(0x0c, (u8)(addr >> 8) & 0xff); in mga_set_start_address()
1034 WREG_CRT(0, htotal - 4); in mga_crtc_mode_set()
1035 WREG_CRT(1, hdisplay); in mga_crtc_mode_set()
1036 WREG_CRT(2, hdisplay); in mga_crtc_mode_set()
1037 WREG_CRT(3, (htotal & 0x1F) | 0x80); in mga_crtc_mode_set()
1038 WREG_CRT(4, hsyncstart); in mga_crtc_mode_set()
1039 WREG_CRT(5, ((htotal & 0x20) << 2) | (hsyncend & 0x1F)); in mga_crtc_mode_set()
1040 WREG_CRT(6, vtotal & 0xFF); in mga_crtc_mode_set()
1041 WREG_CRT(7, ((vtotal & 0x100) >> 8) | in mga_crtc_mode_set()
1049 WREG_CRT(9, ((vdisplay & 0x200) >> 4) | in mga_crtc_mode_set()
1051 WREG_CRT(10, 0); in mga_crtc_mode_set()
1052 WREG_CRT(11, 0); in mga_crtc_mode_set()
1053 WREG_CRT(12, 0); in mga_crtc_mode_set()
1054 WREG_CRT(13, 0); in mga_crtc_mode_set()
1055 WREG_CRT(14, 0); in mga_crtc_mode_set()
1056 WREG_CRT(15, 0); in mga_crtc_mode_set()
1057 WREG_CRT(16, vsyncstart & 0xFF); in mga_crtc_mode_set()
1058 WREG_CRT(17, (vsyncend & 0x0F) | 0x20); in mga_crtc_mode_set()
1059 WREG_CRT(18, vdisplay & 0xFF); in mga_crtc_mode_set()
1060 WREG_CRT(19, pitch & 0xFF); in mga_crtc_mode_set()
1061 WREG_CRT(20, 0); in mga_crtc_mode_set()
1062 WREG_CRT(21, vdisplay & 0xFF); in mga_crtc_mode_set()
1063 WREG_CRT(22, (vtotal + 1) & 0xFF); in mga_crtc_mode_set()
1064 WREG_CRT(23, 0xc3); in mga_crtc_mode_set()
1065 WREG_CRT(24, vdisplay & 0xFF); in mga_crtc_mode_set()
1302 WREG_CRT(0x11, tmp | 0x80); in mga_crtc_prepare()
1321 WREG_CRT(17, 0); in mga_crtc_prepare()