Lines Matching defs:st01
104 static u8 i915_read_ar(struct drm_device *dev, u16 st01, u8 reg, u16 palette_enable)
108 I915_READ8(st01);
113 static void i915_write_ar(struct drm_device *dev, u16 st01, u8 reg, u8 val, u16 palette_enable)
117 I915_READ8(st01);
134 u16 cr_index, cr_data, st01;
144 st01 = VGA_ST01_CGA;
148 st01 = VGA_ST01_MDA;
162 I915_READ8(st01);
165 dev_priv->saveAR[i] = i915_read_ar(dev, st01, i, 0);
166 I915_READ8(st01);
168 I915_READ8(st01);
192 u16 cr_index, cr_data, st01;
199 st01 = VGA_ST01_CGA;
203 st01 = VGA_ST01_MDA;
230 I915_READ8(st01); /* switch back to index mode */
232 i915_write_ar(dev, st01, i, dev_priv->saveAR[i], 0);
233 I915_READ8(st01); /* switch back to index mode */
235 I915_READ8(st01);