Home
last modified time | relevance | path

Searched refs:sc_bahm (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/tpm/
H A Dtpm.c1020 if ((i = bus_space_map(sc->sc_batm, tpm_enabled, 2, 0, &sc->sc_bahm))) { in tpm_legacy_init()
1047 while (((r = bus_space_read_1(sc->sc_batm, sc->sc_bahm, 1)) & in tpm_legacy_start()
1072 !(bus_space_read_1(sc->sc_batm, sc->sc_bahm, 1) & in tpm_legacy_read()
1078 *p++ = bus_space_read_1(sc->sc_batm, sc->sc_bahm, 0); in tpm_legacy_read()
1094 bus_space_write_1(sc->sc_batm, sc->sc_bahm, 1, in tpm_legacy_write()
1098 bus_space_write_1(sc->sc_batm, sc->sc_bahm, 0, *p++); in tpm_legacy_write()
1113 bus_space_write_1(sc->sc_batm, sc->sc_bahm, 1, TPM_LEGACY_ABRT); in tpm_legacy_end()
1118 while(((r = bus_space_read_1(sc->sc_batm, sc->sc_bahm, 1)) & in tpm_legacy_end()
H A Dtpmvar.h35 bus_space_handle_t sc_bh, sc_bahm; member