Home
last modified time | relevance | path

Searched refs:total_vram (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/drivers/video/aty/
Datyfb_base.c678 if (vxres*vyres*bpp/8 > info->total_vram) in aty_var_to_crtc()
1189 u32 vram = (fb->total_vram - (PAGE_SIZE << 2)); in atyfb_release()
1214 fix->smem_len = (u32)info->total_vram; in encode_fix()
1556 fbtyp.fb_size = info->total_vram; in atyfb_ioctl()
1598 if (((vma->vm_pgoff == 0) && (size == fb->total_vram)) || in atyfb_mmap()
1599 ((off == fb->total_vram) && (size == PAGE_SIZE))) in atyfb_mmap()
2128 info->total_vram = 0x80000; in aty_init()
2131 info->total_vram = 0x100000; in aty_init()
2134 info->total_vram = 0x200000; in aty_init()
2137 info->total_vram = 0x400000; in aty_init()
[all …]
Dmach64_ct.c301 if (info->total_vram<=1*1024*1024) { in aty_init_pll_ct()
310 if (info->total_vram<=1*1024*1024) { in aty_init_pll_ct()
318 if (info->total_vram<=1*1024*1024) { in aty_init_pll_ct()
Dmach64_cursor.c249 fb->total_vram -= PAGE_SIZE; in aty_init_cursor()
250 cursor->offset = fb->total_vram; in aty_init_cursor()
Dmach64_gx.c244 if (info->total_vram < MEM_SIZE_1M) in aty_set_dac_ATI68860_B()
246 else if (info->total_vram == MEM_SIZE_1M) in aty_set_dac_ATI68860_B()
Datyfb.h147 u32 total_vram; member
/linux-2.4.37.9/drivers/video/
Dplatinumfb.c85 unsigned long total_vram; member
509 out_be32(&platinum_regs->reg[26+32].r, (info->total_vram == 0x100000 ? in platinum_set_par()
516 out_be32(&platinum_regs->reg[19].r, (info->total_vram == 0x100000 ? in platinum_set_par()
519 out_be32(&platinum_regs->reg[20].r, (info->total_vram == 0x100000 ? 0x11 : 0x1011)); in platinum_set_par()
527 STORE_D2(0, (info->total_vram == 0x100000 ? in platinum_set_par()
588 > info->total_vram) in init_platinum()
709 info->total_vram = (bank0 + bank1 + bank2 + bank3) * 0x100000; in platinum_of_init()
710 …printk(KERN_INFO "Total VRAM = %dMB %d%d%d%d\n", (int) (info->total_vram / 1024 / 1024), bank3, ba… in platinum_of_init()
794 if (platinum_vram_reqd(info, par->vmode, par->cmode) > info->total_vram) { in platinum_var_to_par()
827 fix->smem_len = (u32) info->total_vram; in platinum_encode_fix()
Digafb.c82 u32 total_vram; member
212 fix->smem_len = fb->total_vram; in igafb_get_fix()
542 info->total_vram = 0x100000; in iga_init()
545 info->total_vram = 0x200000; in iga_init()
549 info->total_vram = 0x400000; in iga_init()
586 info->frame_buffer_phys, info->total_vram >> 20); in iga_init()
752 info->mmap_map[0].size = info->total_vram & PAGE_MASK; in igafb_init()
Diga.h12 unsigned int total_vram; member
Dvalkyriefb.c122 unsigned long total_vram; member
483 || valkyrie_vram_reqd(default_vmode, default_cmode) > p->total_vram) in init_valkyrie()
610 p->total_vram = 0x100000; in valkyriefb_init()
612 p->frame_buffer = __ioremap(frame_buffer_phys, p->total_vram, flags); in valkyriefb_init()
720 if (valkyrie_vram_reqd(par->vmode, par->cmode) > p->total_vram) { in valkyrie_var_to_par()
757 fix->smem_len = p->total_vram; in valkyrie_par_to_fix()
Dcontrolfb.c122 unsigned long total_vram; member
622 full = p->total_vram == 0x400000; in init_control()
663 vyres = (p->total_vram - CTRLFB_OFF) / (var.xres << cmode); in init_control()
849 p->total_vram = (bank1 + bank2) * 0x200000; in find_vram_size()
922 if (!p->total_vram) in control_of_init()
1028 if (p->total_vram > 0x200000) { in control_var_to_par()
1041 if (p->total_vram > 0x200000) { in control_var_to_par()
1053 if (p->total_vram > 0x200000) { in control_var_to_par()
1086 if (par->pitch * par->vyres + CTRLFB_OFF > p->total_vram) in control_var_to_par()
1235 fix->smem_len = p->total_vram - CTRLFB_OFF; in control_par_to_fix()
Dplatinumfb.h317 if ((cmode) == CMODE_16 && (ll) == 1696 && info->total_vram == 0x100000) \
Dimsttfb.c365 __u32 total_vram; member
756 switch (p->total_vram) { in set_imstt_regvals()
1429 __u32 vram = (p->total_vram - (PAGE_SIZE << 2)); in set_disp()
1467 if ((var->xres * var->yres) * (var->bits_per_pixel >> 3) > p->total_vram in imsttfb_set_var()
1468 || (var->xres_virtual * var->yres_virtual) * (var->bits_per_pixel >> 3) > p->total_vram) in imsttfb_set_var()
1778 p->total_vram = (tmp & 0x0004) ? 0x400000 : 0x200000; in init_imstt()
1780 p->total_vram = 0x800000; in init_imstt()
1783 end = (__u32 *)(p->frame_buffer + p->total_vram); in init_imstt()
1838 if ((p->disp.var.xres * p->disp.var.yres) * (p->disp.var.bits_per_pixel >> 3) > p->total_vram in init_imstt()
1847 p->fix.smem_len = p->total_vram; in init_imstt()
[all …]