Lines Matching full:tpm
14 #include "tpm.h"
49 * @ordinal: TPM command ordinal.
120 * @chip: TPM chip to use.
121 * @ordinal: TPM command ordinal.
154 * @chip: TPM chip to use.
229 * @chip: TPM chip to use.
278 * tpm2_get_random() - get random bytes from the TPM RNG
286 * -errno otherwise (positive TPM return codes are masked to -EIO)
345 * @chip: TPM chip to use
384 * -errno or a TPM return code otherwise
411 * tpm2_shutdown() - send a TPM shutdown command
413 * Sends a TPM shutdown command. The shutdown command is used in call
429 tpm_transmit_cmd(chip, &buf, 0, "stopping the TPM"); in tpm2_shutdown()
436 * @chip: TPM chip to use
440 * The TPM can either run all self tests synchronously and then return
472 * tpm2_probe() - probe for the TPM 2.0 protocol
475 * Send an idempotent TPM 2.0 command and see whether there is TPM2 chip in the
496 /* We ignore TPM return codes on purpose. */ in tpm2_probe()
562 rc = tpm_transmit_cmd(chip, &buf, 9, "get tpm pcr allocation"); in tpm2_get_pcr_allocation()
687 * tpm2_startup - turn on the TPM
688 * @chip: TPM chip to use
690 * Normally the firmware should start the TPM. This function is provided as a
692 * example when a TPM emulator is used.
702 dev_info(&chip->dev, "starting up the TPM manually\n"); in tpm2_startup()
709 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to start the TPM"); in tpm2_startup()
716 * tpm2_auto_startup - Perform the standard automatic TPM initialization
718 * @chip: TPM chip to use