Lines Matching full:tmo
485 tpm_tmotohz(int tmo) in tpm_tmotohz() argument
489 tv.tv_sec = tmo / 1000; in tpm_tmotohz()
490 tv.tv_usec = 1000 * (tmo % 1000); in tpm_tmotohz()
541 tpm_waitfor_poll(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c) in tpm_waitfor_poll() argument
549 while (((sc->sc_stat = tpm_status(sc)) & mask) != mask && tmo--) { in tpm_waitfor_poll()
564 tpm_waitfor_int(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c, in tpm_waitfor_int() argument
596 to = tpm_tmotohz(tmo); in tpm_waitfor_int()
631 tpm_waitfor(struct tpm_softc *sc, u_int8_t b0, int tmo, void *c) in tpm_waitfor() argument
662 return tpm_waitfor_int(sc, b, tmo, c, in tpm_waitfor()
668 rv = tpm_waitfor_int(sc, b, tmo, c, TPM_STS_VALID_INT); in tpm_waitfor()
694 to = tpm_tmotohz(tmo); in tpm_waitfor()