Home
last modified time | relevance | path

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

12345678910>>...13

/kernel/linux/linux-5.10/drivers/video/fbdev/
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()
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()
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()
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()
Datafb.c99 void *screen_base; member
171 static void *screen_base; /* base address of screen */ variable
662 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()
751 if (screen_base) in tt_encode_var()
752 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()
769 par->screen_base = atari_stram_to_virt(addr); in tt_get_par()
777 if (current_par.screen_base != par->screen_base) in tt_set_par()
778 fbhw->set_screen_base(par->screen_base); in tt_set_par()
1360 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var()
1521 if (screen_base) in falcon_encode_var()
[all …]
Dchipsfb.c334 memset(p->screen_base, 0, 0x100000); in init_chips()
401 p->screen_base = ioremap_wc(addr, 0x200000); in chipsfb_pci_init()
403 p->screen_base = ioremap(addr, 0x200000); in chipsfb_pci_init()
405 if (p->screen_base == NULL) { in chipsfb_pci_init()
427 iounmap(p->screen_base); in chipsfb_pci_init()
441 if (p->screen_base == NULL) in chipsfb_remove()
444 iounmap(p->screen_base); in chipsfb_remove()
445 p->screen_base = NULL; in chipsfb_remove()
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()
297 info->screen_base = devm_ioremap(&dev->dev, res->start, in cobalt_lcdfb_probe()
299 if (!info->screen_base) { in cobalt_lcdfb_probe()
Defifb.c147 u8 *dst = info->screen_base; in efifb_show_boot_graphics()
246 if (info->screen_base) { in efifb_destroy()
248 iounmap(info->screen_base); in efifb_destroy()
250 memunmap(info->screen_base); in efifb_destroy()
477 info->screen_base = ioremap_wc(efifb_fix.smem_start, in efifb_probe()
480 info->screen_base = ioremap(efifb_fix.smem_start, in efifb_probe()
483 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe()
486 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe()
488 if (!info->screen_base) { in efifb_probe()
586 iounmap(info->screen_base); in efifb_probe()
[all …]
Dsunxvr500.c157 info->screen_base += ep->fb8_buf_diff; in e3d_imageblit()
159 info->screen_base -= ep->fb8_buf_diff; in e3d_imageblit()
170 info->screen_base += ep->fb8_buf_diff; in e3d_fillrect()
172 info->screen_base -= ep->fb8_buf_diff; in e3d_fillrect()
183 info->screen_base += ep->fb8_buf_diff; in e3d_copyarea()
185 info->screen_base -= ep->fb8_buf_diff; in e3d_copyarea()
204 info->screen_base = ep->fb_base; in e3d_set_fbinfo()
Dvesafb.c188 if (info->screen_base) in vesafb_destroy()
189 iounmap(info->screen_base); in vesafb_destroy()
431 info->screen_base = ioremap_wc(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
435 info->screen_base = ioremap(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
438 if (!info->screen_base) { in vesafb_probe()
448 vesafb_fix.smem_start, info->screen_base, in vesafb_probe()
473 if (info->screen_base) in vesafb_probe()
474 iounmap(info->screen_base); in vesafb_probe()
/kernel/linux/linux-4.19/drivers/video/fbdev/
Datafb_mfb.c32 src = (u8 *)info->screen_base + sy * (width >> 3); in atafb_mfb_copyarea()
33 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea()
36 src = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_copyarea()
37 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea()
44 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea()
45 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea()
60 dest = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_fillrect()
84 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
Datafb_iplan2p2.c51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
110 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
152 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
153 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
200 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p2_fillrect()
248 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p2_linefill()
Datafb_iplan2p4.c51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
110 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
159 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
160 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
214 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p4_fillrect()
262 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p4_linefill()
Datafb_iplan2p8.c58 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
59 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
83 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
84 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
117 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
118 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
180 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
181 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
249 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p8_fillrect()
297 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill()
Datafb.c121 void *screen_base; member
193 static void *screen_base; /* base address of screen */ variable
684 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()
773 if (screen_base) in tt_encode_var()
774 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()
791 par->screen_base = atari_stram_to_virt(addr); in tt_get_par()
799 if (current_par.screen_base != par->screen_base) in tt_set_par()
800 fbhw->set_screen_base(par->screen_base); in tt_set_par()
1382 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var()
1543 if (screen_base) in falcon_encode_var()
[all …]
Dcobalt_lcdfb.c69 writel((u32)control << 24, info->screen_base); in lcd_write_control()
74 return readl(info->screen_base) >> 24; in lcd_read_control()
79 writel((u32)data << 24, info->screen_base + LCD_DATA_REG_OFFSET); in lcd_write_data()
84 return readl(info->screen_base + LCD_DATA_REG_OFFSET) >> 24; in lcd_read_data()
310 info->screen_base = devm_ioremap(&dev->dev, res->start, in cobalt_lcdfb_probe()
312 if (!info->screen_base) { in cobalt_lcdfb_probe()
Defifb.c147 u8 *dst = info->screen_base; in efifb_show_boot_graphics()
241 if (info->screen_base) { in efifb_destroy()
243 iounmap(info->screen_base); in efifb_destroy()
245 memunmap(info->screen_base); in efifb_destroy()
473 info->screen_base = ioremap_wc(efifb_fix.smem_start, in efifb_probe()
476 info->screen_base = ioremap(efifb_fix.smem_start, in efifb_probe()
479 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe()
482 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe()
484 if (!info->screen_base) { in efifb_probe()
582 iounmap(info->screen_base); in efifb_probe()
[all …]
Dchipsfb.c335 memset(p->screen_base, 0, 0x100000); in init_chips()
403 p->screen_base = __ioremap(addr, 0x200000, _PAGE_NO_CACHE); in chipsfb_pci_init()
405 p->screen_base = ioremap(addr, 0x200000); in chipsfb_pci_init()
407 if (p->screen_base == NULL) { in chipsfb_pci_init()
429 iounmap(p->screen_base); in chipsfb_pci_init()
443 if (p->screen_base == NULL) in chipsfb_remove()
446 iounmap(p->screen_base); in chipsfb_remove()
447 p->screen_base = NULL; in chipsfb_remove()
Dsunxvr500.c157 info->screen_base += ep->fb8_buf_diff; in e3d_imageblit()
159 info->screen_base -= ep->fb8_buf_diff; in e3d_imageblit()
170 info->screen_base += ep->fb8_buf_diff; in e3d_fillrect()
172 info->screen_base -= ep->fb8_buf_diff; in e3d_fillrect()
183 info->screen_base += ep->fb8_buf_diff; in e3d_copyarea()
185 info->screen_base -= ep->fb8_buf_diff; in e3d_copyarea()
204 info->screen_base = ep->fb_base; in e3d_set_fbinfo()
Dvesafb.c186 if (info->screen_base) in vesafb_destroy()
187 iounmap(info->screen_base); in vesafb_destroy()
429 info->screen_base = ioremap_wc(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
433 info->screen_base = ioremap(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
436 if (!info->screen_base) { in vesafb_probe()
446 vesafb_fix.smem_start, info->screen_base, in vesafb_probe()
471 if (info->screen_base) in vesafb_probe()
472 iounmap(info->screen_base); in vesafb_probe()
/kernel/linux/linux-4.19/arch/arm/mach-netx/
Dfb.c45 fb->fb.screen_base = dma_alloc_wc(&fb->dev->dev, 1024 * 1024, &dma, in netx_clcd_setup()
47 if (!fb->fb.screen_base) { in netx_clcd_setup()
60 return dma_mmap_wc(&fb->dev->dev, vma, fb->fb.screen_base, in netx_clcd_mmap()
66 dma_free_wc(&fb->dev->dev, fb->fb.fix.smem_len, fb->fb.screen_base, in netx_clcd_remove()
/kernel/linux/linux-4.19/arch/arm/mach-nspire/
Dclcd.c93 fb->fb.screen_base = dma_alloc_wc(&fb->dev->dev, panel_size, &dma, in nspire_clcd_setup()
96 if (!fb->fb.screen_base) { in nspire_clcd_setup()
110 return dma_mmap_wc(&fb->dev->dev, vma, fb->fb.screen_base, in nspire_clcd_mmap()
116 dma_free_wc(&fb->dev->dev, fb->fb.fix.smem_len, fb->fb.screen_base, in nspire_clcd_remove()
/kernel/linux/linux-4.19/arch/arm/mach-lpc32xx/
Dphy3250.c80 fb->fb.screen_base = dma_alloc_wc(&fb->dev->dev, PANEL_SIZE, &dma, in lpc32xx_clcd_setup()
82 if (!fb->fb.screen_base) { in lpc32xx_clcd_setup()
96 return dma_mmap_wc(&fb->dev->dev, vma, fb->fb.screen_base, in lpc32xx_clcd_mmap()
102 dma_free_wc(&fb->dev->dev, fb->fb.fix.smem_len, fb->fb.screen_base, in lpc32xx_clcd_remove()
/kernel/linux/linux-5.10/samples/vfio-mdev/
Dmdpy-fb.c85 if (info->screen_base) in mdpy_fb_destroy()
86 iounmap(info->screen_base); in mdpy_fb_destroy()
156 info->screen_base = ioremap(info->fix.smem_start, in mdpy_fb_probe()
158 if (!info->screen_base) { in mdpy_fb_probe()
186 iounmap(info->screen_base); in mdpy_fb_probe()
/kernel/linux/linux-4.19/samples/vfio-mdev/
Dmdpy-fb.c85 if (info->screen_base) in mdpy_fb_destroy()
86 iounmap(info->screen_base); in mdpy_fb_destroy()
151 info->screen_base = ioremap(info->fix.smem_start, in mdpy_fb_probe()
153 if (!info->screen_base) { in mdpy_fb_probe()
181 iounmap(info->screen_base); in mdpy_fb_probe()

12345678910>>...13