Lines Matching refs:tmo
632 tpm_tmotohz(int tmo)
636 tv.tv_sec = tmo / 1000;
637 tv.tv_usec = 1000 * (tmo % 1000);
712 tpm_waitfor_poll(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c)
720 while (((sc->sc_stat = tpm_status(sc)) & mask) != mask && tmo--) {
735 tpm_waitfor_int(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c,
767 to = tpm_tmotohz(tmo);
802 tpm_waitfor(struct tpm_softc *sc, u_int8_t b0, int tmo, void *c)
833 return tpm_waitfor_int(sc, b, tmo, c,
839 rv = tpm_waitfor_int(sc, b, tmo, c, TPM_STS_VALID_INT);
865 to = tpm_tmotohz(tmo);