Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/char/tpm/
Dtpm_i2c_nuvoton.c77 #define TPM_STS_COMMAND_READY 0x40 macro
127 status = i2c_nuvoton_write_status(client, TPM_STS_COMMAND_READY); in i2c_nuvoton_ready()
364 if (i2c_nuvoton_wait_for_stat(chip, TPM_STS_COMMAND_READY, in i2c_nuvoton_send()
365 TPM_STS_COMMAND_READY, in i2c_nuvoton_send()
461 return (status == TPM_STS_COMMAND_READY); in i2c_nuvoton_req_canceled()
592 TPM_STS_COMMAND_READY, in i2c_nuvoton_probe()
593 TPM_STS_COMMAND_READY, in i2c_nuvoton_probe()
Dtpm_i2c_infineon.c296 TPM_STS_COMMAND_READY = 0x40, enumerator
385 u8 buf = TPM_STS_COMMAND_READY; in tpm_tis_i2c_ready()
532 if ((status & TPM_STS_COMMAND_READY) == 0) { in tpm_tis_i2c_send()
535 (chip, TPM_STS_COMMAND_READY, in tpm_tis_i2c_send()
598 return (status == TPM_STS_COMMAND_READY); in tpm_tis_i2c_req_canceled()
Dtpm_tis_i2c_cr50.c390 u8 buf[4] = { TPM_STS_COMMAND_READY }; in tpm_cr50_i2c_tis_set_ready()
523 if (tpm_cr50_i2c_tis_status(chip) & TPM_STS_COMMAND_READY) in tpm_cr50_i2c_tis_recv()
554 while (!(tpm_cr50_i2c_tis_status(chip) & TPM_STS_COMMAND_READY)) { in tpm_cr50_i2c_tis_send()
611 if (tpm_cr50_i2c_tis_status(chip) & TPM_STS_COMMAND_READY) in tpm_cr50_i2c_tis_send()
628 return status == TPM_STS_COMMAND_READY; in tpm_cr50_i2c_req_canceled()
Dtpm_tis_core.c59 sts_mask &= ~TPM_STS_COMMAND_READY; in tpm_tis_filter_sts_mask()
82 TPM_STS_COMMAND_READY); in wait_for_tpm_stat()
286 tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_COMMAND_READY); in tpm_tis_ready()
440 if ((status & TPM_STS_COMMAND_READY) == 0) { in tpm_tis_send_data()
443 (chip, TPM_STS_COMMAND_READY, chip->timeout_b, in tpm_tis_send_data()
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()
792 return status == TPM_STS_COMMAND_READY; in tpm_tis_req_canceled()
Dtpm_tis_core.h33 TPM_STS_COMMAND_READY = 0x40, enumerator
/Linux-v6.6/drivers/char/tpm/st33zp24/
Dst33zp24.c43 TPM_STS_COMMAND_READY = 0x40, enumerator
84 data = TPM_STS_COMMAND_READY; in st33zp24_cancel()
319 if ((status & TPM_STS_COMMAND_READY) == 0) { in st33zp24_send()
322 (chip, TPM_STS_COMMAND_READY, chip->timeout_b, in st33zp24_send()
422 return (status == TPM_STS_COMMAND_READY); in st33zp24_req_canceled()