Lines Matching refs:tmo
628 tpm_tmotohz(int tmo) in tpm_tmotohz() argument
632 tv.tv_sec = tmo / 1000; in tpm_tmotohz()
633 tv.tv_usec = 1000 * (tmo % 1000); in tpm_tmotohz()
708 tpm_waitfor_poll(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c) in tpm_waitfor_poll() argument
716 while (((sc->sc_stat = tpm_status(sc)) & mask) != mask && tmo--) { in tpm_waitfor_poll()
731 tpm_waitfor_int(struct tpm_softc *sc, u_int8_t mask, int tmo, void *c, in tpm_waitfor_int() argument
763 to = tpm_tmotohz(tmo); in tpm_waitfor_int()
798 tpm_waitfor(struct tpm_softc *sc, u_int8_t b0, int tmo, void *c) in tpm_waitfor() argument
829 return tpm_waitfor_int(sc, b, tmo, c, in tpm_waitfor()
835 rv = tpm_waitfor_int(sc, b, tmo, c, TPM_STS_VALID_INT); in tpm_waitfor()
861 to = tpm_tmotohz(tmo); in tpm_waitfor()