Lines Matching refs:CR_DATA_CGA
216 reg = i810_readb(CR_DATA_CGA, mmio); in i810_protect_regs()
221 i810_writeb(CR_DATA_CGA, mmio, reg); in i810_protect_regs()
263 i810_writeb(CR_DATA_CGA, mmio, par->interlace); in i810_load_vga()
266 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr00); in i810_load_vga()
268 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr01); in i810_load_vga()
270 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr02); in i810_load_vga()
272 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr03); in i810_load_vga()
274 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr04); in i810_load_vga()
276 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr05); in i810_load_vga()
278 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr06); in i810_load_vga()
280 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr09); in i810_load_vga()
282 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr10); in i810_load_vga()
284 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr11); in i810_load_vga()
286 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr12); in i810_load_vga()
288 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr15); in i810_load_vga()
290 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr16); in i810_load_vga()
305 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr30); in i810_load_vgax()
307 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr31); in i810_load_vgax()
309 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr32); in i810_load_vgax()
311 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr33); in i810_load_vgax()
313 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr35); in i810_load_vgax()
315 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr39); in i810_load_vgax()
354 val = i810_readb(CR_DATA_CGA, mmio); in i810_hires()
356 i810_writeb(CR_DATA_CGA, mmio, val | 1); in i810_hires()
384 i810_writeb(CR_DATA_CGA, mmio, (u8) tmp); in i810_load_pitch()
388 val = i810_readb(CR_DATA_CGA, mmio) & ~0x0F; in i810_load_pitch()
390 i810_writeb(CR_DATA_CGA, mmio, (u8) tmp | val); in i810_load_pitch()
501 i810_writeb(CR_DATA_CGA, mmio, *(&(par->hw_state.cr30) + i)); in i810_restore_vgax()
504 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr35); in i810_restore_vgax()
506 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr39); in i810_restore_vgax()
508 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr39); in i810_restore_vgax()
514 j = i810_readb(CR_DATA_CGA, mmio); in i810_restore_vgax()
516 i810_writeb(CR_DATA_CGA, mmio, j | i); in i810_restore_vgax()
519 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr80); in i810_restore_vgax()
535 i810_writeb(CR_DATA_CGA, mmio, *((&par->hw_state.cr00) + i)); in i810_restore_vga()
539 i810_writeb(CR_DATA_CGA, mmio, *((&par->hw_state.cr10) + i)); in i810_restore_vga()
616 *(&(par->hw_state.cr30) + i) = i810_readb(CR_DATA_CGA, mmio); in i810_save_vgax()
619 par->hw_state.cr35 = i810_readb(CR_DATA_CGA, mmio); in i810_save_vgax()
621 par->hw_state.cr39 = i810_readb(CR_DATA_CGA, mmio); in i810_save_vgax()
623 par->hw_state.cr41 = i810_readb(CR_DATA_CGA, mmio); in i810_save_vgax()
625 par->hw_state.cr70 = i810_readb(CR_DATA_CGA, mmio); in i810_save_vgax()
628 par->hw_state.cr80 = i810_readb(CR_DATA_CGA, mmio); in i810_save_vgax()
640 *((&par->hw_state.cr00) + i) = i810_readb(CR_DATA_CGA, mmio); in i810_save_vga()
644 *((&par->hw_state.cr10) + i) = i810_readb(CR_DATA_CGA, mmio); in i810_save_vga()