vgabase           422 drivers/video/console/vgacon.c 	vgastate.vgabase = NULL;
vgabase           874 drivers/video/console/vgacon.c 	vga_w(vgastate.vgabase, VGA_PEL_MSK, 0xff);
vgabase           876 drivers/video/console/vgacon.c 		vga_w(vgastate.vgabase, VGA_PEL_IW, table[i]);
vgabase           877 drivers/video/console/vgacon.c 		vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2);
vgabase           878 drivers/video/console/vgacon.c 		vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2);
vgabase           879 drivers/video/console/vgacon.c 		vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2);
vgabase           912 drivers/video/console/vgacon.c 		vga_state.SeqCtrlIndex = vga_r(state->vgabase, VGA_SEQ_I);
vgabase           914 drivers/video/console/vgacon.c 		vga_state.CrtMiscIO = vga_r(state->vgabase, VGA_MIS_R);
vgabase           933 drivers/video/console/vgacon.c 		vga_state.ClockingMode = vga_rseq(state->vgabase, VGA_SEQ_CLOCK_MODE);
vgabase           939 drivers/video/console/vgacon.c 	vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, vga_state.ClockingMode | 0x20);
vgabase           943 drivers/video/console/vgacon.c 		vga_w(state->vgabase, VGA_MIS_W, vga_state.CrtMiscIO & 0xEF);
vgabase           972 drivers/video/console/vgacon.c 	vga_w(state->vgabase, VGA_SEQ_I, vga_state.SeqCtrlIndex);
vgabase           981 drivers/video/console/vgacon.c 	vga_w(state->vgabase, VGA_MIS_W, vga_state.CrtMiscIO);
vgabase          1000 drivers/video/console/vgacon.c 	vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, vga_state.ClockingMode);
vgabase          1003 drivers/video/console/vgacon.c 	vga_w(state->vgabase, VGA_SEQ_I, vga_state.SeqCtrlIndex);
vgabase          1012 drivers/video/console/vgacon.c 	vga_w(state->vgabase, VGA_PEL_MSK, 0xff);
vgabase          1014 drivers/video/console/vgacon.c 		vga_w(state->vgabase, VGA_PEL_IW, i);
vgabase          1015 drivers/video/console/vgacon.c 		vga_w(state->vgabase, VGA_PEL_D, 0);
vgabase          1016 drivers/video/console/vgacon.c 		vga_w(state->vgabase, VGA_PEL_D, 0);
vgabase          1017 drivers/video/console/vgacon.c 		vga_w(state->vgabase, VGA_PEL_D, 0);
vgabase          1121 drivers/video/console/vgacon.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x1);
vgabase          1123 drivers/video/console/vgacon.c 	vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x04);	
vgabase          1125 drivers/video/console/vgacon.c 	vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x07);	
vgabase          1127 drivers/video/console/vgacon.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x03);
vgabase          1130 drivers/video/console/vgacon.c 	vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x02);		
vgabase          1132 drivers/video/console/vgacon.c 	vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x00);
vgabase          1134 drivers/video/console/vgacon.c 	vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x00);
vgabase          1172 drivers/video/console/vgacon.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x01);	
vgabase          1174 drivers/video/console/vgacon.c 	vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x03);
vgabase          1176 drivers/video/console/vgacon.c 	vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x03);
vgabase          1179 drivers/video/console/vgacon.c 		vga_wseq(state->vgabase, VGA_SEQ_CHARACTER_MAP, font_select);
vgabase          1181 drivers/video/console/vgacon.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x03);
vgabase          1184 drivers/video/console/vgacon.c 	vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x00);
vgabase          1186 drivers/video/console/vgacon.c 	vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x10);
vgabase          1188 drivers/video/console/vgacon.c 	vga_wgfx(state->vgabase, VGA_GFX_MISC, beg);
vgabase          1197 drivers/video/console/vgacon.c 		vga_wattr(state->vgabase, VGA_ATC_PLANE_ENABLE, ch512 ? 0x07 : 0x0f);
vgabase          1201 drivers/video/console/vgacon.c 		vga_wattr(state->vgabase, VGA_AR_ENABLE_DISPLAY, 0);	
vgabase           151 drivers/video/fbdev/arkfb.c 	svga_tilecursor(par->state.vgabase, info, cursor);
vgabase           467 drivers/video/fbdev/arkfb.c 	regval = vga_rseq(par->state.vgabase, 0x1C);
vgabase           470 drivers/video/fbdev/arkfb.c 		vga_wseq(par->state.vgabase, 0x1C, regval | (code[0] & 4 ? 0x80 : 0));
vgabase           471 drivers/video/fbdev/arkfb.c 		code[1] = vga_r(par->state.vgabase, dac_regs[code[0] & 3]);
vgabase           476 drivers/video/fbdev/arkfb.c 	vga_wseq(par->state.vgabase, 0x1C, regval);
vgabase           486 drivers/video/fbdev/arkfb.c 	regval = vga_rseq(par->state.vgabase, 0x1C);
vgabase           489 drivers/video/fbdev/arkfb.c 		vga_wseq(par->state.vgabase, 0x1C, regval | (code[0] & 4 ? 0x80 : 0));
vgabase           490 drivers/video/fbdev/arkfb.c 		vga_w(par->state.vgabase, dac_regs[code[0] & 3], code[1]);
vgabase           495 drivers/video/fbdev/arkfb.c 	vga_wseq(par->state.vgabase, 0x1C, regval);
vgabase           511 drivers/video/fbdev/arkfb.c 	regval = vga_r(par->state.vgabase, VGA_MIS_R);
vgabase           512 drivers/video/fbdev/arkfb.c 	vga_w(par->state.vgabase, VGA_MIS_W, regval | VGA_MIS_ENB_PLL_LOAD);
vgabase           524 drivers/video/fbdev/arkfb.c 		void __iomem *vgabase = par->state.vgabase;
vgabase           527 drivers/video/fbdev/arkfb.c 		par->state.vgabase = vgabase;
vgabase           654 drivers/video/fbdev/arkfb.c 	svga_wcrt_mask(par->state.vgabase, 0x11, 0x00, 0x80);
vgabase           657 drivers/video/fbdev/arkfb.c 	svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           658 drivers/video/fbdev/arkfb.c 	svga_wcrt_mask(par->state.vgabase, 0x17, 0x00, 0x80);
vgabase           661 drivers/video/fbdev/arkfb.c 	svga_set_default_gfx_regs(par->state.vgabase);
vgabase           662 drivers/video/fbdev/arkfb.c 	svga_set_default_atc_regs(par->state.vgabase);
vgabase           663 drivers/video/fbdev/arkfb.c 	svga_set_default_seq_regs(par->state.vgabase);
vgabase           664 drivers/video/fbdev/arkfb.c 	svga_set_default_crt_regs(par->state.vgabase);
vgabase           665 drivers/video/fbdev/arkfb.c 	svga_wcrt_multi(par->state.vgabase, ark_line_compare_regs, 0xFFFFFFFF);
vgabase           666 drivers/video/fbdev/arkfb.c 	svga_wcrt_multi(par->state.vgabase, ark_start_address_regs, 0);
vgabase           669 drivers/video/fbdev/arkfb.c 	svga_wseq_mask(par->state.vgabase, 0x10, 0x1F, 0x1F); /* enable linear framebuffer and full memory access */
vgabase           670 drivers/video/fbdev/arkfb.c 	svga_wseq_mask(par->state.vgabase, 0x12, 0x03, 0x03); /* 4 MB linear framebuffer size */
vgabase           672 drivers/video/fbdev/arkfb.c 	vga_wseq(par->state.vgabase, 0x13, info->fix.smem_start >> 16);
vgabase           673 drivers/video/fbdev/arkfb.c 	vga_wseq(par->state.vgabase, 0x14, info->fix.smem_start >> 24);
vgabase           674 drivers/video/fbdev/arkfb.c 	vga_wseq(par->state.vgabase, 0x15, 0);
vgabase           675 drivers/video/fbdev/arkfb.c 	vga_wseq(par->state.vgabase, 0x16, 0);
vgabase           680 drivers/video/fbdev/arkfb.c 	vga_wseq(par->state.vgabase, 0x18, regval);
vgabase           684 drivers/video/fbdev/arkfb.c 	svga_wcrt_multi(par->state.vgabase, ark_offset_regs, offset_value);
vgabase           687 drivers/video/fbdev/arkfb.c 	svga_wcrt_mask(par->state.vgabase, 0x40, 0x08, 0x08);
vgabase           690 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x09, 0x80, 0x80);
vgabase           692 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x09, 0x00, 0x80);
vgabase           695 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x44, 0x04, 0x04);
vgabase           697 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x44, 0x00, 0x04);
vgabase           707 drivers/video/fbdev/arkfb.c 		svga_set_textmode_vga_regs(par->state.vgabase);
vgabase           709 drivers/video/fbdev/arkfb.c 		vga_wseq(par->state.vgabase, 0x11, 0x10); /* basic VGA mode */
vgabase           710 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x46, 0x00, 0x04); /* 8bit pixel path */
vgabase           716 drivers/video/fbdev/arkfb.c 		vga_wgfx(par->state.vgabase, VGA_GFX_MODE, 0x40);
vgabase           718 drivers/video/fbdev/arkfb.c 		vga_wseq(par->state.vgabase, 0x11, 0x10); /* basic VGA mode */
vgabase           719 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x46, 0x00, 0x04); /* 8bit pixel path */
vgabase           725 drivers/video/fbdev/arkfb.c 		vga_wseq(par->state.vgabase, 0x11, 0x10); /* basic VGA mode */
vgabase           726 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x46, 0x00, 0x04); /* 8bit pixel path */
vgabase           732 drivers/video/fbdev/arkfb.c 		vga_wseq(par->state.vgabase, 0x11, 0x16); /* 8bpp accel mode */
vgabase           736 drivers/video/fbdev/arkfb.c 			svga_wcrt_mask(par->state.vgabase, 0x46, 0x00, 0x04); /* 8bit pixel path */
vgabase           740 drivers/video/fbdev/arkfb.c 			svga_wcrt_mask(par->state.vgabase, 0x46, 0x04, 0x04); /* 16bit pixel path */
vgabase           748 drivers/video/fbdev/arkfb.c 		vga_wseq(par->state.vgabase, 0x11, 0x1A); /* 16bpp accel mode */
vgabase           749 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x46, 0x04, 0x04); /* 16bit pixel path */
vgabase           755 drivers/video/fbdev/arkfb.c 		vga_wseq(par->state.vgabase, 0x11, 0x1A); /* 16bpp accel mode */
vgabase           756 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x46, 0x04, 0x04); /* 16bit pixel path */
vgabase           762 drivers/video/fbdev/arkfb.c 		vga_wseq(par->state.vgabase, 0x11, 0x16); /* 8bpp accel mode ??? */
vgabase           763 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x46, 0x04, 0x04); /* 16bit pixel path */
vgabase           771 drivers/video/fbdev/arkfb.c 		vga_wseq(par->state.vgabase, 0x11, 0x1E); /* 32bpp accel mode */
vgabase           772 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x46, 0x04, 0x04); /* 16bit pixel path */
vgabase           782 drivers/video/fbdev/arkfb.c 	svga_set_timings(par->state.vgabase, &ark_timing_regs, &(info->var), hmul, hdiv,
vgabase           790 drivers/video/fbdev/arkfb.c 	vga_wcrt(par->state.vgabase, 0x42, (value + 1) / 2);
vgabase           794 drivers/video/fbdev/arkfb.c 	svga_wcrt_mask(par->state.vgabase, 0x17, 0x80, 0x80);
vgabase           795 drivers/video/fbdev/arkfb.c 	svga_wseq_mask(par->state.vgabase, 0x01, 0x00, 0x20);
vgabase           870 drivers/video/fbdev/arkfb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x00, 0x20);
vgabase           871 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x17, 0x80, 0x80);
vgabase           875 drivers/video/fbdev/arkfb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           876 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x17, 0x80, 0x80);
vgabase           882 drivers/video/fbdev/arkfb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           883 drivers/video/fbdev/arkfb.c 		svga_wcrt_mask(par->state.vgabase, 0x17, 0x00, 0x80);
vgabase           909 drivers/video/fbdev/arkfb.c 	svga_wcrt_multi(par->state.vgabase, ark_start_address_regs, offset);
vgabase          1004 drivers/video/fbdev/arkfb.c 	par->state.vgabase = (void __iomem *) (unsigned long) vga_res.start;
vgabase          1007 drivers/video/fbdev/arkfb.c 	regval = vga_rseq(par->state.vgabase, 0x10);
vgabase          1247 drivers/video/fbdev/i810/i810_main.c 		par->state.vgabase = par->mmio_start_virtual;
vgabase           368 drivers/video/fbdev/neofb.c 	vga_wcrt(state->vgabase, 0x11, vga_rcrt(state->vgabase, 0x11) | 0x80);
vgabase           379 drivers/video/fbdev/neofb.c 	vga_wgfx(state->vgabase, 0x09, 0x00);
vgabase          1190 drivers/video/fbdev/neofb.c 	vga_wcrt(state->vgabase, 0x0C, (Base & 0x00FF00) >> 8);
vgabase          1191 drivers/video/fbdev/neofb.c 	vga_wcrt(state->vgabase, 0x0D, (Base & 0x00FF));
vgabase          1199 drivers/video/fbdev/neofb.c 	vga_wgfx(state->vgabase, 0x0E, (((Base >> 16) & 0x0f) | (oldExtCRTDispAddr & 0xf0)));
vgabase           196 drivers/video/fbdev/s3fb.c 		return vga_rcrt(par->state.vgabase, DDC_REG);
vgabase           204 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, DDC_REG, val);
vgabase           275 drivers/video/fbdev/s3fb.c 		svga_wseq_mask(par->state.vgabase, 0x0d, 0x01, 0x03);
vgabase           277 drivers/video/fbdev/s3fb.c 		svga_wseq_mask(par->state.vgabase, 0x0d, 0x00, 0x03);
vgabase           279 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x5c, 0x03, 0x03);
vgabase           316 drivers/video/fbdev/s3fb.c 	svga_tilecursor(par->state.vgabase, info, cursor);
vgabase           473 drivers/video/fbdev/s3fb.c 	regval = vga_r(par->state.vgabase, VGA_MIS_R);
vgabase           474 drivers/video/fbdev/s3fb.c 	vga_w(par->state.vgabase, VGA_MIS_W, regval | VGA_MIS_ENB_PLL_LOAD);
vgabase           483 drivers/video/fbdev/s3fb.c 		vga_wseq(par->state.vgabase, 0x12, (n - 2) | ((r & 3) << 6));	/* n and two bits of r */
vgabase           484 drivers/video/fbdev/s3fb.c 		vga_wseq(par->state.vgabase, 0x29, r >> 2); /* remaining highest bit of r */
vgabase           486 drivers/video/fbdev/s3fb.c 		vga_wseq(par->state.vgabase, 0x12, (n - 2) | (r << 5));
vgabase           487 drivers/video/fbdev/s3fb.c 	vga_wseq(par->state.vgabase, 0x13, m - 2);
vgabase           492 drivers/video/fbdev/s3fb.c 	regval = vga_rseq (par->state.vgabase, 0x15); /* | 0x80; */
vgabase           493 drivers/video/fbdev/s3fb.c 	vga_wseq(par->state.vgabase, 0x15, regval & ~(1<<5));
vgabase           494 drivers/video/fbdev/s3fb.c 	vga_wseq(par->state.vgabase, 0x15, regval |  (1<<5));
vgabase           495 drivers/video/fbdev/s3fb.c 	vga_wseq(par->state.vgabase, 0x15, regval & ~(1<<5));
vgabase           507 drivers/video/fbdev/s3fb.c 		void __iomem *vgabase = par->state.vgabase;
vgabase           510 drivers/video/fbdev/s3fb.c 		par->state.vgabase = vgabase;
vgabase           642 drivers/video/fbdev/s3fb.c 	vga_wcrt(par->state.vgabase, 0x38, 0x48);
vgabase           643 drivers/video/fbdev/s3fb.c 	vga_wcrt(par->state.vgabase, 0x39, 0xA5);
vgabase           644 drivers/video/fbdev/s3fb.c 	vga_wseq(par->state.vgabase, 0x08, 0x06);
vgabase           645 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x11, 0x00, 0x80);
vgabase           648 drivers/video/fbdev/s3fb.c 	svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           649 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x17, 0x00, 0x80);
vgabase           652 drivers/video/fbdev/s3fb.c 	svga_set_default_gfx_regs(par->state.vgabase);
vgabase           653 drivers/video/fbdev/s3fb.c 	svga_set_default_atc_regs(par->state.vgabase);
vgabase           654 drivers/video/fbdev/s3fb.c 	svga_set_default_seq_regs(par->state.vgabase);
vgabase           655 drivers/video/fbdev/s3fb.c 	svga_set_default_crt_regs(par->state.vgabase);
vgabase           656 drivers/video/fbdev/s3fb.c 	svga_wcrt_multi(par->state.vgabase, s3_line_compare_regs, 0xFFFFFFFF);
vgabase           657 drivers/video/fbdev/s3fb.c 	svga_wcrt_multi(par->state.vgabase, s3_start_address_regs, 0);
vgabase           660 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x58, 0x10, 0x10); /* enable linear framebuffer */
vgabase           661 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x31, 0x08, 0x08); /* enable sequencer access to framebuffer above 256 kB */
vgabase           665 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x33, 0x00, 0x08); /* no DDR ?	*/
vgabase           666 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x43, 0x00, 0x01); /* no DDR ?	*/
vgabase           668 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x5D, 0x00, 0x28); /* Clear strange HSlen bits */
vgabase           678 drivers/video/fbdev/s3fb.c 	svga_wcrt_multi(par->state.vgabase, s3_offset_regs, offset_value);
vgabase           686 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x54, 0x18); /* M parameter */
vgabase           687 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x60, 0xff); /* N parameter */
vgabase           688 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x61, 0xff); /* L parameter */
vgabase           689 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x62, 0xff); /* L parameter */
vgabase           692 drivers/video/fbdev/s3fb.c 	vga_wcrt(par->state.vgabase, 0x3A, 0x35);
vgabase           693 drivers/video/fbdev/s3fb.c 	svga_wattr(par->state.vgabase, 0x33, 0x00);
vgabase           696 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x09, 0x80, 0x80);
vgabase           698 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x09, 0x00, 0x80);
vgabase           701 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x42, 0x20, 0x20);
vgabase           703 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x42, 0x00, 0x20);
vgabase           706 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x45, 0x00, 0x01);
vgabase           708 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x67, 0x00, 0x0C);
vgabase           714 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x86, 0x80);
vgabase           715 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x90, 0x00);
vgabase           720 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x50, 0x00);
vgabase           721 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x67, 0x50);
vgabase           723 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x63, (mode <= 2) ? 0x90 : 0x09);
vgabase           724 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x66, 0x90);
vgabase           737 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x91, (dbytes + 7) / 8);
vgabase           738 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x90, (((dbytes + 7) / 8) >> 8) | 0x80);
vgabase           740 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x66, 0x81);
vgabase           749 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x34, 0x00);
vgabase           751 drivers/video/fbdev/s3fb.c 		vga_wcrt(par->state.vgabase, 0x34, 0x10);
vgabase           753 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x31, 0x00, 0x40);
vgabase           761 drivers/video/fbdev/s3fb.c 		svga_set_textmode_vga_regs(par->state.vgabase);
vgabase           764 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x50, 0x00, 0x30);
vgabase           765 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x67, 0x00, 0xF0);
vgabase           768 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x3A, 0x00, 0x30);
vgabase           772 drivers/video/fbdev/s3fb.c 			svga_wcrt_mask(par->state.vgabase, 0x31, 0x40, 0x40);
vgabase           777 drivers/video/fbdev/s3fb.c 		vga_wgfx(par->state.vgabase, VGA_GFX_MODE, 0x40);
vgabase           780 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x50, 0x00, 0x30);
vgabase           781 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x67, 0x00, 0xF0);
vgabase           784 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x3A, 0x00, 0x30);
vgabase           790 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x50, 0x00, 0x30);
vgabase           791 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x67, 0x00, 0xF0);
vgabase           794 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x3A, 0x00, 0x30);
vgabase           798 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x50, 0x00, 0x30);
vgabase           806 drivers/video/fbdev/s3fb.c 			svga_wcrt_mask(par->state.vgabase, 0x67, 0x00, 0xF0);
vgabase           808 drivers/video/fbdev/s3fb.c 			svga_wcrt_mask(par->state.vgabase, 0x67, 0x10, 0xF0);
vgabase           816 drivers/video/fbdev/s3fb.c 				svga_wcrt_mask(par->state.vgabase, 0x67, 0x20, 0xF0);
vgabase           818 drivers/video/fbdev/s3fb.c 				svga_wcrt_mask(par->state.vgabase, 0x67, 0x30, 0xF0);
vgabase           820 drivers/video/fbdev/s3fb.c 			svga_wcrt_mask(par->state.vgabase, 0x50, 0x10, 0x30);
vgabase           822 drivers/video/fbdev/s3fb.c 				svga_wcrt_mask(par->state.vgabase, 0x67, 0x30, 0xF0);
vgabase           825 drivers/video/fbdev/s3fb.c 				svga_wcrt_mask(par->state.vgabase, 0x67, 0x20, 0xF0);
vgabase           829 drivers/video/fbdev/s3fb.c 			svga_wcrt_mask(par->state.vgabase, 0x50, 0x10, 0x30);
vgabase           830 drivers/video/fbdev/s3fb.c 			svga_wcrt_mask(par->state.vgabase, 0x67, 0x30, 0xF0);
vgabase           844 drivers/video/fbdev/s3fb.c 				svga_wcrt_mask(par->state.vgabase, 0x67, 0x40, 0xF0);
vgabase           846 drivers/video/fbdev/s3fb.c 				svga_wcrt_mask(par->state.vgabase, 0x67, 0x50, 0xF0);
vgabase           848 drivers/video/fbdev/s3fb.c 			svga_wcrt_mask(par->state.vgabase, 0x50, 0x10, 0x30);
vgabase           850 drivers/video/fbdev/s3fb.c 				svga_wcrt_mask(par->state.vgabase, 0x67, 0x50, 0xF0);
vgabase           853 drivers/video/fbdev/s3fb.c 				svga_wcrt_mask(par->state.vgabase, 0x67, 0x40, 0xF0);
vgabase           857 drivers/video/fbdev/s3fb.c 			svga_wcrt_mask(par->state.vgabase, 0x50, 0x10, 0x30);
vgabase           858 drivers/video/fbdev/s3fb.c 			svga_wcrt_mask(par->state.vgabase, 0x67, 0x50, 0xF0);
vgabase           871 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x67, 0xD0, 0xF0);
vgabase           875 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x50, 0x30, 0x30);
vgabase           876 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x67, 0xD0, 0xF0);
vgabase           884 drivers/video/fbdev/s3fb.c 		svga_wseq_mask(par->state.vgabase, 0x15, multiplex ? 0x10 : 0x00, 0x10);
vgabase           885 drivers/video/fbdev/s3fb.c 		svga_wseq_mask(par->state.vgabase, 0x18, multiplex ? 0x80 : 0x00, 0x80);
vgabase           889 drivers/video/fbdev/s3fb.c 	svga_set_timings(par->state.vgabase, &s3_timing_regs, &(info->var), hmul, 1,
vgabase           897 drivers/video/fbdev/s3fb.c 	vga_wcrt(par->state.vgabase, 0x3C, (htotal + 1) / 2);
vgabase           903 drivers/video/fbdev/s3fb.c 	svga_wcrt_multi(par->state.vgabase, s3_dtpc_regs, value);
vgabase           907 drivers/video/fbdev/s3fb.c 	svga_wcrt_mask(par->state.vgabase, 0x17, 0x80, 0x80);
vgabase           908 drivers/video/fbdev/s3fb.c 	svga_wseq_mask(par->state.vgabase, 0x01, 0x00, 0x20);
vgabase           983 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x56, 0x00, 0x06);
vgabase           984 drivers/video/fbdev/s3fb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x00, 0x20);
vgabase           988 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x56, 0x00, 0x06);
vgabase           989 drivers/video/fbdev/s3fb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           993 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x56, 0x02, 0x06);
vgabase           994 drivers/video/fbdev/s3fb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           998 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x56, 0x04, 0x06);
vgabase           999 drivers/video/fbdev/s3fb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase          1003 drivers/video/fbdev/s3fb.c 		svga_wcrt_mask(par->state.vgabase, 0x56, 0x06, 0x06);
vgabase          1004 drivers/video/fbdev/s3fb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase          1031 drivers/video/fbdev/s3fb.c 	svga_wcrt_multi(par->state.vgabase, s3_start_address_regs, offset);
vgabase          1062 drivers/video/fbdev/s3fb.c 		u8 cr30 = vga_rcrt(par->state.vgabase, 0x30);
vgabase          1063 drivers/video/fbdev/s3fb.c 		u8 cr2e = vga_rcrt(par->state.vgabase, 0x2e);
vgabase          1064 drivers/video/fbdev/s3fb.c 		u8 cr2f = vga_rcrt(par->state.vgabase, 0x2f);
vgabase          1079 drivers/video/fbdev/s3fb.c 		u8 cr6f = vga_rcrt(par->state.vgabase, 0x6f);
vgabase          1088 drivers/video/fbdev/s3fb.c 		u8 cr6f = vga_rcrt(par->state.vgabase, 0x6f);
vgabase          1097 drivers/video/fbdev/s3fb.c 		switch (vga_rcrt(par->state.vgabase, 0x2f)) {
vgabase          1172 drivers/video/fbdev/s3fb.c 	par->state.vgabase = (void __iomem *) (unsigned long) vga_res.start;
vgabase          1175 drivers/video/fbdev/s3fb.c 	cr38 = vga_rcrt(par->state.vgabase, 0x38);
vgabase          1176 drivers/video/fbdev/s3fb.c 	cr39 = vga_rcrt(par->state.vgabase, 0x39);
vgabase          1177 drivers/video/fbdev/s3fb.c 	vga_wseq(par->state.vgabase, 0x08, 0x06);
vgabase          1178 drivers/video/fbdev/s3fb.c 	vga_wcrt(par->state.vgabase, 0x38, 0x48);
vgabase          1179 drivers/video/fbdev/s3fb.c 	vga_wcrt(par->state.vgabase, 0x39, 0xA5);
vgabase          1183 drivers/video/fbdev/s3fb.c 	par->rev = vga_rcrt(par->state.vgabase, 0x2f);
vgabase          1189 drivers/video/fbdev/s3fb.c 	regval = vga_rcrt(par->state.vgabase, 0x36);
vgabase          1232 drivers/video/fbdev/s3fb.c 		regval = vga_rcrt(par->state.vgabase, 0x37);
vgabase          1246 drivers/video/fbdev/s3fb.c 	regval = vga_rseq(par->state.vgabase, 0x10);
vgabase          1247 drivers/video/fbdev/s3fb.c 	par->mclk_freq = ((vga_rseq(par->state.vgabase, 0x11) + 2) * 14318) / ((regval & 0x1F)  + 2);
vgabase          1251 drivers/video/fbdev/s3fb.c 	vga_wcrt(par->state.vgabase, 0x38, cr38);
vgabase          1252 drivers/video/fbdev/s3fb.c 	vga_wcrt(par->state.vgabase, 0x39, cr39);
vgabase          1269 drivers/video/fbdev/s3fb.c 			svga_wcrt_mask(par->state.vgabase, 0x53, 0x08, 0x08);	/* enable MMIO */
vgabase          1347 drivers/video/fbdev/s3fb.c 			vga_rcrt(par->state.vgabase, 0x2d),
vgabase          1348 drivers/video/fbdev/s3fb.c 			vga_rcrt(par->state.vgabase, 0x2e),
vgabase          1349 drivers/video/fbdev/s3fb.c 			vga_rcrt(par->state.vgabase, 0x2f),
vgabase          1350 drivers/video/fbdev/s3fb.c 			vga_rcrt(par->state.vgabase, 0x30));
vgabase          1614 drivers/video/fbdev/savage/savagefb_driver.c 		par->vgastate.vgabase = par->mmio.vbase + 0x8000;
vgabase           118 drivers/video/fbdev/vt8623fb.c 	svga_tilecursor(par->state.vgabase, info, cursor);
vgabase           264 drivers/video/fbdev/vt8623fb.c 	regval = vga_r(par->state.vgabase, VGA_MIS_R);
vgabase           265 drivers/video/fbdev/vt8623fb.c 	vga_w(par->state.vgabase, VGA_MIS_W, regval | VGA_MIS_ENB_PLL_LOAD);
vgabase           268 drivers/video/fbdev/vt8623fb.c 	vga_wseq(par->state.vgabase, 0x46, (n  | (r << 6)));
vgabase           269 drivers/video/fbdev/vt8623fb.c 	vga_wseq(par->state.vgabase, 0x47, m);
vgabase           274 drivers/video/fbdev/vt8623fb.c 	svga_wseq_mask(par->state.vgabase, 0x40, 0x02, 0x02);
vgabase           275 drivers/video/fbdev/vt8623fb.c 	svga_wseq_mask(par->state.vgabase, 0x40, 0x00, 0x02);
vgabase           285 drivers/video/fbdev/vt8623fb.c 		void __iomem *vgabase = par->state.vgabase;
vgabase           288 drivers/video/fbdev/vt8623fb.c 		par->state.vgabase = vgabase;
vgabase           420 drivers/video/fbdev/vt8623fb.c 	svga_wseq_mask(par->state.vgabase, 0x10, 0x01, 0x01);
vgabase           421 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_mask(par->state.vgabase, 0x11, 0x00, 0x80);
vgabase           422 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_mask(par->state.vgabase, 0x47, 0x00, 0x01);
vgabase           425 drivers/video/fbdev/vt8623fb.c 	svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           426 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_mask(par->state.vgabase, 0x36, 0x30, 0x30);
vgabase           427 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_mask(par->state.vgabase, 0x17, 0x00, 0x80);
vgabase           430 drivers/video/fbdev/vt8623fb.c 	svga_set_default_gfx_regs(par->state.vgabase);
vgabase           431 drivers/video/fbdev/vt8623fb.c 	svga_set_default_atc_regs(par->state.vgabase);
vgabase           432 drivers/video/fbdev/vt8623fb.c 	svga_set_default_seq_regs(par->state.vgabase);
vgabase           433 drivers/video/fbdev/vt8623fb.c 	svga_set_default_crt_regs(par->state.vgabase);
vgabase           434 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_multi(par->state.vgabase, vt8623_line_compare_regs, 0xFFFFFFFF);
vgabase           435 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_multi(par->state.vgabase, vt8623_start_address_regs, 0);
vgabase           437 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_multi(par->state.vgabase, vt8623_offset_regs, offset_value);
vgabase           438 drivers/video/fbdev/vt8623fb.c 	svga_wseq_multi(par->state.vgabase, vt8623_fetch_count_regs, fetch_value);
vgabase           441 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_mask(par->state.vgabase, 0x03, 0x00, 0x60);
vgabase           442 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_mask(par->state.vgabase, 0x05, 0x00, 0x60);
vgabase           445 drivers/video/fbdev/vt8623fb.c 		svga_wcrt_mask(par->state.vgabase, 0x09, 0x80, 0x80);
vgabase           447 drivers/video/fbdev/vt8623fb.c 		svga_wcrt_mask(par->state.vgabase, 0x09, 0x00, 0x80);
vgabase           449 drivers/video/fbdev/vt8623fb.c 	svga_wseq_mask(par->state.vgabase, 0x1E, 0xF0, 0xF0); // DI/DVP bus
vgabase           450 drivers/video/fbdev/vt8623fb.c 	svga_wseq_mask(par->state.vgabase, 0x2A, 0x0F, 0x0F); // DI/DVP bus
vgabase           451 drivers/video/fbdev/vt8623fb.c 	svga_wseq_mask(par->state.vgabase, 0x16, 0x08, 0xBF); // FIFO read threshold
vgabase           452 drivers/video/fbdev/vt8623fb.c 	vga_wseq(par->state.vgabase, 0x17, 0x1F);       // FIFO depth
vgabase           453 drivers/video/fbdev/vt8623fb.c 	vga_wseq(par->state.vgabase, 0x18, 0x4E);
vgabase           454 drivers/video/fbdev/vt8623fb.c 	svga_wseq_mask(par->state.vgabase, 0x1A, 0x08, 0x08); // enable MMIO ?
vgabase           456 drivers/video/fbdev/vt8623fb.c 	vga_wcrt(par->state.vgabase, 0x32, 0x00);
vgabase           457 drivers/video/fbdev/vt8623fb.c 	vga_wcrt(par->state.vgabase, 0x34, 0x00);
vgabase           458 drivers/video/fbdev/vt8623fb.c 	vga_wcrt(par->state.vgabase, 0x6A, 0x80);
vgabase           459 drivers/video/fbdev/vt8623fb.c 	vga_wcrt(par->state.vgabase, 0x6A, 0xC0);
vgabase           461 drivers/video/fbdev/vt8623fb.c 	vga_wgfx(par->state.vgabase, 0x20, 0x00);
vgabase           462 drivers/video/fbdev/vt8623fb.c 	vga_wgfx(par->state.vgabase, 0x21, 0x00);
vgabase           463 drivers/video/fbdev/vt8623fb.c 	vga_wgfx(par->state.vgabase, 0x22, 0x00);
vgabase           470 drivers/video/fbdev/vt8623fb.c 		svga_set_textmode_vga_regs(par->state.vgabase);
vgabase           471 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x15, 0x00, 0xFE);
vgabase           472 drivers/video/fbdev/vt8623fb.c 		svga_wcrt_mask(par->state.vgabase, 0x11, 0x60, 0x70);
vgabase           476 drivers/video/fbdev/vt8623fb.c 		vga_wgfx(par->state.vgabase, VGA_GFX_MODE, 0x40);
vgabase           477 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x15, 0x20, 0xFE);
vgabase           478 drivers/video/fbdev/vt8623fb.c 		svga_wcrt_mask(par->state.vgabase, 0x11, 0x00, 0x70);
vgabase           482 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x15, 0x00, 0xFE);
vgabase           483 drivers/video/fbdev/vt8623fb.c 		svga_wcrt_mask(par->state.vgabase, 0x11, 0x00, 0x70);
vgabase           487 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x15, 0x22, 0xFE);
vgabase           491 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x15, 0xB6, 0xFE);
vgabase           495 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x15, 0xAE, 0xFE);
vgabase           503 drivers/video/fbdev/vt8623fb.c 	svga_set_timings(par->state.vgabase, &vt8623_timing_regs, &(info->var), 1, 1,
vgabase           510 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_mask(par->state.vgabase, 0x17, 0x80, 0x80);
vgabase           511 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_mask(par->state.vgabase, 0x36, 0x00, 0x30);
vgabase           512 drivers/video/fbdev/vt8623fb.c 	svga_wseq_mask(par->state.vgabase, 0x01, 0x00, 0x20);
vgabase           580 drivers/video/fbdev/vt8623fb.c 		svga_wcrt_mask(par->state.vgabase, 0x36, 0x00, 0x30);
vgabase           581 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x00, 0x20);
vgabase           585 drivers/video/fbdev/vt8623fb.c 		svga_wcrt_mask(par->state.vgabase, 0x36, 0x00, 0x30);
vgabase           586 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           590 drivers/video/fbdev/vt8623fb.c 		svga_wcrt_mask(par->state.vgabase, 0x36, 0x10, 0x30);
vgabase           591 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           595 drivers/video/fbdev/vt8623fb.c 		svga_wcrt_mask(par->state.vgabase, 0x36, 0x20, 0x30);
vgabase           596 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           600 drivers/video/fbdev/vt8623fb.c 		svga_wcrt_mask(par->state.vgabase, 0x36, 0x30, 0x30);
vgabase           601 drivers/video/fbdev/vt8623fb.c 		svga_wseq_mask(par->state.vgabase, 0x01, 0x20, 0x20);
vgabase           626 drivers/video/fbdev/vt8623fb.c 	svga_wcrt_multi(par->state.vgabase, vt8623_start_address_regs, offset);
vgabase           722 drivers/video/fbdev/vt8623fb.c 	par->state.vgabase = (void __iomem *) (unsigned long) vga_res.start;
vgabase           725 drivers/video/fbdev/vt8623fb.c 	memsize1 = (vga_rseq(par->state.vgabase, 0x34) + 1) >> 1;
vgabase           726 drivers/video/fbdev/vt8623fb.c 	memsize2 = vga_rseq(par->state.vgabase, 0x39) << 2;
vgabase            56 drivers/video/vgastate.c 	misc = vga_r(state->vgabase, VGA_MIS_R);
vgabase            59 drivers/video/vgastate.c 	vga_r(state->vgabase, iobase + 0xa);
vgabase            60 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_ATT_W, 0x00);
vgabase            61 drivers/video/vgastate.c 	attr10 = vga_rattr(state->vgabase, 0x10);
vgabase            62 drivers/video/vgastate.c 	vga_r(state->vgabase, iobase + 0xa);
vgabase            63 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_ATT_W, 0x20);
vgabase            69 drivers/video/vgastate.c 	gr4 = vga_rgfx(state->vgabase, VGA_GFX_PLANE_READ);
vgabase            70 drivers/video/vgastate.c 	gr5 = vga_rgfx(state->vgabase, VGA_GFX_MODE);
vgabase            71 drivers/video/vgastate.c 	gr6 = vga_rgfx(state->vgabase, VGA_GFX_MISC);
vgabase            72 drivers/video/vgastate.c 	seq2 = vga_rseq(state->vgabase, VGA_SEQ_PLANE_WRITE);
vgabase            73 drivers/video/vgastate.c 	seq4 = vga_rseq(state->vgabase, VGA_SEQ_MEMORY_MODE);
vgabase            76 drivers/video/vgastate.c 	seq1 = vga_rseq(state->vgabase, VGA_SEQ_CLOCK_MODE);
vgabase            77 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x1);
vgabase            78 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1 | 1 << 5);
vgabase            79 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x3);
vgabase            83 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x4);
vgabase            84 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6);
vgabase            85 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x2);
vgabase            86 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x0);
vgabase            87 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x5);
vgabase            94 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x8);
vgabase            95 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6);
vgabase            96 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x3);
vgabase            97 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x0);
vgabase            98 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x5);
vgabase           105 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x1);
vgabase           106 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6);
vgabase           107 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x0);
vgabase           108 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x0);
vgabase           109 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x5);
vgabase           113 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x2);
vgabase           114 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6);
vgabase           115 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x1);
vgabase           116 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x0);
vgabase           117 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x5);
vgabase           123 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, seq2);
vgabase           124 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, seq4);
vgabase           126 drivers/video/vgastate.c 	vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, gr4);
vgabase           127 drivers/video/vgastate.c 	vga_wgfx(state->vgabase, VGA_GFX_MODE, gr5);
vgabase           128 drivers/video/vgastate.c 	vga_wgfx(state->vgabase, VGA_GFX_MISC, gr6);
vgabase           131 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x1);
vgabase           132 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1 & ~(1 << 5));
vgabase           133 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x3);
vgabase           135 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1);
vgabase           146 drivers/video/vgastate.c 	gr1 = vga_rgfx(state->vgabase, VGA_GFX_SR_ENABLE);
vgabase           147 drivers/video/vgastate.c 	gr3 = vga_rgfx(state->vgabase, VGA_GFX_DATA_ROTATE);
vgabase           148 drivers/video/vgastate.c 	gr4 = vga_rgfx(state->vgabase, VGA_GFX_PLANE_READ);
vgabase           149 drivers/video/vgastate.c 	gr5 = vga_rgfx(state->vgabase, VGA_GFX_MODE);
vgabase           150 drivers/video/vgastate.c 	gr6 = vga_rgfx(state->vgabase, VGA_GFX_MISC);
vgabase           151 drivers/video/vgastate.c 	gr8 = vga_rgfx(state->vgabase, VGA_GFX_BIT_MASK);
vgabase           152 drivers/video/vgastate.c 	seq2 = vga_rseq(state->vgabase, VGA_SEQ_PLANE_WRITE);
vgabase           153 drivers/video/vgastate.c 	seq4 = vga_rseq(state->vgabase, VGA_SEQ_MEMORY_MODE);
vgabase           156 drivers/video/vgastate.c 	seq1 = vga_rseq(state->vgabase, VGA_SEQ_CLOCK_MODE);
vgabase           157 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x1);
vgabase           158 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1 | 1 << 5);
vgabase           159 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x3);
vgabase           162 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_DATA_ROTATE, 0x0);
vgabase           163 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_BIT_MASK, 0xff);
vgabase           164 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_SR_ENABLE, 0x00);
vgabase           169 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x4);
vgabase           170 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6);
vgabase           171 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x2);
vgabase           172 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x0);
vgabase           173 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x5);
vgabase           180 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x8);
vgabase           181 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6);
vgabase           182 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x3);
vgabase           183 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x0);
vgabase           184 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x5);
vgabase           191 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x1);
vgabase           192 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6);
vgabase           193 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x0);
vgabase           194 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x0);
vgabase           195 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x5);
vgabase           199 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x2);
vgabase           200 drivers/video/vgastate.c 		vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6);
vgabase           201 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x1);
vgabase           202 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x0);
vgabase           203 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x5);
vgabase           209 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x1);
vgabase           210 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1 & ~(1 << 5));
vgabase           211 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x3);
vgabase           214 drivers/video/vgastate.c 	vga_wgfx(state->vgabase, VGA_GFX_SR_ENABLE, gr1);
vgabase           215 drivers/video/vgastate.c 	vga_wgfx(state->vgabase, VGA_GFX_DATA_ROTATE, gr3);
vgabase           216 drivers/video/vgastate.c 	vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, gr4);
vgabase           217 drivers/video/vgastate.c 	vga_wgfx(state->vgabase, VGA_GFX_MODE, gr5);
vgabase           218 drivers/video/vgastate.c 	vga_wgfx(state->vgabase, VGA_GFX_MISC, gr6);
vgabase           219 drivers/video/vgastate.c 	vga_wgfx(state->vgabase, VGA_GFX_BIT_MASK, gr8);
vgabase           221 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1);
vgabase           222 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, seq2);
vgabase           223 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, seq4);
vgabase           232 drivers/video/vgastate.c 	saved->misc = vga_r(state->vgabase, VGA_MIS_R);
vgabase           239 drivers/video/vgastate.c 		saved->crtc[i] = vga_rcrtcs(state->vgabase, iobase, i);
vgabase           241 drivers/video/vgastate.c 	vga_r(state->vgabase, iobase + 0xa);
vgabase           242 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_ATT_W, 0x00);
vgabase           244 drivers/video/vgastate.c 		vga_r(state->vgabase, iobase + 0xa);
vgabase           245 drivers/video/vgastate.c 		saved->attr[i] = vga_rattr(state->vgabase, i);
vgabase           247 drivers/video/vgastate.c 	vga_r(state->vgabase, iobase + 0xa);
vgabase           248 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_ATT_W, 0x20);
vgabase           251 drivers/video/vgastate.c 		saved->gfx[i] = vga_rgfx(state->vgabase, i);
vgabase           254 drivers/video/vgastate.c 		saved->seq[i] = vga_rseq(state->vgabase, i);
vgabase           263 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_MIS_W, saved->misc);
vgabase           271 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE,
vgabase           275 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x01);
vgabase           278 drivers/video/vgastate.c 	vga_r(state->vgabase, iobase + 0xa);
vgabase           279 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_ATT_W, 0x00);
vgabase           282 drivers/video/vgastate.c 		vga_wseq(state->vgabase, i, saved->seq[i]);
vgabase           286 drivers/video/vgastate.c 	vga_wcrtcs(state->vgabase, iobase, 17, saved->crtc[17] & ~0x80);
vgabase           288 drivers/video/vgastate.c 		vga_wcrtcs(state->vgabase, iobase, i, saved->crtc[i]);
vgabase           291 drivers/video/vgastate.c 		vga_wgfx(state->vgabase, i, saved->gfx[i]);
vgabase           294 drivers/video/vgastate.c 		vga_r(state->vgabase, iobase + 0xa);
vgabase           295 drivers/video/vgastate.c 		vga_wattr(state->vgabase, i, saved->attr[i]);
vgabase           299 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x03);
vgabase           301 drivers/video/vgastate.c 	vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE,
vgabase           305 drivers/video/vgastate.c 	vga_r(state->vgabase, iobase + 0xa);
vgabase           306 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_ATT_W, 0x20);
vgabase           314 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_PEL_MSK, 0xff);
vgabase           317 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_PEL_IR, 0x00);
vgabase           319 drivers/video/vgastate.c 		saved->vga_cmap[i] = vga_r(state->vgabase, VGA_PEL_D);
vgabase           327 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_PEL_MSK, 0xff);
vgabase           330 drivers/video/vgastate.c 	vga_w(state->vgabase, VGA_PEL_IW, 0x00);
vgabase           332 drivers/video/vgastate.c 		vga_w(state->vgabase, VGA_PEL_D, saved->vga_cmap[i]);
vgabase           183 include/video/vga.h 	void __iomem *vgabase;	/* mmio base, if supported 		   */