Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/char/tpm/
Dtpm_i2c_nuvoton.c90 #define TPM_STS_VALID 0x80 macro
237 TPM_STS_DATA_AVAIL | TPM_STS_VALID, in i2c_nuvoton_wait_for_data_avail()
238 TPM_STS_DATA_AVAIL | TPM_STS_VALID, in i2c_nuvoton_wait_for_data_avail()
345 chip, TPM_STS_VALID | TPM_STS_DATA_AVAIL, in i2c_nuvoton_recv()
346 TPM_STS_VALID, chip->timeout_c, in i2c_nuvoton_recv()
407 TPM_STS_VALID | in i2c_nuvoton_send()
409 TPM_STS_VALID | in i2c_nuvoton_send()
434 TPM_STS_VALID | TPM_STS_EXPECT, in i2c_nuvoton_send()
435 TPM_STS_VALID, in i2c_nuvoton_send()
483 .req_complete_mask = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
[all …]
Dtpm_tis_core.c289 TPM_STS_DATA_AVAIL | TPM_STS_VALID, in recv_data()
344 if (wait_for_tpm_stat(chip, TPM_STS_VALID, chip->timeout_c, in tpm_tis_recv()
399 if (wait_for_tpm_stat(chip, TPM_STS_VALID, chip->timeout_c, in tpm_tis_send_data()
416 if (wait_for_tpm_stat(chip, TPM_STS_VALID, chip->timeout_c, in tpm_tis_send_data()
482 (chip, TPM_STS_DATA_AVAIL | TPM_STS_VALID, dur, in tpm_tis_send_main()
618 return ((status == TPM_STS_VALID) || in tpm_tis_req_canceled()
619 (status == (TPM_STS_VALID | TPM_STS_COMMAND_READY))); in tpm_tis_req_canceled()
621 return (status == (TPM_STS_VALID | TPM_STS_COMMAND_READY)); in tpm_tis_req_canceled()
850 .req_complete_mask = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
851 .req_complete_val = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
Dtpm_i2c_infineon.c300 TPM_STS_VALID = 0x80, enumerator
505 wait_for_stat(chip, TPM_STS_VALID, chip->timeout_c, &status); in tpm_tis_i2c_recv()
570 wait_for_stat(chip, TPM_STS_VALID, in tpm_tis_i2c_send()
581 wait_for_stat(chip, TPM_STS_VALID, chip->timeout_c, &status); in tpm_tis_i2c_send()
612 .req_complete_mask = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
613 .req_complete_val = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
Dtpm_tis_core.h36 TPM_STS_VALID = 0x80, enumerator
/Linux-v4.19/drivers/char/tpm/st33zp24/
Dst33zp24.c53 TPM_STS_VALID = 0x80, enumerator
323 TPM_STS_DATA_AVAIL | TPM_STS_VALID, in recv_data()
432 ret = wait_for_stat(chip, TPM_STS_DATA_AVAIL | TPM_STS_VALID, in st33zp24_send()
510 .req_complete_mask = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
511 .req_complete_val = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
647 TPM_STS_VALID, chip->timeout_b, in st33zp24_pm_resume()