Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/
H A 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()
199 if (wait_for_stat(chip, NSC_STATUS_IBF, 0, &data) < 0) { in tpm_nsc_send()
205 if (wait_for_stat(chip, NSC_STATUS_IBR, NSC_STATUS_IBR, &data) < 0) { in tpm_nsc_send()
211 if (wait_for_stat(chip, NSC_STATUS_IBF, 0, &data) < 0) { in tpm_nsc_send()
219 if (wait_for_stat(chip, NSC_STATUS_IBF, 0, &data) < 0) { in tpm_nsc_send()