ioh2              118 dev/eisa/bha_eisa.c 	bus_space_handle_t ioh, ioh2;
ioh2              133 dev/eisa/bha_eisa.c 	    bus_space_map(iot, port, BHA_ISA_IOSIZE, 0, &ioh2)) {
ioh2              138 dev/eisa/bha_eisa.c 	rv = bha_find(iot, ioh2, NULL);
ioh2              140 dev/eisa/bha_eisa.c 	bus_space_unmap(iot, ioh2, BHA_ISA_IOSIZE);
ioh2              157 dev/eisa/bha_eisa.c 	bus_space_handle_t ioh, ioh2;
ioh2              179 dev/eisa/bha_eisa.c 	    bus_space_map(iot, port, BHA_ISA_IOSIZE, 0, &ioh2)) {
ioh2              185 dev/eisa/bha_eisa.c 	sc->sc_ioh = ioh2;
ioh2              187 dev/eisa/bha_eisa.c 	if (!bha_find(iot, ioh2, &bpd)) {
ioh2              668 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2              686 dev/isa/gus.c  		    SELECT_GUS_REG(iot, ioh2, GUSREG_SAMPLE_CONTROL);
ioh2              687 dev/isa/gus.c  		    intr = bus_space_read_1(iot, ioh2, GUS_DATA_HIGH);
ioh2              731 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2              740 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DMA_CONTROL);
ioh2              741 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0);
ioh2              763 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2              770 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DMA_CONTROL);
ioh2              771 dev/isa/gus.c  	if (bus_space_read_1(iot, ioh2, GUS_DATA_HIGH) & GUSMASK_DMA_IRQPEND) {
ioh2              784 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2              808 dev/isa/gus.c  	      guspoke(iot, ioh2, sc->sc_gusaddr -
ioh2              814 dev/isa/gus.c  	    guspoke(iot, ioh2, sc->sc_gusaddr -
ioh2              816 dev/isa/gus.c  		    guspeek(iot, ioh2,
ioh2              822 dev/isa/gus.c  	    guspoke(iot, ioh2, sc->sc_gusaddr -
ioh2              824 dev/isa/gus.c  		    guspeek(iot, ioh2,
ioh2              900 dev/isa/gus.c  		bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, GUS_VOICE_LEFT);
ioh2              901 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL);
ioh2              902 dev/isa/gus.c  		bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[GUS_VOICE_LEFT].voccntl);
ioh2              903 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_VOLUME_CONTROL);
ioh2              904 dev/isa/gus.c  		bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[GUS_VOICE_LEFT].volcntl);
ioh2              938 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2              949 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_IRQ_STATUS);
ioh2              950 dev/isa/gus.c  		intr = bus_space_read_1(iot, ioh2, GUS_DATA_HIGH);
ioh2              979 dev/isa/gus.c  		    SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL+0x80);
ioh2              980 dev/isa/gus.c  		    status = bus_space_read_1(iot, ioh2, GUS_DATA_HIGH);
ioh2             1088 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1110 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, GUS_VOICE_LEFT);
ioh2             1112 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL);
ioh2             1113 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[GUS_VOICE_LEFT].voccntl);
ioh2             1115 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOLUME_CONTROL);
ioh2             1116 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[GUS_VOICE_LEFT].volcntl);
ioh2             1149 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, GUS_VOICE_RIGHT);
ioh2             1150 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL);
ioh2             1151 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[GUS_VOICE_RIGHT].voccntl);
ioh2             1152 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOLUME_CONTROL);
ioh2             1153 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[GUS_VOICE_RIGHT].volcntl);
ioh2             1168 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1174 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL);
ioh2             1175 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[voice].voccntl & ~(GUSMASK_VOICE_IRQ));
ioh2             1252 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL);
ioh2             1253 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[voice].voccntl);
ioh2             1254 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOLUME_CONTROL);
ioh2             1255 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[voice].volcntl);
ioh2             1272 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1298 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DMA_CONTROL);
ioh2             1299 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0);
ioh2             1316 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DMA_START);
ioh2             1317 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, (int) (gusaddr >> 4));
ioh2             1323 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DMA_CONTROL);
ioh2             1324 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, c);
ioh2             1344 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1374 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, (unsigned char) voice);
ioh2             1376 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_START_ADDR_HIGH);
ioh2             1377 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, ADDR_HIGH(start));
ioh2             1378 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_START_ADDR_LOW);
ioh2             1379 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, ADDR_LOW(start));
ioh2             1381 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_ADDR_HIGH);
ioh2             1382 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, ADDR_HIGH(current));
ioh2             1383 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_ADDR_LOW);
ioh2             1384 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, ADDR_LOW(current));
ioh2             1386 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_END_ADDR_HIGH);
ioh2             1387 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, ADDR_HIGH(end));
ioh2             1388 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_END_ADDR_LOW);
ioh2             1389 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, ADDR_LOW(end));
ioh2             1409 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_START_VOLUME);
ioh2             1410 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x00);
ioh2             1411 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_END_VOLUME);
ioh2             1412 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[voice].current_volume >> 4);
ioh2             1413 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_VOLUME);
ioh2             1414 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x00);
ioh2             1415 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOLUME_RATE);
ioh2             1416 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 63);
ioh2             1418 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL);
ioh2             1419 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[voice].voccntl);
ioh2             1420 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOLUME_CONTROL);
ioh2             1421 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x00);
ioh2             1423 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL);
ioh2             1424 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[voice].voccntl);
ioh2             1425 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOLUME_CONTROL);
ioh2             1426 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x00);
ioh2             1441 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1452 dev/isa/gus.c  	guspoke(iot, ioh2, 0L, 0);
ioh2             1454 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, (unsigned char) voice);
ioh2             1456 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_VOLUME);
ioh2             1457 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             1458 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL);
ioh2             1459 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[voice].voccntl);
ioh2             1461 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_VOLUME);
ioh2             1462 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             1463 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL);
ioh2             1464 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[voice].voccntl);
ioh2             1466 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_ADDR_HIGH);
ioh2             1467 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             1468 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_ADDR_LOW);
ioh2             1469 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             1483 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1490 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, (unsigned char) voice);
ioh2             1492 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_START_VOLUME);
ioh2             1493 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, (unsigned char) (gusvol >> 4));
ioh2             1495 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_END_VOLUME);
ioh2             1496 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, (unsigned char) (gusvol >> 4));
ioh2             1498 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_VOLUME);
ioh2             1499 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, gusvol << 4);
ioh2             1501 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, gusvol << 4);
ioh2             1656 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1661 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_ACTIVE_VOICES);
ioh2             1662 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, (voices-1) | 0xc0);
ioh2             1755 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1775 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, (unsigned char) voice);
ioh2             1776 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_FREQ_CONTROL);
ioh2             1777 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, fc);
ioh2             1794 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1803 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_SAMPLE_FREQ);
ioh2             1804 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, realrate);
ioh2             1904 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1911 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_END_ADDR_HIGH);
ioh2             1912 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, ADDR_HIGH(addr));
ioh2             1913 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_END_ADDR_LOW);
ioh2             1914 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, ADDR_LOW(addr));
ioh2             1929 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1936 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, (unsigned char) voice);
ioh2             1938 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_ADDR_HIGH);
ioh2             1939 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, ADDR_HIGH(addr));
ioh2             1940 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_ADDR_LOW);
ioh2             1941 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, ADDR_LOW(addr));
ioh2             1954 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             1957 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, (unsigned char) voice);
ioh2             1958 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_ADDR_HIGH|GUSREG_READ);
ioh2             1959 dev/isa/gus.c  	addr = (bus_space_read_2(iot, ioh2, GUS_DATA_LOW) & 0x1fff) << 7;
ioh2             1960 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_ADDR_LOW|GUSREG_READ);
ioh2             1961 dev/isa/gus.c  	addr |= (bus_space_read_2(iot, ioh2, GUS_DATA_LOW) >> 9L) & 0x7f;
ioh2             1997 dev/isa/gus.c  guspoke(iot, ioh2, address, value)
ioh2             1999 dev/isa/gus.c  	bus_space_handle_t ioh2;
ioh2             2008 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DRAM_ADDR_LOW);
ioh2             2009 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, (unsigned int) (address & 0xffff));
ioh2             2010 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DRAM_ADDR_HIGH);
ioh2             2011 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, (unsigned char) ((address >> 16) & 0xff));
ioh2             2017 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DRAM_DATA, value);
ioh2             2025 dev/isa/gus.c  guspeek(iot, ioh2, address)
ioh2             2027 dev/isa/gus.c  	bus_space_handle_t ioh2;
ioh2             2035 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DRAM_ADDR_LOW);
ioh2             2036 dev/isa/gus.c  	bus_space_write_2(iot, ioh2, GUS_DATA_LOW, (unsigned int) (address & 0xffff));
ioh2             2037 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DRAM_ADDR_HIGH);
ioh2             2038 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, (unsigned char) ((address >> 16) & 0xff));
ioh2             2044 dev/isa/gus.c  	return (unsigned char) bus_space_read_1(iot, ioh2, GUS_DRAM_DATA);
ioh2             2058 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             2068 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_RESET);
ioh2             2069 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x00);
ioh2             2077 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_RESET);
ioh2             2078 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, GUSMASK_MASTER_RESET);
ioh2             2096 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DMA_CONTROL);
ioh2             2097 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x00);
ioh2             2098 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_TIMER_CONTROL);
ioh2             2099 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x00);
ioh2             2100 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_SAMPLE_CONTROL);
ioh2             2101 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x00);
ioh2             2106 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DMA_CONTROL);
ioh2             2107 dev/isa/gus.c  	bus_space_read_1(iot, ioh2, GUS_DATA_HIGH);
ioh2             2108 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_SAMPLE_CONTROL);
ioh2             2109 dev/isa/gus.c  	bus_space_read_1(iot, ioh2, GUS_DATA_HIGH);
ioh2             2110 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_IRQ_STATUS);
ioh2             2111 dev/isa/gus.c  	bus_space_read_1(iot, ioh2, GUS_DATA_HIGH);
ioh2             2118 dev/isa/gus.c  		bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, (unsigned char) i);
ioh2             2120 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_VOICE_CNTL);
ioh2             2125 dev/isa/gus.c  		bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[i].voccntl);
ioh2             2130 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_VOLUME_CONTROL);
ioh2             2131 dev/isa/gus.c  		bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, sc->sc_voc[i].volcntl);
ioh2             2136 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_START_ADDR_HIGH);
ioh2             2137 dev/isa/gus.c  		bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             2138 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_START_ADDR_LOW);
ioh2             2139 dev/isa/gus.c  		bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             2140 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_END_ADDR_HIGH);
ioh2             2141 dev/isa/gus.c  		bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             2142 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_END_ADDR_LOW);
ioh2             2143 dev/isa/gus.c  		bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             2144 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_VOLUME_RATE);
ioh2             2145 dev/isa/gus.c  		bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x01);
ioh2             2146 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_START_VOLUME);
ioh2             2147 dev/isa/gus.c  		bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x10);
ioh2             2148 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_END_VOLUME);
ioh2             2149 dev/isa/gus.c  		bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0xe0);
ioh2             2150 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_VOLUME);
ioh2             2151 dev/isa/gus.c  		bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             2153 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_ADDR_HIGH);
ioh2             2154 dev/isa/gus.c  		bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             2155 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_CUR_ADDR_LOW);
ioh2             2156 dev/isa/gus.c  		bus_space_write_2(iot, ioh2, GUS_DATA_LOW, 0x0000);
ioh2             2157 dev/isa/gus.c  		SELECT_GUS_REG(iot, ioh2, GUSREG_PAN_POS);
ioh2             2158 dev/isa/gus.c  		bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x07);
ioh2             2166 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DMA_CONTROL);
ioh2             2167 dev/isa/gus.c  	bus_space_read_1(iot, ioh2, GUS_DATA_HIGH);
ioh2             2168 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_SAMPLE_CONTROL);
ioh2             2169 dev/isa/gus.c  	bus_space_read_1(iot, ioh2, GUS_DATA_HIGH);
ioh2             2170 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_IRQ_STATUS);
ioh2             2171 dev/isa/gus.c  	bus_space_read_1(iot, ioh2, GUS_DATA_HIGH);
ioh2             2173 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_RESET);
ioh2             2174 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, GUSMASK_MASTER_RESET | GUSMASK_DAC_ENABLE |
ioh2             2291 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             2323 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_SAMPLE_CONTROL);
ioh2             2324 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, dmac);	/* Go! */
ioh2             2386 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             2393 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_DMA_CONTROL);
ioh2             2394 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0);
ioh2             2422 dev/isa/gus.c  	bus_space_handle_t ioh2 = sc->sc_ioh2;
ioh2             2429 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_SAMPLE_CONTROL);
ioh2             2430 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH,
ioh2             2431 dev/isa/gus.c  	     bus_space_read_1(iot, ioh2, GUS_DATA_HIGH) & ~(GUSMASK_SAMPLE_START|GUSMASK_SAMPLE_IRQ));
ioh2             3637 dev/isa/gus.c  	bus_space_handle_t ioh1, ioh2, ioh3, ioh4;
ioh2             3644 dev/isa/gus.c  	if (bus_space_map(iot, iobase+GUS_IOH2_OFFSET, GUS_NPORT2, 0, &ioh2))
ioh2             3662 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_RESET);
ioh2             3663 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, 0x00);
ioh2             3667 dev/isa/gus.c  	SELECT_GUS_REG(iot, ioh2, GUSREG_RESET);
ioh2             3668 dev/isa/gus.c  	bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, GUSMASK_MASTER_RESET);
ioh2             3678 dev/isa/gus.c  	s1 = guspeek(iot, ioh2, 0L);
ioh2             3679 dev/isa/gus.c  	s2 = guspeek(iot, ioh2, 1L);
ioh2             3681 dev/isa/gus.c  	guspoke(iot, ioh2, 0L, 0xaa);
ioh2             3682 dev/isa/gus.c  	guspoke(iot, ioh2, 1L, 0x55);
ioh2             3684 dev/isa/gus.c  	if (guspeek(iot, ioh2, 0L) != 0xaa)
ioh2             3687 dev/isa/gus.c  	guspoke(iot, ioh2, 0L, s1);
ioh2             3688 dev/isa/gus.c  	guspoke(iot, ioh2, 1L, s2);
ioh2             3697 dev/isa/gus.c  	bus_space_unmap(iot, ioh2, GUS_NPORT2);