Lines Matching defs:st01
45 static u8 i915_read_ar(struct drm_device *dev, u16 st01, u8 reg, u16 palette_enable)
49 I915_READ8(st01);
54 static void i915_write_ar(struct drm_device *dev, u16 st01, u8 reg, u8 val, u16 palette_enable)
58 I915_READ8(st01);
75 u16 cr_index, cr_data, st01;
91 st01 = VGA_ST01_CGA;
95 st01 = VGA_ST01_MDA;
109 I915_READ8(st01);
112 dev_priv->regfile.saveAR[i] = i915_read_ar(dev, st01, i, 0);
113 I915_READ8(st01);
115 I915_READ8(st01);
139 u16 cr_index, cr_data, st01;
155 st01 = VGA_ST01_CGA;
159 st01 = VGA_ST01_MDA;
186 I915_READ8(st01); /* switch back to index mode */
188 i915_write_ar(dev, st01, i, dev_priv->regfile.saveAR[i], 0);
189 I915_READ8(st01); /* switch back to index mode */
191 I915_READ8(st01);