Home
last modified time | relevance | path

Searched refs:timeout_eff (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/char/tpm/
Dtpm-interface.c769 unsigned long timeout_old[4], timeout_chip[4], timeout_eff[4]; in tpm_get_timeouts() local
820 memcpy(timeout_eff, timeout_chip, sizeof(timeout_eff)); in tpm_get_timeouts()
828 chip->ops->update_timeouts(chip, timeout_eff); in tpm_get_timeouts()
834 for (i = 0; i < ARRAY_SIZE(timeout_eff); i++) { in tpm_get_timeouts()
835 if (timeout_eff[i]) in tpm_get_timeouts()
838 timeout_eff[i] = timeout_old[i]; in tpm_get_timeouts()
842 if (timeout_eff[0] != 0 && timeout_eff[0] < 1000) { in tpm_get_timeouts()
844 for (i = 0; i != ARRAY_SIZE(timeout_eff); i++) in tpm_get_timeouts()
845 timeout_eff[i] *= 1000; in tpm_get_timeouts()
854 timeout_chip[0], timeout_eff[0], in tpm_get_timeouts()
[all …]