Lines Matching refs:wreg_crt
98 static void wreg_crt(struct cirrus_device *cirrus, u8 reg, u8 val) in wreg_crt() function
165 wreg_crt(cirrus, 0x0c, (u8)((addr >> 8) & 0xff)); in cirrus_set_start_address()
166 wreg_crt(cirrus, 0x0d, (u8)(addr & 0xff)); in cirrus_set_start_address()
172 wreg_crt(cirrus, 0x1b, tmp); in cirrus_set_start_address()
177 wreg_crt(cirrus, 0x1d, tmp); in cirrus_set_start_address()
210 wreg_crt(cirrus, VGA_CRTC_V_SYNC_END, 0x20); in cirrus_mode_set()
211 wreg_crt(cirrus, VGA_CRTC_H_TOTAL, htotal); in cirrus_mode_set()
212 wreg_crt(cirrus, VGA_CRTC_H_DISP, hdispend); in cirrus_mode_set()
213 wreg_crt(cirrus, VGA_CRTC_H_SYNC_START, hsyncstart); in cirrus_mode_set()
214 wreg_crt(cirrus, VGA_CRTC_H_SYNC_END, hsyncend); in cirrus_mode_set()
215 wreg_crt(cirrus, VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrus_mode_set()
216 wreg_crt(cirrus, VGA_CRTC_V_DISP_END, vdispend & 0xff); in cirrus_mode_set()
221 wreg_crt(cirrus, VGA_CRTC_MAX_SCAN, tmp); in cirrus_mode_set()
237 wreg_crt(cirrus, VGA_CRTC_OVERFLOW, tmp); in cirrus_mode_set()
252 wreg_crt(cirrus, CL_CRT1A, tmp); in cirrus_mode_set()
255 wreg_crt(cirrus, VGA_CRTC_MODE, 0x03); in cirrus_mode_set()
288 wreg_crt(cirrus, VGA_CRTC_OFFSET, tmp); in cirrus_mode_set()
294 wreg_crt(cirrus, 0x1b, tmp); in cirrus_mode_set()