Home
last modified time | relevance | path

Searched refs:mem_cntl (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_combios.c3024 uint32_t mem_cntl; in combios_detect_ram() local
3028 mem_cntl = RREG32(RADEON_MEM_CNTL); in combios_detect_ram()
3029 if (mem_cntl & RV100_HALF_MODE) in combios_detect_ram()
3032 mem_cntl &= ~(0xff << 8); in combios_detect_ram()
3033 mem_cntl |= (mem_addr_mapping & 0xff) << 8; in combios_detect_ram()
3034 WREG32(RADEON_MEM_CNTL, mem_cntl); in combios_detect_ram()
3060 uint32_t mem_cntl = 0; in combios_write_ram_size() local
3071 mem_cntl = RBIOS32(offset + 1); in combios_write_ram_size()
3075 WREG32(RADEON_MEM_CNTL, mem_cntl); in combios_write_ram_size()
/linux-2.6.39/drivers/video/aty/
Datyfb_base.c2118 aty_st_le32(MEM_CNTL, par->mem_cntl, par); in aty_resume_chip()
2489 par->mem_cntl = aty_ld_le32(MEM_CNTL, par); in aty_init()
2493 switch (par->mem_cntl & 0xF) { in aty_init()
2515 switch (par->mem_cntl & MEM_SIZE_ALIAS) { in aty_init()
2545 par->mem_cntl &= ~(gtb_memsize ? 0xF : MEM_SIZE_ALIAS); in aty_init()
2547 par->mem_cntl |= MEM_SIZE_512K; in aty_init()
2549 par->mem_cntl |= MEM_SIZE_1M; in aty_init()
2551 par->mem_cntl |= gtb_memsize ? MEM_SIZE_2M_GTB : MEM_SIZE_2M; in aty_init()
2553 par->mem_cntl |= gtb_memsize ? MEM_SIZE_4M_GTB : MEM_SIZE_4M; in aty_init()
2555 par->mem_cntl |= gtb_memsize ? MEM_SIZE_6M_GTB : MEM_SIZE_6M; in aty_init()
[all …]
Datyfb.h189 u32 mem_cntl; member