Lines Matching refs:fbbase
48 static void save_vga_text(struct vgastate *state, void __iomem *fbbase) in save_vga_text() argument
89 saved->vga_font0[i] = vga_r(fbbase, i); in save_vga_text()
100 saved->vga_font1[i] = vga_r(fbbase, i); in save_vga_text()
111 saved->vga_text[i] = vga_r(fbbase, i); in save_vga_text()
119 saved->vga_text[8192+i] = vga_r(fbbase + 2 * 8192, i); in save_vga_text()
138 static void restore_vga_text(struct vgastate *state, void __iomem *fbbase) in restore_vga_text() argument
175 vga_w(fbbase, i, saved->vga_font0[i]); in restore_vga_text()
186 vga_w(fbbase, i, saved->vga_font1[i]); in restore_vga_text()
197 vga_w(fbbase, i, saved->vga_text[i]); in restore_vga_text()
205 vga_w(fbbase, i, saved->vga_text[8192+i]); in restore_vga_text()
397 void __iomem *fbbase; in save_vga() local
410 fbbase = ioremap(state->membase, state->memsize); in save_vga()
412 if (!fbbase) { in save_vga()
423 iounmap(fbbase); in save_vga()
435 iounmap(fbbase); in save_vga()
446 iounmap(fbbase); in save_vga()
452 save_vga_text(state, fbbase); in save_vga()
453 iounmap(fbbase); in save_vga()
467 void __iomem *fbbase = ioremap(state->membase, state->memsize); in restore_vga() local
469 if (!fbbase) { in restore_vga()
473 restore_vga_text(state, fbbase); in restore_vga()
474 iounmap(fbbase); in restore_vga()