Searched refs:delay_msec (Results 1 – 2 of 2) sorted by relevance
602 unsigned int delay_msec = TPM2_DURATION_SHORT; in tpm_transmit() local631 if (delay_msec > TPM2_DURATION_LONG) { in tpm_transmit()639 tpm_msleep(delay_msec); in tpm_transmit()640 delay_msec *= 2; in tpm_transmit()1095 unsigned int delay_msec = 100; in tpm_do_selftest() local1101 loops = jiffies_to_msecs(duration) / delay_msec; in tpm_do_selftest()1125 tpm_msleep(delay_msec); in tpm_do_selftest()1140 tpm_msleep(delay_msec); in tpm_do_selftest()
548 static inline void tpm_msleep(unsigned int delay_msec) in tpm_msleep() argument550 usleep_range((delay_msec * 1000) - TPM_TIMEOUT_RANGE_US, in tpm_msleep()551 delay_msec * 1000); in tpm_msleep()