| /linux/drivers/video/fbdev/ |
| H A D | atafb_mfb.c | 31 src = (u8 *)info->screen_base + sy * (width >> 3); in atafb_mfb_copyarea() 32 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea() 35 src = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_copyarea() 36 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea() 43 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea() 44 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea() 59 dest = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_fillrect() 83 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
|
| H A D | cobalt_lcdfb.c | 56 writel((u32)control << 24, info->screen_base); in lcd_write_control() 61 return readl(info->screen_base) >> 24; in lcd_read_control() 66 writel((u32)data << 24, info->screen_base + LCD_DATA_REG_OFFSET); in lcd_write_data() 71 return readl(info->screen_base + LCD_DATA_REG_OFFSET) >> 24; in lcd_read_data() 132 if (!info->screen_base) in cobalt_lcdfb_read() 181 if (!info->screen_base) in cobalt_lcdfb_write() 298 info->screen_base = devm_platform_get_and_ioremap_resource(dev, 0, &res); in cobalt_lcdfb_probe() 299 if (IS_ERR(info->screen_base)) { in cobalt_lcdfb_probe() 301 return PTR_ERR(info->screen_base); in cobalt_lcdfb_probe()
|
| H A D | atafb_iplan2p2.c | 50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 75 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 109 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 110 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 151 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 152 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 199 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p2_fillrect() 247 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p2_linefill()
|
| H A D | atafb_iplan2p4.c | 50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 75 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 109 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 110 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 158 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 159 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 213 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p4_fillrect() 261 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p4_linefill()
|
| H A D | atafb_iplan2p8.c | 57 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 58 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 82 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 83 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 116 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 117 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 179 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 180 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 248 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p8_fillrect() 296 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill()
|
| H A D | atafb.c | 97 void *screen_base; member 161 static void *screen_base; /* base address of screen */ variable 648 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var() 737 if (screen_base) in tt_encode_var() 738 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var() 755 par->screen_base = atari_stram_to_virt(addr); in tt_get_par() 763 if (current_par.screen_base != par->screen_base) in tt_set_par() 764 fbhw->set_screen_base(par->screen_base); in tt_set_par() 1339 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var() 1500 if (screen_base) in falcon_encode_var() [all …]
|
| H A D | sunxvr500.c | 158 info->screen_base += ep->fb8_buf_diff; in e3d_imageblit() 160 info->screen_base -= ep->fb8_buf_diff; in e3d_imageblit() 171 info->screen_base += ep->fb8_buf_diff; in e3d_fillrect() 173 info->screen_base -= ep->fb8_buf_diff; in e3d_fillrect() 184 info->screen_base += ep->fb8_buf_diff; in e3d_copyarea() 186 info->screen_base -= ep->fb8_buf_diff; in e3d_copyarea() 206 info->screen_base = ep->fb_base; in e3d_set_fbinfo()
|
| H A D | hpfb.c | 293 fb_info.screen_base = (char *)fb_start; in hpfb_init_one() 311 if (fb_info.screen_base) { in hpfb_init_one() 312 iounmap(fb_info.screen_base); in hpfb_init_one() 313 fb_info.screen_base = NULL; in hpfb_init_one() 361 if (fb_info.screen_base) in hpfb_remove_one() 362 iounmap(fb_info.screen_base); in hpfb_remove_one()
|
| H A D | vga16fb.c | 854 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect() 925 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect() 991 dest = info->screen_base + dx + area->dy * info->fix.line_length; in vga_8planes_copyarea() 992 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea() 1005 dest = info->screen_base + dx + width + in vga_8planes_copyarea() 1007 src = info->screen_base + sx + width + in vga_8planes_copyarea() 1081 dst = info->screen_base + (dx/8) + dy * info->fix.line_length; in vga16fb_copyarea() 1082 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea() 1094 dst = info->screen_base + (dx/8) + width + in vga16fb_copyarea() 1096 src = info->screen_base + (sx/8) + width + in vga16fb_copyarea() [all …]
|
| H A D | pmag-ba-fb.c | 190 info->screen_base = ioremap(info->fix.smem_start, in pmagbafb_probe() 192 if (!info->screen_base) { in pmagbafb_probe() 217 iounmap(info->screen_base); in pmagbafb_probe() 242 iounmap(info->screen_base); in pmagbafb_remove()
|
| H A D | pmag-aa-fb.c | 199 info->screen_base = ioremap(info->fix.smem_start, in pmagaafb_probe() 201 if (!info->screen_base) { in pmagaafb_probe() 232 iounmap(info->screen_base); in pmagaafb_probe() 254 iounmap(info->screen_base); in pmagaafb_remove()
|
| H A D | goldfishfb.c | 234 fb->fb.screen_base = (char __force __iomem *)dma_alloc_coherent( in goldfish_fb_probe() 238 width, height, fb->fb.screen_base); in goldfish_fb_probe() 239 if (fb->fb.screen_base == NULL) { in goldfish_fb_probe() 271 (void *)fb->fb.screen_base, in goldfish_fb_probe() 290 dma_free_coherent(&pdev->dev, framesize, (void *)fb->fb.screen_base, in goldfish_fb_remove()
|
| H A D | fm2fb.c | 253 info->screen_base = ioremap(fb_fix.smem_start, FRAMEMASTER_SIZE); in fm2fb_probe() 255 fm2fb_reg = (unsigned char *)(info->screen_base+FRAMEMASTER_REG); in fm2fb_probe() 284 iounmap(info->screen_base); in fm2fb_probe()
|
| H A D | sm712fb.c | 1036 if (!info->screen_base) in smtcfb_read() 1057 src = (u32 __iomem *)(info->screen_base + p); in smtcfb_read() 1099 if (!info->screen_base) in smtcfb_write() 1126 dst = (u32 __iomem *)(info->screen_base + p); in smtcfb_write() 1389 sfb->fb->screen_base = sfb->lfb; in smtc_map_smem() 1391 if (!sfb->fb->screen_base) { in smtc_map_smem() 1406 if (sfb && sfb->fb->screen_base) { in smtc_unmap_smem() 1408 sfb->fb->screen_base -= 0x00200000; in smtc_unmap_smem() 1409 iounmap(sfb->fb->screen_base); in smtc_unmap_smem() 1410 sfb->fb->screen_base = NULL; in smtc_unmap_smem()
|
| H A D | bw2.c | 313 info->screen_base = of_ioremap(&op->resource[0], 0, in bw2_probe() 315 if (!info->screen_base) { in bw2_probe() 336 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_probe() 356 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_remove()
|
| H A D | p9100.c | 280 info->screen_base = of_ioremap(&op->resource[2], 0, in p9100_probe() 282 if (!info->screen_base) in p9100_probe() 310 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_probe() 331 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_remove()
|
| H A D | asiliantfb.c | 49 #define mmio_base (p->screen_base + 0x400000) 567 p->screen_base = ioremap(addr, 0x800000); in asiliantfb_pci_init() 568 if (p->screen_base == NULL) { in asiliantfb_pci_init() 575 writeb(3, p->screen_base + 0x400784); in asiliantfb_pci_init() 579 iounmap(p->screen_base); in asiliantfb_pci_init() 595 iounmap(p->screen_base); in asiliantfb_remove()
|
| H A D | sh7760fb.c | 359 if (!info->screen_base) in sh7760fb_free_mem() 363 info->screen_base, par->fbdma); in sh7760fb_free_mem() 366 info->screen_base = NULL; in sh7760fb_free_mem() 380 if (info->screen_base) in sh7760fb_alloc_mem() 422 info->screen_base = fbmem; in sh7760fb_alloc_mem() 424 info->fix.smem_start = (unsigned long)info->screen_base; in sh7760fb_alloc_mem()
|
| H A D | cg3.c | 382 info->screen_base = of_ioremap(&op->resource[0], CG3_RAM_OFFSET, in cg3_probe() 384 if (!info->screen_base) in cg3_probe() 418 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_probe() 439 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_remove()
|
| H A D | s1d13xxxfb.c | 747 if (info->screen_base) in __s1d13xxxfb_remove() 748 iounmap(info->screen_base); in __s1d13xxxfb_remove() 833 info->screen_base = ioremap(pdev->resource[0].start, in s1d13xxxfb_probe() 836 if (!info->screen_base) { in s1d13xxxfb_probe() 877 default_par->regs, info->fix.smem_len / 1024, info->screen_base); in s1d13xxxfb_probe() 937 memcpy_fromio(s1dfb->disp_save, info->screen_base, info->fix.smem_len); in s1d13xxxfb_suspend() 985 memcpy_toio(info->screen_base, s1dfb->disp_save, in s1d13xxxfb_resume()
|
| H A D | tcx.c | 354 if (info->screen_base) in tcx_unmap_regs() 356 info->screen_base, info->fix.smem_len); in tcx_unmap_regs() 392 info->screen_base = of_ioremap(&op->resource[0], 0, in tcx_probe() 395 !par->bt || !info->screen_base) in tcx_probe()
|
| H A D | simplefb.c | 110 if (info->screen_base) in simplefb_destroy() 111 iounmap(info->screen_base); in simplefb_destroy() 602 info->screen_base = ioremap_wc(info->fix.smem_start, in simplefb_probe() 604 if (!info->screen_base) { in simplefb_probe() 657 iounmap(info->screen_base); in simplefb_probe()
|
| /linux/drivers/gpu/drm/sysfb/ |
| H A D | efidrm.c | 250 void __iomem *screen_base = devm_ioremap_wc(&pdev->dev, mem->start, in efidrm_device_create() local 253 if (!screen_base) in efidrm_device_create() 255 iosys_map_set_vaddr_iomem(&sysfb->fb_addr, screen_base); in efidrm_device_create() 257 void __iomem *screen_base = devm_ioremap(&pdev->dev, mem->start, in efidrm_device_create() local 260 if (!screen_base) in efidrm_device_create() 262 iosys_map_set_vaddr_iomem(&sysfb->fb_addr, screen_base); in efidrm_device_create() 264 void *screen_base = devm_memremap(&pdev->dev, mem->start, in efidrm_device_create() local 267 if (IS_ERR(screen_base)) in efidrm_device_create() 268 return ERR_CAST(screen_base); in efidrm_device_create() 269 iosys_map_set_vaddr(&sysfb->fb_addr, screen_base); in efidrm_device_create() [all …]
|
| /linux/samples/vfio-mdev/ |
| H A D | mdpy-fb.c | 85 if (info->screen_base) in mdpy_fb_destroy() 86 iounmap(info->screen_base); in mdpy_fb_destroy() 154 info->screen_base = ioremap(info->fix.smem_start, in mdpy_fb_probe() 156 if (!info->screen_base) { in mdpy_fb_probe() 175 iounmap(info->screen_base); in mdpy_fb_probe() 194 iounmap(info->screen_base); in mdpy_fb_remove()
|
| /linux/drivers/video/fbdev/geode/ |
| H A D | lxfb_core.c | 361 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in lxfb_map_video_memory() 365 if (info->screen_base == NULL) in lxfb_map_video_memory() 528 memset_io(info->screen_base, 0, info->fix.smem_len); in lxfb_probe() 547 if (info->screen_base) { in lxfb_probe() 548 iounmap(info->screen_base); in lxfb_probe() 577 iounmap(info->screen_base); in lxfb_remove()
|