Lines Matching refs:smem_len
434 (info->fix.smem_len == 0x800000 || in aty_fudge_framebuffer_len()
435 (par->bus_type == ISA && info->fix.smem_len == 0x400000))) in aty_fudge_framebuffer_len()
436 info->fix.smem_len -= GUI_RESERVE; in aty_fudge_framebuffer_len()
868 if (vyres * line_length > info->fix.smem_len) in aty_var_to_crtc()
1722 u32 videoram = (info->fix.smem_len - (PAGE_SIZE << 2)); in atyfb_release()
1844 fbtyp.fb_size = info->fix.smem_len; in atyfb_ioctl()
1956 if (((vma->vm_pgoff == 0) && (size == info->fix.smem_len)) || in atyfb_mmap()
1957 ((off == info->fix.smem_len) && (size == PAGE_SIZE))) in atyfb_mmap()
2495 info->fix.smem_len = 0x80000; in aty_init()
2498 info->fix.smem_len = 0x100000; in aty_init()
2501 info->fix.smem_len = 0x200000; in aty_init()
2504 info->fix.smem_len = 0x400000; in aty_init()
2507 info->fix.smem_len = 0x600000; in aty_init()
2510 info->fix.smem_len = 0x800000; in aty_init()
2513 info->fix.smem_len = 0x80000; in aty_init()
2517 info->fix.smem_len = 0x80000; in aty_init()
2520 info->fix.smem_len = 0x100000; in aty_init()
2523 info->fix.smem_len = 0x200000; in aty_init()
2526 info->fix.smem_len = 0x400000; in aty_init()
2529 info->fix.smem_len = 0x600000; in aty_init()
2532 info->fix.smem_len = 0x800000; in aty_init()
2535 info->fix.smem_len = 0x80000; in aty_init()
2540 info->fix.smem_len += 0x400000; in aty_init()
2544 info->fix.smem_len = vram * 1024; in aty_init()
2546 if (info->fix.smem_len <= 0x80000) in aty_init()
2548 else if (info->fix.smem_len <= 0x100000) in aty_init()
2550 else if (info->fix.smem_len <= 0x200000) in aty_init()
2552 else if (info->fix.smem_len <= 0x400000) in aty_init()
2554 else if (info->fix.smem_len <= 0x600000) in aty_init()
2582 info->fix.smem_len == 0x80000 ? 512 : (info->fix.smem_len>>20), in aty_init()
2583 info->fix.smem_len == 0x80000 ? 'K' : 'M', ramname, xtal, in aty_init()
2722 u32 videoram = (info->fix.smem_len - (PAGE_SIZE << 2)); in aty_init()
3483 info->fix.smem_len = 0x800000; in atyfb_setup_generic()
3488 info->fix.smem_len); in atyfb_setup_generic()
3591 par->mmap_map[0].size = info->fix.smem_len; in atyfb_pci_probe()
3594 par->mmap_map[1].voff = par->mmap_map[0].voff + info->fix.smem_len; in atyfb_pci_probe()