Lines Matching refs:memt
233 ega_probe_col(bus_space_tag_t iot, bus_space_tag_t memt)
238 if (bus_space_map(memt, 0xb8000, 0x8000, 0, &memh))
240 oldval = bus_space_read_2(memt, memh, 0);
241 bus_space_write_2(memt, memh, 0, 0xa55a);
242 val = bus_space_read_2(memt, memh, 0);
243 bus_space_write_2(memt, memh, 0, oldval);
244 bus_space_unmap(memt, memh, 0x8000);
256 ega_probe_mono(bus_space_tag_t iot, bus_space_tag_t memt)
261 if (bus_space_map(memt, 0xb0000, 0x8000, 0, &memh))
263 oldval = bus_space_read_2(memt, memh, 0);
264 bus_space_write_2(memt, memh, 0, 0xa55a);
265 val = bus_space_read_2(memt, memh, 0);
266 bus_space_write_2(memt, memh, 0, oldval);
267 bus_space_unmap(memt, memh, 0x8000);
393 ega_init(struct ega_config *vc, bus_space_tag_t iot, bus_space_tag_t memt, int mono)
399 vh->vh_memt = memt;
528 ega_cnattach(bus_space_tag_t iot, bus_space_tag_t memt)
534 if (ega_probe_col(iot, memt))
536 else if (ega_probe_mono(iot, memt))
541 ega_init(&ega_console_dc, iot, memt, mono);
836 bus_space_tag_t memt = scr->pcs.hdl->ph_memt;
858 bus_space_copy_region_2(memt, memh,
874 bus_space_copy_region_2(memt, memh,