Lines Matching refs:gen_cntl

686 	crtc->gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par);  in aty_get_crtc()
709 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl & in aty_set_crtc()
726 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl & ~CRTC_EN, par); in aty_set_crtc()
734 (crtc->gen_cntl & CRTC_CSYNC_EN) ? 'P' : 'N'); in aty_set_crtc()
742 DPRINTK("CRTC_GEN_CNTL: %x\n", crtc->gen_cntl); in aty_set_crtc()
751 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl, par); in aty_set_crtc()
1037 crtc->gen_cntl = CRTC_EXT_DISP_EN | CRTC_EN | pix_width | c_sync; in aty_var_to_crtc()
1038 crtc->gen_cntl |= CRTC_VGA_LINEAR; in aty_var_to_crtc()
1042 crtc->gen_cntl |= CRTC_DBL_SCAN_EN; in aty_var_to_crtc()
1045 crtc->gen_cntl |= CRTC_INTERLACE_EN; in aty_var_to_crtc()
1051 crtc->gen_cntl &= ~(CRTC2_EN | CRTC2_PIX_WIDTH); in aty_var_to_crtc()
1158 crtc->gen_cntl |= (aty_ld_le32(CRTC_GEN_CNTL, par) & CRTC_FIFO_LWM); in aty_var_to_crtc()
1187 c_sync = crtc->gen_cntl & CRTC_CSYNC_EN ? 1 : 0; in aty_crtc_to_var()
1188 pix_width = crtc->gen_cntl & CRTC_PIX_WIDTH_MASK; in aty_crtc_to_var()
1189 double_scan = crtc->gen_cntl & CRTC_DBL_SCAN_EN; in aty_crtc_to_var()
1190 interlace = crtc->gen_cntl & CRTC_INTERLACE_EN; in aty_crtc_to_var()
1377 if (par->crtc.gen_cntl & CRTC_INTERLACE_EN) in atyfb_set_par()
1379 if (par->crtc.gen_cntl & CRTC_DBL_SCAN_EN) in atyfb_set_par()
1745 if (par->crtc.gen_cntl & CRTC_DBL_SCAN_EN) in atyfb_pan_display()
2807 u32 gen_cntl; in atyfb_blank() local
2821 gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par); in atyfb_blank()
2822 gen_cntl &= ~0x400004c; in atyfb_blank()
2827 gen_cntl |= 0x4000040; in atyfb_blank()
2830 gen_cntl |= 0x4000048; in atyfb_blank()
2833 gen_cntl |= 0x4000044; in atyfb_blank()
2836 gen_cntl |= 0x400004c; in atyfb_blank()
2839 aty_st_le32(CRTC_GEN_CNTL, gen_cntl, par); in atyfb_blank()
3082 crtc.gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par); in atyfb_setup_sparc()