Lines Matching refs:tmo
486 tpm_tmotohz(int tmo) in tpm_tmotohz() argument
490 tv.tv_sec = tmo / 1000; in tpm_tmotohz()
491 tv.tv_usec = 1000 * (tmo % 1000); in tpm_tmotohz()
542 tpm_waitfor_poll(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c) in tpm_waitfor_poll() argument
550 while (((sc->sc_stat = tpm_status(sc)) & mask) != mask && tmo--) { in tpm_waitfor_poll()
565 tpm_waitfor_int(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c, in tpm_waitfor_int() argument
597 to = tpm_tmotohz(tmo); in tpm_waitfor_int()
632 tpm_waitfor(struct tpm_softc *sc, u_int8_t b0, int tmo, void *c) in tpm_waitfor() argument
663 return tpm_waitfor_int(sc, b, tmo, c, in tpm_waitfor()
669 rv = tpm_waitfor_int(sc, b, tmo, c, TPM_STS_VALID_INT); in tpm_waitfor()
695 to = tpm_tmotohz(tmo); in tpm_waitfor()