Lines Matching refs:wreg_crt
103 static void wreg_crt(struct cirrus_device *cirrus, u8 reg, u8 val) in wreg_crt() function
170 wreg_crt(cirrus, 0x0c, (u8)((addr >> 8) & 0xff)); in cirrus_set_start_address()
171 wreg_crt(cirrus, 0x0d, (u8)(addr & 0xff)); in cirrus_set_start_address()
177 wreg_crt(cirrus, 0x1b, tmp); in cirrus_set_start_address()
182 wreg_crt(cirrus, 0x1d, tmp); in cirrus_set_start_address()
215 wreg_crt(cirrus, VGA_CRTC_V_SYNC_END, 0x20); in cirrus_mode_set()
216 wreg_crt(cirrus, VGA_CRTC_H_TOTAL, htotal); in cirrus_mode_set()
217 wreg_crt(cirrus, VGA_CRTC_H_DISP, hdispend); in cirrus_mode_set()
218 wreg_crt(cirrus, VGA_CRTC_H_SYNC_START, hsyncstart); in cirrus_mode_set()
219 wreg_crt(cirrus, VGA_CRTC_H_SYNC_END, hsyncend); in cirrus_mode_set()
220 wreg_crt(cirrus, VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrus_mode_set()
221 wreg_crt(cirrus, VGA_CRTC_V_DISP_END, vdispend & 0xff); in cirrus_mode_set()
226 wreg_crt(cirrus, VGA_CRTC_MAX_SCAN, tmp); in cirrus_mode_set()
242 wreg_crt(cirrus, VGA_CRTC_OVERFLOW, tmp); in cirrus_mode_set()
257 wreg_crt(cirrus, CL_CRT1A, tmp); in cirrus_mode_set()
260 wreg_crt(cirrus, VGA_CRTC_MODE, 0x03); in cirrus_mode_set()
293 wreg_crt(cirrus, VGA_CRTC_OFFSET, tmp); in cirrus_mode_set()
299 wreg_crt(cirrus, 0x1b, tmp); in cirrus_mode_set()