Searched refs:wait_for_stat (Results 1 – 2 of 2) sorted by relevance
/drivers/char/tpm/ |
D | tpm_nsc.c | 69 static int wait_for_stat(struct tpm_chip *chip, u8 mask, u8 val, u8 * data) in wait_for_stat() function 130 if (wait_for_stat(chip, NSC_STATUS_F0, NSC_STATUS_F0, &data) < 0) { in tpm_nsc_recv() 143 if (wait_for_stat in tpm_nsc_recv() 155 (wait_for_stat(chip, NSC_STATUS_F0, NSC_STATUS_F0, &data) < 0)) { in tpm_nsc_recv() 190 if (wait_for_stat(chip, NSC_STATUS_IBF, 0, &data) < 0) { in tpm_nsc_send() 196 if (wait_for_stat(chip, NSC_STATUS_IBR, NSC_STATUS_IBR, &data) < 0) { in tpm_nsc_send() 202 if (wait_for_stat(chip, NSC_STATUS_IBF, 0, &data) < 0) { in tpm_nsc_send() 210 if (wait_for_stat(chip, NSC_STATUS_IBF, 0, &data) < 0) { in tpm_nsc_send()
|
D | tpm_tis.c | 165 static int wait_for_stat(struct tpm_chip *chip, u8 mask, unsigned long timeout, in wait_for_stat() function 200 wait_for_stat(chip, in recv_data() 245 wait_for_stat(chip, TPM_STS_VALID, chip->vendor.timeout_c, in tpm_tis_recv() 277 if (wait_for_stat in tpm_tis_send() 293 wait_for_stat(chip, TPM_STS_VALID, chip->vendor.timeout_c, in tpm_tis_send() 306 wait_for_stat(chip, TPM_STS_VALID, chip->vendor.timeout_c, in tpm_tis_send() 320 if (wait_for_stat in tpm_tis_send()
|