Home
last modified time | relevance | path

Searched refs:screen_size (Results 1 – 25 of 116) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/video/fbdev/
Ds3fb.c578 if (mem > info->screen_size) { in s3fb_check_var()
580 mem >> 10, (unsigned int) (info->screen_size >> 10)); in s3fb_check_var()
605 u32 value, mode, hmul, offset_value, screen_size, multiplex, dbytes; in s3fb_set_par() local
621 screen_size = info->var.yres_virtual * info->fix.line_length; in s3fb_set_par()
634 screen_size = (info->var.xres_virtual * info->var.yres_virtual) / 64; in s3fb_set_par()
905 memset_io(info->screen_base, 0x00, screen_size); in s3fb_set_par()
1198 info->screen_size = 4 << 20; in s3_pci_probe()
1202 info->screen_size = 2 << 20; in s3_pci_probe()
1210 info->screen_size = 4 << 20; in s3_pci_probe()
1213 info->screen_size = 2 << 20; in s3_pci_probe()
[all …]
Dvt8623fb.c345 if (mem > info->screen_size) in vt8623fb_check_var()
348 mem >> 10, (unsigned int) (info->screen_size >> 10)); in vt8623fb_check_var()
377 u32 mode, offset_value, fetch_value, screen_size; in vt8623fb_set_par() local
398 screen_size = info->var.yres_virtual * info->fix.line_length; in vt8623fb_set_par()
412 screen_size = (info->var.xres_virtual * info->var.yres_virtual) / 64; in vt8623fb_set_par()
507 memset_io(info->screen_base, 0x00, screen_size); in vt8623fb_set_par()
729 info->screen_size = memsize1 << 20; in vt8623_pci_probe()
732 info->screen_size = 16 << 20; in vt8623_pci_probe()
735 info->fix.smem_len = info->screen_size; in vt8623_pci_probe()
Dsh7760fb.c362 dma_free_coherent(info->dev, info->screen_size, in sh7760fb_free_mem()
367 info->screen_size = 0; in sh7760fb_free_mem()
424 info->screen_size = vram; in sh7760fb_alloc_mem()
426 info->fix.smem_len = info->screen_size; in sh7760fb_alloc_mem()
536 (unsigned long)(par->fbdma + info->screen_size - 1), in sh7760fb_probe()
537 info->screen_size >> 10); in sh7760fb_probe()
Dcobalt_lcdfb.c296 info->screen_size = resource_size(res); in cobalt_lcdfb_probe()
298 info->screen_size); in cobalt_lcdfb_probe()
307 info->fix.smem_len = info->screen_size; in cobalt_lcdfb_probe()
Darkfb.c591 if (mem > info->screen_size) in arkfb_check_var()
594 mem >> 10, (unsigned int) (info->screen_size >> 10)); in arkfb_check_var()
617 u32 value, mode, hmul, hdiv, offset_value, screen_size; in arkfb_set_par() local
633 screen_size = info->var.yres_virtual * info->fix.line_length; in arkfb_set_par()
646 screen_size = (info->var.xres_virtual * info->var.yres_virtual) / 64; in arkfb_set_par()
792 memset_io(info->screen_base, 0x00, screen_size); in arkfb_set_par()
1008 info->screen_size = (1 << (regval >> 6)) << 20; in ark_pci_probe()
1009 info->fix.smem_len = info->screen_size; in ark_pci_probe()
Di740fb.c489 if (mem > info->screen_size) { in i740fb_decode_var()
491 mem >> 10, info->screen_size >> 10); in i740fb_decode_var()
746 memset(info->screen_base, 0, info->screen_size); in i740fb_set_par()
1055 info->screen_size = i740inb(par, XRX + 1) * 1024 * 1024; in i740fb_probe()
1062 pci_name(dev), info->screen_size >> 10, in i740fb_probe()
1069 info->fix.smem_len = info->screen_size; in i740fb_probe()
Dau1200fb.c1024 fbi->screen_size = fbi->fix.line_length * fbi->var.yres_virtual; in au1200fb_update_fbinfo()
1041 int screen_size, plane; in au1200fb_fb_check_var() local
1056 screen_size = var->xres_virtual * var->yres_virtual; in au1200fb_fb_check_var()
1057 if (var->bits_per_pixel > 8) screen_size *= (var->bits_per_pixel / 8); in au1200fb_fb_check_var()
1058 else screen_size /= (8/var->bits_per_pixel); in au1200fb_fb_check_var()
1060 if (fbdev->fb_len < screen_size) in au1200fb_fb_check_var()
/kernel/linux/linux-4.19/drivers/video/fbdev/
Ds3fb.c578 if (mem > info->screen_size) { in s3fb_check_var()
580 mem >> 10, (unsigned int) (info->screen_size >> 10)); in s3fb_check_var()
605 u32 value, mode, hmul, offset_value, screen_size, multiplex, dbytes; in s3fb_set_par() local
621 screen_size = info->var.yres_virtual * info->fix.line_length; in s3fb_set_par()
634 screen_size = (info->var.xres_virtual * info->var.yres_virtual) / 64; in s3fb_set_par()
905 memset_io(info->screen_base, 0x00, screen_size); in s3fb_set_par()
1200 info->screen_size = 4 << 20; in s3_pci_probe()
1204 info->screen_size = 2 << 20; in s3_pci_probe()
1212 info->screen_size = 4 << 20; in s3_pci_probe()
1215 info->screen_size = 2 << 20; in s3_pci_probe()
[all …]
Dvt8623fb.c345 if (mem > info->screen_size) in vt8623fb_check_var()
348 mem >> 10, (unsigned int) (info->screen_size >> 10)); in vt8623fb_check_var()
377 u32 mode, offset_value, fetch_value, screen_size; in vt8623fb_set_par() local
398 screen_size = info->var.yres_virtual * info->fix.line_length; in vt8623fb_set_par()
412 screen_size = (info->var.xres_virtual * info->var.yres_virtual) / 64; in vt8623fb_set_par()
507 memset_io(info->screen_base, 0x00, screen_size); in vt8623fb_set_par()
731 info->screen_size = memsize1 << 20; in vt8623_pci_probe()
734 info->screen_size = 16 << 20; in vt8623_pci_probe()
737 info->fix.smem_len = info->screen_size; in vt8623_pci_probe()
Dsh7760fb.c365 dma_free_coherent(info->dev, info->screen_size, in sh7760fb_free_mem()
370 info->screen_size = 0; in sh7760fb_free_mem()
427 info->screen_size = vram; in sh7760fb_alloc_mem()
429 info->fix.smem_len = info->screen_size; in sh7760fb_alloc_mem()
539 (unsigned long)(par->fbdma + info->screen_size - 1), in sh7760fb_probe()
540 info->screen_size >> 10); in sh7760fb_probe()
Dcobalt_lcdfb.c309 info->screen_size = resource_size(res); in cobalt_lcdfb_probe()
311 info->screen_size); in cobalt_lcdfb_probe()
320 info->fix.smem_len = info->screen_size; in cobalt_lcdfb_probe()
Darkfb.c591 if (mem > info->screen_size) in arkfb_check_var()
594 mem >> 10, (unsigned int) (info->screen_size >> 10)); in arkfb_check_var()
617 u32 value, mode, hmul, hdiv, offset_value, screen_size; in arkfb_set_par() local
633 screen_size = info->var.yres_virtual * info->fix.line_length; in arkfb_set_par()
646 screen_size = (info->var.xres_virtual * info->var.yres_virtual) / 64; in arkfb_set_par()
792 memset_io(info->screen_base, 0x00, screen_size); in arkfb_set_par()
1010 info->screen_size = (1 << (regval >> 6)) << 20; in ark_pci_probe()
1011 info->fix.smem_len = info->screen_size; in ark_pci_probe()
Di740fb.c488 if (mem > info->screen_size) { in i740fb_decode_var()
490 mem >> 10, info->screen_size >> 10); in i740fb_decode_var()
742 memset(info->screen_base, 0, info->screen_size); in i740fb_set_par()
1053 info->screen_size = i740inb(par, XRX + 1) * 1024 * 1024; in i740fb_probe()
1060 pci_name(dev), info->screen_size >> 10, in i740fb_probe()
1067 info->fix.smem_len = info->screen_size; in i740fb_probe()
Dau1200fb.c1023 fbi->screen_size = fbi->fix.line_length * fbi->var.yres_virtual; in au1200fb_update_fbinfo()
1040 int screen_size, plane; in au1200fb_fb_check_var() local
1055 screen_size = var->xres_virtual * var->yres_virtual; in au1200fb_fb_check_var()
1056 if (var->bits_per_pixel > 8) screen_size *= (var->bits_per_pixel / 8); in au1200fb_fb_check_var()
1057 else screen_size /= (8/var->bits_per_pixel); in au1200fb_fb_check_var()
1059 if (fbdev->fb_len < screen_size) in au1200fb_fb_check_var()
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfb_sys_fops.c27 total_size = info->screen_size; in fb_sys_read()
67 total_size = info->screen_size; in fb_sys_write()
/kernel/linux/linux-4.19/drivers/video/fbdev/core/
Dfb_sys_fops.c27 total_size = info->screen_size; in fb_sys_read()
67 total_size = info->screen_size; in fb_sys_write()
/kernel/linux/linux-5.10/samples/vfio-mdev/
Dmdpy-fb.c155 info->screen_size = info->fix.smem_len; in mdpy_fb_probe()
157 info->screen_size); in mdpy_fb_probe()
/kernel/linux/linux-4.19/samples/vfio-mdev/
Dmdpy-fb.c150 info->screen_size = info->fix.smem_len; in mdpy_fb_probe()
152 info->screen_size); in mdpy_fb_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_fbdev.c251 info->screen_size = vma->node.size; in intelfb_create()
260 memset_io(info->screen_base, 0, info->screen_size); in intelfb_create()
599 memset_io(info->screen_base, 0, info->screen_size); in intel_fbdev_set_suspend()
/kernel/linux/linux-5.10/drivers/auxdisplay/
Dcfag12864bfb.c79 info->screen_size = CFAG12864B_SIZE; in cfag12864bfb_probe()
/kernel/linux/linux-4.19/drivers/auxdisplay/
Dcfag12864bfb.c78 info->screen_size = CFAG12864B_SIZE; in cfag12864bfb_probe()
/kernel/linux/linux-4.19/drivers/gpu/drm/qxl/
Dqxl_fb.c282 info->screen_size = gobj->size; in qxlfb_create()
306 …_INFO("fb mappable at 0x%lX, size %lu\n", info->fix.smem_start, (unsigned long)info->screen_size); in qxlfb_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
Darmada_fbdev.c84 info->screen_size = obj->obj.size; in armada_fbdev_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c95 fbi->screen_size = rk_obj->base.size; in rockchip_drm_fbdev_create()
/kernel/linux/linux-4.19/drivers/gpu/drm/i915/
Dintel_fbdev.c256 info->screen_size = vma->node.size; in intelfb_create()
269 memset_io(info->screen_base, 0, info->screen_size); in intelfb_create()
819 memset_io(info->screen_base, 0, info->screen_size); in intel_fbdev_set_suspend()

12345