Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/char/tpm/
Dtpm_i2c_nuvoton.c77 #define TPM_STS_VALID 0x80 macro
224 TPM_STS_DATA_AVAIL | TPM_STS_VALID, in i2c_nuvoton_wait_for_data_avail()
225 TPM_STS_DATA_AVAIL | TPM_STS_VALID, in i2c_nuvoton_wait_for_data_avail()
332 chip, TPM_STS_VALID | TPM_STS_DATA_AVAIL, in i2c_nuvoton_recv()
333 TPM_STS_VALID, chip->timeout_c, in i2c_nuvoton_recv()
395 TPM_STS_VALID | in i2c_nuvoton_send()
397 TPM_STS_VALID | in i2c_nuvoton_send()
422 TPM_STS_VALID | TPM_STS_EXPECT, in i2c_nuvoton_send()
423 TPM_STS_VALID, in i2c_nuvoton_send()
471 .req_complete_mask = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
[all …]
Dtpm_tis_i2c_cr50.c454 u8 mask = TPM_STS_VALID | TPM_STS_DATA_AVAIL; in tpm_cr50_i2c_tis_recv()
509 rc = tpm_cr50_i2c_get_burst_and_status(chip, TPM_STS_VALID, &burstcnt, &status); in tpm_cr50_i2c_tis_recv()
564 u8 mask = TPM_STS_VALID; in tpm_cr50_i2c_tis_send()
591 rc = tpm_cr50_i2c_get_burst_and_status(chip, TPM_STS_VALID, &burstcnt, &status); in tpm_cr50_i2c_tis_send()
650 .req_complete_mask = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
651 .req_complete_val = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
Dtpm_i2c_infineon.c295 TPM_STS_VALID = 0x80, enumerator
500 wait_for_stat(chip, TPM_STS_VALID, chip->timeout_c, &status); in tpm_tis_i2c_recv()
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()
607 .req_complete_mask = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
608 .req_complete_val = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
Dtpm_tis_core.c53 sts_mask &= ~TPM_STS_VALID; in tpm_tis_filter_sts_mask()
81 sts_mask = mask & (TPM_STS_VALID | TPM_STS_DATA_AVAIL | in wait_for_tpm_stat()
321 TPM_STS_DATA_AVAIL | TPM_STS_VALID, in recv_data()
377 if (wait_for_tpm_stat(chip, TPM_STS_VALID, chip->timeout_c, in tpm_tis_try_recv()
465 if (wait_for_tpm_stat(chip, TPM_STS_VALID, chip->timeout_c, in tpm_tis_send_data()
482 if (wait_for_tpm_stat(chip, TPM_STS_VALID, chip->timeout_c, in tpm_tis_send_data()
564 (chip, TPM_STS_DATA_AVAIL | TPM_STS_VALID, dur, in tpm_tis_send_main()
783 return ((status == TPM_STS_VALID) || in tpm_tis_req_canceled()
784 (status == (TPM_STS_VALID | TPM_STS_COMMAND_READY))); in tpm_tis_req_canceled()
786 return (status == (TPM_STS_VALID | TPM_STS_COMMAND_READY)); in tpm_tis_req_canceled()
[all …]
Dtpm_tis_core.h32 TPM_STS_VALID = 0x80, enumerator
/linux-6.12.1/drivers/char/tpm/st33zp24/
Dst33zp24.c42 TPM_STS_VALID = 0x80, enumerator
270 TPM_STS_DATA_AVAIL | TPM_STS_VALID, in recv_data()
367 ret = wait_for_stat(chip, TPM_STS_DATA_AVAIL | TPM_STS_VALID, in st33zp24_send()
431 .req_complete_mask = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
432 .req_complete_val = TPM_STS_DATA_AVAIL | TPM_STS_VALID,
573 TPM_STS_VALID, chip->timeout_b, in st33zp24_pm_resume()