Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/tests/
H A Ddrm_panic_test.c89 int fb_size; in drm_test_panic_screen_user_map() local
93 fb_size = params->width * params->height * sb->format->cpp[0]; in drm_test_panic_screen_user_map()
95 fb = vmalloc(fb_size); in drm_test_panic_screen_user_map()
98 memset(fb, 0xa5, fb_size); in drm_test_panic_screen_user_map()
107 for (i = 0; i < fb_size; i++) in drm_test_panic_screen_user_map()
122 int fb_size, p, i, npages; in drm_test_panic_screen_user_page() local
127 fb_size = params->width * params->height * sb->format->cpp[0]; in drm_test_panic_screen_user_page()
128 npages = DIV_ROUND_UP(fb_size, PAGE_SIZE); in drm_test_panic_screen_user_page()
152 int bytes_in_page = (p == npages - 1) ? fb_size - p * PAGE_SIZE : PAGE_SIZE; in drm_test_panic_screen_user_page()
H A Ddrm_framebuffer_test.c449 const unsigned int fb_size; member
464 .expect = -ENOSPC, .src_x = 1, .fb_size = UINT_MAX,
467 .expect = -ENOSPC, .src_y = 1, .fb_size = UINT_MAX,
470 .expect = -ENOSPC, .dsrc_w = 1, .fb_size = UINT_MAX - 1,
473 .expect = -ENOSPC, .dsrc_h = 1, .fb_size = UINT_MAX - 1,
482 const uint32_t src_w = (params->fb_size << 16) + params->dsrc_w; in drm_test_framebuffer_check_src_coords()
483 const uint32_t src_h = (params->fb_size << 16) + params->dsrc_h; in drm_test_framebuffer_check_src_coords()
485 .width = params->fb_size, in drm_test_framebuffer_check_src_coords()
486 .height = params->fb_size in drm_test_framebuffer_check_src_coords()
/linux/drivers/video/fbdev/
H A Dsunxvr1000.c25 unsigned int fb_size; member
76 info->screen_size = gp->fb_size; in gfb_set_fbinfo()
83 info->fix.smem_len = gp->fb_size; in gfb_set_fbinfo()
138 gp->fb_size = info->fix.line_length * gp->height; in gfb_probe()
141 gp->fb_size, "gfb fb"); in gfb_probe()
165 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_probe()
H A Dsunxvr500.c47 unsigned int fb_size; member
207 info->screen_size = ep->fb_size; in e3d_set_fbinfo()
214 info->fix.smem_len = ep->fb_size; in e3d_set_fbinfo()
351 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
353 ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); in e3d_pci_register()
H A Dxen-fbfront.c347 int fb_size; in xenfb_probe() local
369 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
371 > fb_size) { in xenfb_probe()
377 fb_size = XENFB_DEFAULT_FB_LEN; in xenfb_probe()
387 info->fb = vzalloc(fb_size); in xenfb_probe()
391 info->nr_pages = (fb_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in xenfb_probe()
431 fb_info->fix.smem_len = fb_size; in xenfb_probe()
H A Dep93xx-fb.c422 unsigned int fb_size; in ep93xxfb_alloc_videomem() local
425 fb_size = EP93XXFB_MAX_XRES * EP93XXFB_MAX_YRES * 2; in ep93xxfb_alloc_videomem()
427 virt_addr = dma_alloc_wc(info->device, fb_size, &phys_addr, GFP_KERNEL); in ep93xxfb_alloc_videomem()
444 dma_free_coherent(info->device, fb_size, virt_addr, phys_addr); in ep93xxfb_alloc_videomem()
449 info->fix.smem_len = fb_size; in ep93xxfb_alloc_videomem()
H A Dsbuslib.h28 int type, int fb_depth, unsigned long fb_size);
H A Dsh_mobile_lcdcfb.h69 unsigned long fb_size; member
/linux/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.h28 int fb_size; member
/linux/drivers/gpu/drm/nouveau/include/nvfw/
H A Dpmu.h18 u16 fb_size; member
/linux/arch/sparc/include/uapi/asm/
H A Dfbio.h56 int fb_size; /* fb size in bytes */ member
/linux/arch/m68k/include/asm/
H A Dfbio.h56 int fb_size; /* fb size in bytes */ member