Home
last modified time | relevance | path

Searched refs:screen_base (Results 1 – 25 of 97) sorted by relevance

1234

/linux/drivers/video/fbdev/
H A Datafb_mfb.c31 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 Datafb_iplan2p2.c50 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 Datafb_iplan2p4.c50 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 Datafb_iplan2p8.c57 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 Dcobalt_lcdfb.c56 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()
305 info->screen_base = devm_ioremap(&dev->dev, res->start, in cobalt_lcdfb_probe()
307 if (!info->screen_base) { in cobalt_lcdfb_probe()
H A Datafb.c97 void *screen_base; member
169 static void *screen_base; /* base address of screen */ variable
650 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()
739 if (screen_base) in tt_encode_var()
740 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()
757 par->screen_base = atari_stram_to_virt(addr); in tt_get_par()
765 if (current_par.screen_base != par->screen_base) in tt_set_par()
766 fbhw->set_screen_base(par->screen_base); in tt_set_par()
1341 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var()
1502 if (screen_base) in falcon_encode_var()
[all …]
H A Dsunxvr500.c158 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 Dpvr2fb.c650 if (!info->screen_base) in pvr2fb_write()
682 dst = (unsigned long)fb_info->screen_base + *ppos; in pvr2fb_write()
791 fb_info->screen_base = ioremap(pvr2_fix.smem_start, in pvr2fb_common_init()
794 if (!fb_info->screen_base) { in pvr2fb_common_init()
806 fb_memset_io(fb_info->screen_base, 0, pvr2_fix.smem_len); in pvr2fb_common_init()
864 if (fb_info->screen_base) in pvr2fb_common_init()
865 iounmap(fb_info->screen_base); in pvr2fb_common_init()
929 if (fb_info->screen_base) { in pvr2fb_dc_exit()
930 iounmap(fb_info->screen_base); in pvr2fb_dc_exit()
931 fb_info->screen_base = NULL; in pvr2fb_dc_exit()
[all …]
H A Dhpfb.c293 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 Dpmag-ba-fb.c190 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 Dpmag-aa-fb.c199 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 Dfm2fb.c253 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 Dsm712fb.c1036 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 Dgoldfishfb.c238 fb->fb.screen_base = (char __force __iomem *)dma_alloc_coherent( in goldfish_fb_probe()
242 width, height, fb->fb.screen_base); in goldfish_fb_probe()
243 if (fb->fb.screen_base == NULL) { in goldfish_fb_probe()
272 (void *)fb->fb.screen_base, in goldfish_fb_probe()
292 dma_free_coherent(&pdev->dev, framesize, (void *)fb->fb.screen_base, in goldfish_fb_remove()
H A Dbw2.c313 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 Dp9100.c280 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 Dasiliantfb.c49 #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 Dsh7760fb.c359 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 Dclps711x-fb.c231 info->screen_base = devm_platform_get_and_ioremap_resource(pdev, 1, &res); in clps711x_fb_probe()
232 if (IS_ERR(info->screen_base)) { in clps711x_fb_probe()
233 ret = PTR_ERR(info->screen_base); in clps711x_fb_probe()
293 memset_io(info->screen_base, 0, cfb->buffsize); in clps711x_fb_probe()
H A Dvt8623fb.c153 dst1 = info->screen_base + (image->dy * info->fix.line_length) in vt8623fb_iplan_imageblit()
177 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in vt8623fb_iplan_fillrect()
209 dst1 = info->screen_base + (image->dy * info->fix.line_length) in vt8623fb_cfb4_imageblit()
520 memset_io(info->screen_base, 0x00, screen_size); in vt8623fb_set_par()
720 info->screen_base = pci_iomap_wc(dev, 0, 0); in vt8623_pci_probe()
721 if (! info->screen_base) { in vt8623_pci_probe()
804 pci_iounmap(dev, info->screen_base); in vt8623_pci_probe()
827 pci_iounmap(dev, info->screen_base); in vt8623_pci_remove()
H A Dcg3.c382 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 Ds1d13xxxfb.c747 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()
/linux/samples/vfio-mdev/
H A Dmdpy-fb.c85 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 Dgx1fb_core.c227 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in gx1fb_map_video_memory()
228 if (!info->screen_base) in gx1fb_map_video_memory()
347 memset_io(info->screen_base, 0, info->fix.smem_len); in gx1fb_probe()
361 if (info->screen_base) { in gx1fb_probe()
362 iounmap(info->screen_base); in gx1fb_probe()
387 iounmap((void __iomem *)info->screen_base); in gx1fb_remove()
H A Dlxfb_core.c361 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()

1234