Lines Matching full:tpm

2  * STMicroelectronics TPM ST33ZP24 SPI UBOOT driver
6 * Description: Device driver for ST33ZP24 SPI TPM TCG.
8 * This device driver implements the TPM interface as defined in
9 * the TCG TPM Interface Spec version 1.21, revision 1.0 and the
19 #include <tpm.h>
58 * TPM command can be up to 2048 byte, A TPM response can be up to
65 * 2048 (for the TPM command) + 1024 (for the TPM answer). We need
105 * Send byte to TPM register according to the ST33ZP24 SPI protocol.
106 * @param: tpm, the chip description
107 * @param: tpm_register, the tpm tis register where the data should be written
156 * @param: tpm, the chip description
158 * @param: tpm_register, the tpm tis register where the data should be read
159 * @param: tpm_data, the TPM response
160 * @param: tpm_size, tpm TPM response size to read.
203 * @param: tpm_register, the tpm tis register where the data should be read
204 * @param: tpm_data, the TPM response
205 * @param: tpm_size, tpm TPM response size to read.
242 * @param: chip, the tpm chip description.
253 * @param: chip, the tpm chip description
272 * st33zp24_spi_request_locality request the TPM locality
305 * @param: chip, the tpm chip description
367 * @param: chip, the tpm chip description
371 * @return: the tpm status, 0 if success, -ETIME if timeout is reached.
397 * @param: chip, the tpm chip description
400 * @return: the number of bytes read from TPM FIFO.
424 * st33zp24_spi_recv received TPM response through TPM phy.
445 debug("TPM error, unable to read header\n"); in st33zp24_spi_recv()
458 debug("TPM error, unable to read remaining bytes of result\n"); in st33zp24_spi_recv()
471 * st33zp24_spi_send send TPM commands through TPM phy.
550 * The TPM needs some time to clean up here, in st33zp24_spi_cleanup()
579 * A timeout query to TPM can be placed here. in st33zp24_spi_init()
622 return snprintf(buf, size, "1.2 TPM (%s, chip type %s device-id 0x%x)", in st33zp24_spi_get_desc()
646 debug("ST33ZP24 SPI TPM from STMicroelectronics found\n"); in st33zp24_spi_probe()