Home | History | Annotate | Download | only in isa

Lines Matching refs:memt

136 pcdisplay_probe_col(bus_space_tag_t iot, bus_space_tag_t memt)
141 if (bus_space_map(memt, 0xb8000, 0x8000, 0, &memh))
143 oldval = bus_space_read_2(memt, memh, 0);
144 bus_space_write_2(memt, memh, 0, 0xa55a);
145 val = bus_space_read_2(memt, memh, 0);
146 bus_space_write_2(memt, memh, 0, oldval);
147 bus_space_unmap(memt, memh, 0x8000);
159 pcdisplay_probe_mono(bus_space_tag_t iot, bus_space_tag_t memt)
164 if (bus_space_map(memt, 0xb0000, 0x8000, 0, &memh))
166 oldval = bus_space_read_2(memt, memh, 0);
167 bus_space_write_2(memt, memh, 0, 0xa55a);
168 val = bus_space_read_2(memt, memh, 0);
169 bus_space_write_2(memt, memh, 0, oldval);
170 bus_space_unmap(memt, memh, 0x8000);
183 bus_space_tag_t memt, int mono)
189 ph->ph_memt = memt;
192 if (bus_space_map(memt, mono ? 0xb0000 : 0xb8000, 0x8000,
337 pcdisplay_cnattach(bus_space_tag_t iot, bus_space_tag_t memt)
341 if (pcdisplay_probe_col(iot, memt))
343 else if (pcdisplay_probe_mono(iot, memt))
348 pcdisplay_init(&pcdisplay_console_dc, iot, memt, mono);