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