Lines Matching defs:ioh
955 tpm_legacy_in(bus_space_tag_t iot, bus_space_handle_t ioh, int reg)
957 bus_space_write_1(iot, ioh, 0, reg);
958 return bus_space_read_1(iot, ioh, 1);
964 tpm_legacy_out(bus_space_tag_t iot, bus_space_handle_t ioh, int reg, u_int8_t v)
966 bus_space_write_1(iot, ioh, 0, reg);
967 bus_space_write_1(iot, ioh, 1, v);
975 bus_space_handle_t ioh;
983 if (bus_space_map(iot, iobase, 2, 0, &ioh))
986 v = bus_space_read_1(iot, ioh, 0);
988 bus_space_unmap(iot, ioh, 2);
991 r = bus_space_read_1(iot, ioh, 1);
994 id[i] = tpm_legacy_in(iot, ioh, TPM_ID + i);
1008 bus_space_write_1(iot, ioh, r, 1);
1009 bus_space_write_1(iot, ioh, v, 0);
1011 bus_space_unmap(iot, ioh, 2);
1021 u_int8_t ioh, iol;
1035 ioh = tpm_enabled >> 16;