Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/char/tpm/
Dtpm_nsc.c70 static int wait_for_stat(struct tpm_chip *chip, u8 mask, u8 val, u8 * data) in wait_for_stat() function
134 if (wait_for_stat(chip, NSC_STATUS_F0, NSC_STATUS_F0, &data) < 0) { in tpm_nsc_recv()
148 if (wait_for_stat in tpm_nsc_recv()
160 (wait_for_stat(chip, NSC_STATUS_F0, NSC_STATUS_F0, &data) < 0)) { in tpm_nsc_recv()
198 if (wait_for_stat(chip, NSC_STATUS_IBF, 0, &data) < 0) { in tpm_nsc_send()
204 if (wait_for_stat(chip, NSC_STATUS_IBR, NSC_STATUS_IBR, &data) < 0) { in tpm_nsc_send()
210 if (wait_for_stat(chip, NSC_STATUS_IBF, 0, &data) < 0) { in tpm_nsc_send()
218 if (wait_for_stat(chip, NSC_STATUS_IBF, 0, &data) < 0) { in tpm_nsc_send()
Dtpm_i2c_infineon.c413 static int wait_for_stat(struct tpm_chip *chip, u8 mask, unsigned long timeout, in wait_for_stat() function
500 wait_for_stat(chip, TPM_STS_VALID, chip->timeout_c, &status); in tpm_tis_i2c_recv()
534 if (wait_for_stat in tpm_tis_i2c_send()
565 wait_for_stat(chip, TPM_STS_VALID, in tpm_tis_i2c_send()
576 wait_for_stat(chip, TPM_STS_VALID, chip->timeout_c, &status); in tpm_tis_i2c_send()
/Linux-v5.10/drivers/char/tpm/st33zp24/
Dst33zp24.c239 static int wait_for_stat(struct tpm_chip *chip, u8 mask, unsigned long timeout, in wait_for_stat() function
310 wait_for_stat(chip, in recv_data()
374 if (wait_for_stat in st33zp24_send()
420 ret = wait_for_stat(chip, TPM_STS_DATA_AVAIL | TPM_STS_VALID, in st33zp24_send()
634 ret = wait_for_stat(chip, in st33zp24_pm_resume()