Lines Matching refs:st01
98 static u8 i915_read_ar(struct drm_device *dev, u16 st01, u8 reg, u16 palette_enable)
102 I915_READ8(st01);
107 static void i915_write_ar(struct drm_device *dev, u16 st01, u8 reg, u8 val, u16 palette_enable)
111 I915_READ8(st01);
128 u16 cr_index, cr_data, st01;
138 st01 = VGA_ST01_CGA;
142 st01 = VGA_ST01_MDA;
156 I915_READ8(st01);
159 dev_priv->saveAR[i] = i915_read_ar(dev, st01, i, 0);
160 I915_READ8(st01);
162 I915_READ8(st01);
186 u16 cr_index, cr_data, st01;
193 st01 = VGA_ST01_CGA;
197 st01 = VGA_ST01_MDA;
224 I915_READ8(st01); /* switch back to index mode */
226 i915_write_ar(dev, st01, i, dev_priv->saveAR[i], 0);
227 I915_READ8(st01); /* switch back to index mode */
229 I915_READ8(st01);