Lines Matching refs:timeout_eff
769 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()
855 timeout_chip[1], timeout_eff[1], in tpm_get_timeouts()
856 timeout_chip[2], timeout_eff[2], in tpm_get_timeouts()
857 timeout_chip[3], timeout_eff[3]); in tpm_get_timeouts()
860 chip->timeout_a = usecs_to_jiffies(timeout_eff[0]); in tpm_get_timeouts()
861 chip->timeout_b = usecs_to_jiffies(timeout_eff[1]); in tpm_get_timeouts()
862 chip->timeout_c = usecs_to_jiffies(timeout_eff[2]); in tpm_get_timeouts()
863 chip->timeout_d = usecs_to_jiffies(timeout_eff[3]); in tpm_get_timeouts()