/openbmc/u-boot/drivers/video/ |
H A D | bcm2835.c | 18 ulong fb_base, fb_size, fb_start, fb_end; in bcm2835_video_probe() local 28 &fb_base, &fb_size, &pitch); in bcm2835_video_probe() 34 fb_end = fb_base + fb_size; in bcm2835_video_probe() 44 plat->size = fb_size; in bcm2835_video_probe()
|
H A D | video-uclass.c | 96 u16 *end = priv->fb + priv->fb_size; in video_clear() 104 u32 *end = priv->fb + priv->fb_size; in video_clear() 111 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 156 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 232 priv->fb_size = priv->line_length * priv->ysize; in video_post_probe()
|
H A D | mali_dp.c | 264 phys_addr_t fb_base, fb_size; in malidp_probe() local 295 fb_base = ofnode_get_addr_size(framebuffer, "reg", &fb_size); in malidp_probe() 298 uc_plat->size = fb_size; in malidp_probe()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | sunxvr1000.c | 25 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 D | sunxvr2500.c | 29 unsigned int fb_size; member 80 info->screen_size = sp->fb_size; in s3d_set_fbinfo() 87 info->fix.smem_len = sp->fb_size; in s3d_set_fbinfo() 183 sp->fb_size = info->fix.line_length * sp->height; in s3d_pci_register() 185 sp->fb_base = ioremap(sp->fb_base_phys, sp->fb_size); in s3d_pci_register()
|
H A D | sunxvr500.c | 47 unsigned int fb_size; member 205 info->screen_size = ep->fb_size; in e3d_set_fbinfo() 212 info->fix.smem_len = ep->fb_size; in e3d_set_fbinfo() 349 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register() 351 ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); in e3d_pci_register()
|
H A D | xen-fbfront.c | 347 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() 430 fb_info->fix.smem_len = fb_size; in xenfb_probe()
|
H A D | ep93xx-fb.c | 421 unsigned int fb_size; in ep93xxfb_alloc_videomem() local 424 fb_size = EP93XXFB_MAX_XRES * EP93XXFB_MAX_YRES * 2; in ep93xxfb_alloc_videomem() 426 virt_addr = dma_alloc_wc(info->device, fb_size, &phys_addr, GFP_KERNEL); in ep93xxfb_alloc_videomem() 443 dma_free_coherent(info->device, fb_size, virt_addr, phys_addr); in ep93xxfb_alloc_videomem() 448 info->fix.smem_len = fb_size; in ep93xxfb_alloc_videomem()
|
H A D | sbuslib.h | 24 int type, int fb_depth, unsigned long fb_size);
|
H A D | sh_mobile_lcdcfb.h | 69 unsigned long fb_size; member
|
H A D | sh_mobile_lcdcfb.c | 188 unsigned long fb_size; member 441 unsigned int nr_pages_max = ch->fb_size >> PAGE_SHIFT; in sh_mobile_lcdc_sginit() 1486 ovl->dma_handle, ovl->fb_size); in sh_mobile_lcdc_overlay_mmap() 1580 info->fix.smem_len = ovl->fb_size; in sh_mobile_lcdc_overlay_fb_init() 1962 ch->dma_handle, ch->fb_size); in sh_mobile_lcdc_mmap() 1998 ch->fb_size >> PAGE_SHIFT); in sh_mobile_lcdc_channel_fb_register() 2073 info->fix.smem_len = ch->fb_size; in sh_mobile_lcdc_channel_fb_init() 2268 dma_free_coherent(&pdev->dev, ovl->fb_size, in sh_mobile_lcdc_remove() 2283 dma_free_coherent(&pdev->dev, ch->fb_size, in sh_mobile_lcdc_remove() 2387 ovl->fb_size = ovl->cfg->max_xres * ovl->cfg->max_yres in sh_mobile_lcdc_overlay_init() [all …]
|
/openbmc/u-boot/drivers/video/meson/ |
H A D | meson_vpu.c | 25 u64 fb_size; member 68 meson_fb.fb_size = ALIGN(meson_fb.xsize * meson_fb.ysize * in meson_vpu_setup_mode() 72 gd->bd->bi_dram[0].size - meson_fb.fb_size; in meson_vpu_setup_mode() 162 meson_fb.fb_size); in meson_vpu_setup_simplefb() 174 mem_size = gd->bd->bi_dram[0].size - meson_fb.fb_size; in meson_vpu_setup_simplefb() 195 efi_add_memory_map(meson_fb.base, meson_fb.fb_size >> EFI_PAGE_SHIFT, in meson_vpu_rsv_fb()
|
/openbmc/linux/drivers/gpu/drm/hyperv/ |
H A D | hyperv_drm_drv.c | 80 hv->fb_size = (unsigned long)hv->mmio_megabytes * 1024 * 1024; in hyperv_setup_vram() 82 ret = vmbus_allocate_mmio(&hv->mem, hdev, 0, -1, hv->fb_size, 0x100000, in hyperv_setup_vram() 94 hv->vram = ioremap_cache(hv->mem->start, hv->fb_size); in hyperv_setup_vram() 105 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_setup_vram() 160 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_vmbus_probe() 178 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_vmbus_remove()
|
H A D | hyperv_drm_modeset.c | 95 if (pitch * h > hv->fb_size) in hyperv_check_size() 126 if (fb->pitches[0] * fb->height > hv->fb_size) { in hyperv_pipe_check() 128 current->comm, fb->width, fb->height, fb->pitches[0], hv->fb_size); in hyperv_pipe_check()
|
H A D | hyperv_drm.h | 28 unsigned long fb_size; member
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_gop.c | 395 u64 fb_base, fb_size; in efi_gop_register() local 414 fb_size = priv->fb_size; in efi_gop_register() 423 fb_size = lcd_get_size(&line_len); in efi_gop_register() 478 gopobj->mode.fb_size = fb_size; in efi_gop_register()
|
/openbmc/u-boot/test/dm/ |
H A D | video.c | 36 ut_asserteq(priv->fb_size, 1366 * 768 * 2); in dm_test_video_base() 62 destlen = priv->fb_size; in compress_frame_buffer() 63 dest = malloc(priv->fb_size); in compress_frame_buffer() 67 priv->fb, priv->fb_size, in compress_frame_buffer()
|
/openbmc/u-boot/drivers/video/sunxi/ |
H A D | sunxi_display.c | 62 unsigned int fb_size; member 1199 sunxi_display.fb_size = 1205 sunxi_display.fb_size += 0x1000; 1207 if (sunxi_display.fb_size > CONFIG_SUNXI_MAX_FB_SIZE) { 1209 sunxi_display.fb_size >> 10, 1221 gd->bd->bi_dram[0].size - sunxi_display.fb_size; 1226 ALIGN(sunxi_display.fb_size, EFI_PAGE_SIZE) >> 1236 memset((void *)gd->fb_base, 0, sunxi_display.fb_size); 1237 flush_cache(gd->fb_base, sunxi_display.fb_size); 1310 size = gd->bd->bi_dram[0].size - sunxi_display.fb_size;
|
/openbmc/linux/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 291 (var->bits_per_pixel >> 3) > fbi->fb_size) in mmpfb_check_var() 514 info->fix.smem_len = fbi->fb_size; in fb_info_setup() 522 info->screen_size = fbi->fb_size; in fb_info_setup() 598 fbi->fb_size = info->var.xres_virtual * info->var.yres_virtual in mmpfb_probe() 601 fbi->fb_size = MMPFB_DEFAULT_SIZE; in mmpfb_probe() 604 fbi->fb_start = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), in mmpfb_probe() 611 dev_info(fbi->dev, "fb %dk allocated\n", fbi->fb_size/1024); in mmpfb_probe() 643 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), fbi->fb_start, in mmpfb_probe()
|
H A D | mmpfb.h | 28 int fb_size; member
|
/openbmc/u-boot/include/ |
H A D | vxworks.h | 80 u32 fb_size; /* framebuffer size */ member
|
H A D | video.h | 88 int fb_size; member
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A D | bochs.c | 79 unsigned long fb_size; member 270 bochs->fb_size = size; in bochs_hw_init() 331 bochs->yres_virtual = bochs->fb_size / bochs->stride; in bochs_hw_setmode() 584 ret = drmm_vram_helper_init(dev, bochs->fb_base, bochs->fb_size); in bochs_load()
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | fb_chrdev.c | 438 unsigned long fb_size = PAGE_ALIGN(info->fix.smem_len); in get_fb_unmapped_area() local 440 if (pgoff > fb_size || len > fb_size - pgoff) in get_fb_unmapped_area()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvfw/ |
H A D | pmu.h | 18 u16 fb_size; member
|