Lines Matching refs:cr_index
70 u16 cr_index, cr_data, st01; in i915_save_vga() local
84 cr_index = VGA_CR_INDEX_CGA; in i915_save_vga()
88 cr_index = VGA_CR_INDEX_MDA; in i915_save_vga()
94 i915_write_indexed(dev, cr_index, cr_data, 0x11, in i915_save_vga()
95 i915_read_indexed(dev, cr_index, cr_data, 0x11) & in i915_save_vga()
99 i915_read_indexed(dev, cr_index, cr_data, i); in i915_save_vga()
134 u16 cr_index, cr_data, st01; in i915_restore_vga() local
148 cr_index = VGA_CR_INDEX_CGA; in i915_restore_vga()
152 cr_index = VGA_CR_INDEX_MDA; in i915_restore_vga()
164 i915_write_indexed(dev, cr_index, cr_data, 0x11, dev_priv->regfile.saveCR[0x11]); in i915_restore_vga()
166 i915_write_indexed(dev, cr_index, cr_data, i, dev_priv->regfile.saveCR[i]); in i915_restore_vga()