Lines Matching refs:mem_cntl
2036 aty_st_le32(MEM_CNTL, par->mem_cntl, par); in aty_resume_chip()
2397 par->mem_cntl = aty_ld_le32(MEM_CNTL, par); in aty_init()
2400 switch (par->mem_cntl & 0xF) { /* 0xF used instead of MEM_SIZE_ALIAS */ in aty_init()
2422 switch (par->mem_cntl & MEM_SIZE_ALIAS) { in aty_init()
2452 par->mem_cntl &= ~(gtb_memsize ? 0xF : MEM_SIZE_ALIAS); in aty_init()
2454 par->mem_cntl |= MEM_SIZE_512K; in aty_init()
2456 par->mem_cntl |= MEM_SIZE_1M; in aty_init()
2458 par->mem_cntl |= gtb_memsize ? MEM_SIZE_2M_GTB : MEM_SIZE_2M; in aty_init()
2460 par->mem_cntl |= gtb_memsize ? MEM_SIZE_4M_GTB : MEM_SIZE_4M; in aty_init()
2462 par->mem_cntl |= gtb_memsize ? MEM_SIZE_6M_GTB : MEM_SIZE_6M; in aty_init()
2464 par->mem_cntl |= gtb_memsize ? MEM_SIZE_8M_GTB : MEM_SIZE_8M; in aty_init()
2465 aty_st_le32(MEM_CNTL, par->mem_cntl, par); in aty_init()