Home
last modified time | relevance | path

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

/drivers/char/tpm/
Dtpm1-cmd.c345 unsigned long timeout_old[4], timeout_chip[4], timeout_eff[4]; in tpm1_get_timeouts() local
374 memcpy(timeout_eff, timeout_chip, sizeof(timeout_eff)); in tpm1_get_timeouts()
381 chip->ops->update_timeouts(chip, timeout_eff); in tpm1_get_timeouts()
387 for (i = 0; i < ARRAY_SIZE(timeout_eff); i++) { in tpm1_get_timeouts()
388 if (timeout_eff[i]) in tpm1_get_timeouts()
391 timeout_eff[i] = timeout_old[i]; in tpm1_get_timeouts()
395 if (timeout_eff[0] != 0 && timeout_eff[0] < 1000) { in tpm1_get_timeouts()
397 for (i = 0; i != ARRAY_SIZE(timeout_eff); i++) in tpm1_get_timeouts()
398 timeout_eff[i] *= 1000; in tpm1_get_timeouts()
406 timeout_chip[0], timeout_eff[0], in tpm1_get_timeouts()
[all …]