Home
last modified time | relevance | path

Searched refs:fb_base (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v5.4/drivers/firmware/efi/libstub/
Dgop.c90 unsigned long *size, u64 *fb_base) in __gop_query32() argument
106 *fb_base = mode->frame_buffer_base; in __gop_query32()
119 u64 fb_base; in setup_gop32() local
164 fb_base = current_fb_base; in setup_gop32()
185 si->lfb_base = fb_base; in setup_gop32()
187 ext_lfb_base = (u64)(unsigned long)fb_base >> 32; in setup_gop32()
208 unsigned long *size, u64 *fb_base) in __gop_query64() argument
224 *fb_base = mode->frame_buffer_base; in __gop_query64()
237 u64 fb_base; in setup_gop64() local
282 fb_base = current_fb_base; in setup_gop64()
[all …]
/Linux-v5.4/drivers/video/fbdev/
Dsunxvr1000.c16 char __iomem *fb_base; member
77 info->screen_base = gp->fb_base; in gfb_set_fbinfo()
142 gp->fb_base = of_ioremap(&op->resource[6], 0, in gfb_probe()
144 if (!gp->fb_base) { in gfb_probe()
167 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_probe()
Dsunxvr2500.c20 char __iomem *fb_base; member
81 info->screen_base = sp->fb_base; in s3d_set_fbinfo()
183 sp->fb_base = ioremap(sp->fb_base_phys, sp->fb_size); in s3d_pci_register()
184 if (!sp->fb_base) { in s3d_pci_register()
207 iounmap(sp->fb_base); in s3d_pci_register()
Dsunxvr500.c33 char __iomem *fb_base; member
204 info->screen_base = ep->fb_base; in e3d_set_fbinfo()
347 ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); in e3d_pci_register()
348 if (!ep->fb_base) { in e3d_pci_register()
374 iounmap(ep->fb_base); in e3d_pci_register()
Dtgafb.c628 void __iomem *fb_base; local
653 fb_base = par->tga_fb_base;
717 __raw_writel(mask << shift, fb_base + pos);
746 __raw_writel(mask, fb_base + pos + j*bincr);
766 __raw_writel(mask, fb_base + pos);
795 __raw_writel(mask, fb_base + pos + j*bincr);
816 __raw_writel(mask, fb_base + pos);
840 void __iomem *regs_base, *fb_base; local
859 fb_base = par->tga_fb_base;
868 __raw_writel(color, fb_base + pos + j*4);
[all …]
/Linux-v5.4/drivers/firmware/efi/
Dearlycon.c18 static u64 fb_base; variable
23 return early_memremap_prot(fb_base + start, len, pgprot_val(fb_prot)); in efi_earlycon_map()
175 fb_base = screen_info.lfb_base; in efi_earlycon_setup()
177 fb_base |= (u64)screen_info.ext_lfb_base << 32; in efi_earlycon_setup()
/Linux-v5.4/drivers/gpu/drm/savage/
Dsavage_bci.c575 unsigned long mmio_base, fb_base, fb_size, aperture_base; in savage_driver_firstopen() local
585 fb_base = pci_resource_start(dev->pdev, 0); in savage_driver_firstopen()
587 mmio_base = fb_base + SAVAGE_FB_SIZE_S3; in savage_driver_firstopen()
589 aperture_base = fb_base + SAVAGE_APERTURE_OFFSET; in savage_driver_firstopen()
595 arch_phys_wc_add(fb_base, 0x01000000); in savage_driver_firstopen()
597 arch_phys_wc_add(fb_base + 0x02000000, in savage_driver_firstopen()
600 arch_phys_wc_add(fb_base + 0x04000000, in savage_driver_firstopen()
611 fb_base = pci_resource_start(dev->pdev, 1); in savage_driver_firstopen()
614 aperture_base = fb_base + SAVAGE_APERTURE_OFFSET; in savage_driver_firstopen()
620 arch_phys_wc_add(fb_base, in savage_driver_firstopen()
[all …]
/Linux-v5.4/drivers/video/fbdev/geode/
Ddisplay_gx1.c54 unsigned dram_size = 0, fb_base; in gx1_frame_buffer_size() local
70 fb_base = (readl(mc_regs + MC_GBASE_ADD) & MC_GADD_GBADD_MASK) << 19; in gx1_frame_buffer_size()
74 return dram_size - fb_base; in gx1_frame_buffer_size()
/Linux-v5.4/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c427 fbi->screen_base = par->fb_base; in mb862xxfb_init_fbinfo()
717 par->fb_base = ioremap(par->fb_base_phys, par->mapped_vram); in of_platform_mb862xx_probe()
718 if (par->fb_base == NULL) { in of_platform_mb862xx_probe()
772 iounmap(par->fb_base); in of_platform_mb862xx_probe()
808 iounmap(par->fb_base); in of_platform_mb862xx_remove()
857 writel(1, par->fb_base + MB862XX_MMIO_BASE + GC_RSW); in coralp_init()
1050 par->fb_base = ioremap(par->fb_base_phys, par->mapped_vram); in mb862xx_pci_probe()
1051 if (par->fb_base == NULL) { in mb862xx_pci_probe()
1116 iounmap(par->fb_base); in mb862xx_pci_probe()
1156 iounmap(par->fb_base); in mb862xx_pci_remove()
Dmb862xxfb.h58 void __iomem *fb_base; /* remapped framebuffer */ member
/Linux-v5.4/drivers/gpu/drm/bochs/
Dbochs_mm.c13 vmm = drm_vram_helper_alloc_mm(bochs->dev, bochs->fb_base, in bochs_mm_init()
Dbochs_kms.c193 bochs->dev->mode_config.fb_base = bochs->fb_base; in bochs_kms_init()
Dbochs.h58 unsigned long fb_base; member
/Linux-v5.4/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_drv.c98 priv->dev->mode_config.fb_base = priv->fb_base; in hibmc_kms_init()
231 priv->fb_base = addr; in hibmc_hw_map()
Dhibmc_drm_drv.h38 unsigned long fb_base; member
/Linux-v5.4/drivers/gpu/drm/radeon/
Datom.c256 val = gctx->fb_base; in atom_get_src_int()
282 if ((gctx->fb_base + (idx * 4)) > gctx->scratch_size_bytes) { in atom_get_src_int()
284 gctx->fb_base + (idx * 4), gctx->scratch_size_bytes); in atom_get_src_int()
287 val = gctx->scratch[(gctx->fb_base / 4) + idx]; in atom_get_src_int()
523 gctx->fb_base = val; in atom_put_dst()
538 if ((gctx->fb_base + (idx * 4)) > gctx->scratch_size_bytes) { in atom_put_dst()
540 gctx->fb_base + (idx * 4), gctx->scratch_size_bytes); in atom_put_dst()
542 gctx->scratch[(gctx->fb_base / 4) + idx] = val; in atom_put_dst()
851 ctx->ctx->fb_base = atom_get_src(ctx, attr, ptr); in atom_op_setfbbase()
1229 ctx->fb_base = 0; in atom_execute_table_scratch_unlocked()
Datom.h133 uint32_t fb_base; member
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Datom.c250 val = gctx->fb_base; in atom_get_src_int()
276 if ((gctx->fb_base + (idx * 4)) > gctx->scratch_size_bytes) { in atom_get_src_int()
278 gctx->fb_base + (idx * 4), gctx->scratch_size_bytes); in atom_get_src_int()
281 val = gctx->scratch[(gctx->fb_base / 4) + idx]; in atom_get_src_int()
517 gctx->fb_base = val; in atom_put_dst()
532 if ((gctx->fb_base + (idx * 4)) > gctx->scratch_size_bytes) { in atom_put_dst()
534 gctx->fb_base + (idx * 4), gctx->scratch_size_bytes); in atom_put_dst()
536 gctx->scratch[(gctx->fb_base / 4) + idx] = val; in atom_put_dst()
880 ctx->ctx->fb_base = atom_get_src(ctx, attr, ptr); in atom_op_setfbbase()
1272 ctx->fb_base = 0; in amdgpu_atom_execute_table()
Datom.h135 uint32_t fb_base; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddchubbub.h72 uint64_t fb_base; member
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnv04_fbcon.c216 OUT_RING(chan, info->fix.smem_start - dev->mode_config.fb_base); in nv04_fbcon_accel_init()
217 OUT_RING(chan, info->fix.smem_start - dev->mode_config.fb_base); in nv04_fbcon_accel_init()
/Linux-v5.4/drivers/video/console/
Dsticore.c967 unsigned long fb_base, rom_base; in sticore_pci_init() local
978 fb_base = pci_resource_start(pd, 0); in sticore_pci_init()
988 rom_base, rom_len/1024, fb_base, fb_len/1024/1024); in sticore_pci_init()
991 rom_base, fb_base)); in sticore_pci_init()
993 sti = sti_try_rom_generic(rom_base, fb_base, pd); in sticore_pci_init()
/Linux-v5.4/drivers/gpu/drm/gma500/
Dframebuffer.c400 info->fix.smem_start = dev->mode_config.fb_base; in psbfb_create()
410 info->apertures->ranges[0].base = dev->mode_config.fb_base; in psbfb_create()
635 &(dev->mode_config.fb_base)); in psb_modeset_init()
/Linux-v5.4/include/drm/
Ddrm_mode_config.h527 resource_size_t fb_base; member
/Linux-v5.4/drivers/gpu/drm/rockchip/
Drockchip_drm_fbdev.c93 dev->mode_config.fb_base = 0; in rockchip_drm_fbdev_create()

123