Searched refs:wait_for_stat (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/char/tpm/ |
H A D | tpm_nsc.c | 70 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()
|
H A D | tpm_i2c_infineon.c | 413 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/drivers/char/tpm/st33zp24/ |
H A D | st33zp24.c | 205 static int wait_for_stat(struct tpm_chip *chip, u8 mask, unsigned long timeout, in wait_for_stat() function 269 wait_for_stat(chip, in recv_data() 321 if (wait_for_stat in st33zp24_send() 367 ret = wait_for_stat(chip, TPM_STS_DATA_AVAIL | TPM_STS_VALID, in st33zp24_send() 572 ret = wait_for_stat(chip, in st33zp24_pm_resume()
|