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