Lines Matching defs:gen_cntl
662 crtc->gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par);
685 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl &
702 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl & ~CRTC_EN, par);
710 (crtc->gen_cntl & CRTC_CSYNC_EN) ? 'P' : 'N');
718 DPRINTK("CRTC_GEN_CNTL: %x\n", crtc->gen_cntl);
727 aty_st_le32(CRTC_GEN_CNTL, crtc->gen_cntl, par);
1018 /* crtc->gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par) & CRTC_PRESERVED_MASK; */
1019 crtc->gen_cntl = CRTC_EXT_DISP_EN | CRTC_EN | pix_width | c_sync;
1020 crtc->gen_cntl |= CRTC_VGA_LINEAR;
1024 crtc->gen_cntl |= CRTC_DBL_SCAN_EN;
1027 crtc->gen_cntl |= CRTC_INTERLACE_EN;
1033 crtc->gen_cntl &= ~(CRTC2_EN | CRTC2_PIX_WIDTH);
1140 crtc->gen_cntl |= (aty_ld_le32(CRTC_GEN_CNTL, par) & CRTC_FIFO_LWM);
1169 c_sync = crtc->gen_cntl & CRTC_CSYNC_EN ? 1 : 0;
1170 pix_width = crtc->gen_cntl & CRTC_PIX_WIDTH_MASK;
1171 double_scan = crtc->gen_cntl & CRTC_DBL_SCAN_EN;
1172 interlace = crtc->gen_cntl & CRTC_INTERLACE_EN;
1372 if (par->crtc.gen_cntl & CRTC_INTERLACE_EN)
1374 if (par->crtc.gen_cntl & CRTC_DBL_SCAN_EN)
1468 if (!(par->crtc.gen_cntl & CRTC_EXT_DISP_EN))
1469 aty_st_le32(CRTC_GEN_CNTL, par->crtc.gen_cntl | CRTC_EXT_DISP_EN, par);
1741 if (par->crtc.gen_cntl & CRTC_DBL_SCAN_EN)
2822 u32 gen_cntl;
2836 gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par);
2837 gen_cntl &= ~0x400004c;
2842 gen_cntl |= 0x4000040;
2845 gen_cntl |= 0x4000048;
2848 gen_cntl |= 0x4000044;
2851 gen_cntl |= 0x400004c;
2854 aty_st_le32(CRTC_GEN_CNTL, gen_cntl, par);
3098 crtc.gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par);