Home | History | Annotate | Download | only in vme

Lines Matching defs:vgabase

219 et4k_start(bus_space_tag_t *iot, bus_space_handle_t *ioh, int *vgabase, u_char *saved)
224 *vgabase = (bus_space_read_1(*iot, *ioh, GREG_MISC_OUTPUT_R) & 0x01)
228 bus_space_write_1(*iot, *ioh, *vgabase + 0x08, 0xa0);
230 bus_space_write_1(*iot, *ioh, *vgabase + 0x04, 0x36);
231 bus_space_write_1(*iot, *ioh, *vgabase + 0x05, 0xf0);
233 bus_space_write_1(*iot, *ioh, *vgabase + 0x04, 0x11);
234 *saved = bus_space_read_1(*iot, *ioh, *vgabase + 0x05);
235 bus_space_write_1(*iot, *ioh, *vgabase + 0x05, *saved & 0x7f);
242 et4k_stop(bus_space_tag_t *iot, bus_space_handle_t *ioh, int *vgabase, u_char *saved)
245 bus_space_write_1(*iot, *ioh, *vgabase + 0x04, 0x11);
246 *saved = bus_space_read_1(*iot, *ioh, *vgabase + 0x05);
247 bus_space_write_1(*iot, *ioh, *vgabase + 0x05, *saved | 0x80);
249 bus_space_write_1(*iot, *ioh, *vgabase + 0x08, 0x00);
258 int vgabase;
266 et4k_start(iot, ioh, &vgabase, &saved);
269 (void)bus_space_read_1(*iot, *ioh, vgabase + 0x0a);
281 et4k_stop(iot, ioh, &vgabase, &saved);
286 bus_space_write_1(*iot, *ioh, vgabase + 0x04, 0x33);
287 orig = bus_space_read_1(*iot, *ioh, vgabase + 0x05);
288 bus_space_write_1(*iot, *ioh, vgabase + 0x05, (orig ^ 0x0f));
289 new = bus_space_read_1(*iot, *ioh, vgabase + 0x05);
290 bus_space_write_1(*iot, *ioh, vgabase + 0x05, orig);
296 et4k_stop(iot, ioh, &vgabase, &saved);
321 et4k_stop(iot, ioh, &vgabase, &saved);
331 et4k_stop(iot, ioh, &vgabase, &saved);
336 et4k_stop(iot, ioh, &vgabase, &saved);