Lines Matching defs:iot
1135 tpm_legacy_in(bus_space_tag_t iot, bus_space_handle_t ioh, int reg)
1137 bus_space_write_1(iot, ioh, 0, reg);
1138 return bus_space_read_1(iot, ioh, 1);
1144 tpm_legacy_out(bus_space_tag_t iot, bus_space_handle_t ioh, int reg, u_int8_t v)
1146 bus_space_write_1(iot, ioh, 0, reg);
1147 bus_space_write_1(iot, ioh, 1, v);
1153 tpm_legacy_probe(bus_space_tag_t iot, bus_addr_t iobase)
1163 if (bus_space_map(iot, iobase, 2, 0, &ioh))
1166 v = bus_space_read_1(iot, ioh, 0);
1168 bus_space_unmap(iot, ioh, 2);
1171 r = bus_space_read_1(iot, ioh, 1);
1174 id[i] = tpm_legacy_in(iot, ioh, TPM_ID + i);
1188 bus_space_write_1(iot, ioh, r, 1);
1189 bus_space_write_1(iot, ioh, v, 0);
1191 bus_space_unmap(iot, ioh, 2);