Lines Matching refs:screen_size
581 if (mem > info->screen_size) { in s3fb_check_var()
583 mem >> 10, (unsigned int) (info->screen_size >> 10)); in s3fb_check_var()
608 u32 value, mode, hmul, offset_value, screen_size, multiplex, dbytes; in s3fb_set_par() local
624 screen_size = info->var.yres_virtual * info->fix.line_length; in s3fb_set_par()
637 screen_size = (info->var.xres_virtual * info->var.yres_virtual) / 64; in s3fb_set_par()
908 if (screen_size > info->screen_size) in s3fb_set_par()
909 screen_size = info->screen_size; in s3fb_set_par()
910 memset_io(info->screen_base, 0x00, screen_size); in s3fb_set_par()
1203 info->screen_size = 4 << 20; in s3_pci_probe()
1207 info->screen_size = 2 << 20; in s3_pci_probe()
1215 info->screen_size = 4 << 20; in s3_pci_probe()
1218 info->screen_size = 2 << 20; in s3_pci_probe()
1224 info->screen_size = 2 << 20; in s3_pci_probe()
1227 info->screen_size = 4 << 20; in s3_pci_probe()
1230 info->screen_size = 6 << 20; in s3_pci_probe()
1233 info->screen_size = 8 << 20; in s3_pci_probe()
1240 info->screen_size -= 4 << 20; in s3_pci_probe()
1243 info->screen_size -= 2 << 20; in s3_pci_probe()
1247 info->screen_size = s3_memsizes[regval >> 5] << 10; in s3_pci_probe()
1248 info->fix.smem_len = info->screen_size; in s3_pci_probe()