CRTC_GEN_CNTL
save->CRTC_GEN_CNTL = RREG32(R_000050_CRTC_GEN_CNTL);
(C_000050_CRTC_CUR_EN & save->CRTC_GEN_CNTL) |
WREG32(R_000050_CRTC_GEN_CNTL, save->CRTC_GEN_CNTL);
u32 CRTC_GEN_CNTL;
aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl);
crtc->gen_cntl |= (aty_ld_le32(CRTC_GEN_CNTL, par) & CRTC_FIFO_LWM);
aty_ld_le32(CRTC_GEN_CNTL, par),
gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par);
aty_st_le32(CRTC_GEN_CNTL, gen_cntl, par);
crtc.gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par);
crtc->gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par);
aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl &
aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl & ~CRTC_EN, par);
aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl, par);
crtc_gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par);
aty_st_le32(CRTC_GEN_CNTL, crtc_gen_cntl | CRTC_EXT_DISP_EN, par);
aty_st_le32(CRTC_GEN_CNTL, crtc_gen_cntl, par);
old_crtc_ext_disp = aty_ld_8(CRTC_GEN_CNTL + 3, par);
aty_st_8(CRTC_GEN_CNTL + 3,
aty_st_8(CRTC_GEN_CNTL + 3, old_crtc_ext_disp, par);
old_crtc_ext_disp = aty_ld_8(CRTC_GEN_CNTL + 3, par);
aty_st_8(CRTC_GEN_CNTL + 3,
aty_st_8(CRTC_GEN_CNTL + 3, old_crtc_ext_disp, par);
old_crtc_ext_disp = aty_ld_8(CRTC_GEN_CNTL + 3, par);
aty_st_8(CRTC_GEN_CNTL + 3,
aty_st_8(CRTC_GEN_CNTL + 3, old_crtc_ext_disp, par);
old_crtc_ext_disp = aty_ld_8(CRTC_GEN_CNTL + 3, par);
aty_st_8(CRTC_GEN_CNTL + 3,
aty_st_8(CRTC_GEN_CNTL + 3, old_crtc_ext_disp, par);
save->crtc_gen_cntl = INREG(CRTC_GEN_CNTL);
OUTREG(CRTC_GEN_CNTL, mode->crtc_gen_cntl);
save_crtc_gen_cntl = INREG(CRTC_GEN_CNTL);
OUTREG(CRTC_GEN_CNTL, save_crtc_gen_cntl | CRTC_DISP_REQ_EN_B);
OUTREG(CRTC_GEN_CNTL, save_crtc_gen_cntl);
(void)INREG(CRTC_GEN_CNTL);
OUTREG( CRTC_GEN_CNTL, (INREG( CRTC_GEN_CNTL) & ~CRTC_GEN_CNTL__CRTC_EN)
crtcGenCntl = INREG( CRTC_GEN_CNTL);
OUTREG( CRTC_GEN_CNTL, (crtcGenCntl | CRTC_GEN_CNTL__CRTC_DISP_REQ_EN_B) );
OUTREG( CRTC_GEN_CNTL, crtcGenCntl);
OUTREG(CRTC_GEN_CNTL, INREG(CRTC_GEN_CNTL)
OUTREG(CRTC_GEN_CNTL, 0x04000000);
OUTREG(CRTC_GEN_CNTL, INREG(CRTC_GEN_CNTL));
OUTREG8(CRTC_GEN_CNTL+1, 6);
OUTREG8(CRTC_GEN_CNTL+3, 1);
cgc = INREG(CRTC_GEN_CNTL);
OUTREG(CRTC_GEN_CNTL, cgc);
cgc = INREG(CRTC_GEN_CNTL);
rinfo->save_regs[17] = (INREG(CRTC_GEN_CNTL) & 0xfdffffff) | 0x04000000;
OUTREG(CRTC_GEN_CNTL, rinfo->save_regs[17]);