Lines Matching refs:hw_state
467 tmp1 = par->hw_state.dclk_2d; in i810_restore_pll()
473 tmp1 = par->hw_state.dclk_1d; in i810_restore_pll()
479 i810_writel(DCLK_0DS, mmio, par->hw_state.dclk_0ds); in i810_restore_pll()
487 tmp1 = par->hw_state.pixconf; in i810_restore_dac()
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()
512 i = par->hw_state.cr70; in i810_restore_vgax()
519 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr80); in i810_restore_vgax()
520 i810_writeb(MSR_WRITE, mmio, par->hw_state.msr); in i810_restore_vgax()
522 i = (par->hw_state.sr01) & ~0xE0 ; 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()
551 tmp |= par->hw_state.gr10; in i810_restore_addr_map()
564 tmp_word |= par->hw_state.bltcntl; in i810_restore_2d()
568 i810_writel(PIXCONF, mmio, par->hw_state.pixconf); in i810_restore_2d()
573 tmp_word |= par->hw_state.hwstam; in i810_restore_2d()
578 tmp_long |= par->hw_state.fw_blc; in i810_restore_2d()
581 i810_writel(HWS_PGA, mmio, par->hw_state.hws_pga); in i810_restore_2d()
582 i810_writew(IER, mmio, par->hw_state.ier); in i810_restore_2d()
583 i810_writew(IMR, mmio, par->hw_state.imr); in i810_restore_2d()
584 i810_writel(DPLYSTAS, mmio, par->hw_state.dplystas); in i810_restore_2d()
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()
626 par->hw_state.msr = i810_readb(MSR_READ, mmio); in i810_save_vgax()
628 par->hw_state.cr80 = i810_readb(CR_DATA_CGA, mmio); in i810_save_vgax()
630 par->hw_state.sr01 = i810_readb(SR_DATA, 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()
652 par->hw_state.dclk_2d = i810_readl(DCLK_2D, mmio); in i810_save_2d()
653 par->hw_state.dclk_1d = i810_readl(DCLK_1D, mmio); in i810_save_2d()
654 par->hw_state.dclk_0ds = i810_readl(DCLK_0DS, mmio); in i810_save_2d()
655 par->hw_state.pixconf = i810_readl(PIXCONF, mmio); in i810_save_2d()
656 par->hw_state.fw_blc = i810_readl(FW_BLC, mmio); in i810_save_2d()
657 par->hw_state.bltcntl = i810_readw(BLTCNTL, mmio); in i810_save_2d()
658 par->hw_state.hwstam = i810_readw(HWSTAM, mmio); in i810_save_2d()
659 par->hw_state.hws_pga = i810_readl(HWS_PGA, mmio); in i810_save_2d()
660 par->hw_state.ier = i810_readw(IER, mmio); in i810_save_2d()
661 par->hw_state.imr = i810_readw(IMR, mmio); in i810_save_2d()
662 par->hw_state.dplystas = i810_readl(DPLYSTAS, mmio); in i810_save_2d()