Lines Matching full:tpm
14 * Device driver for TCG/TCPA TPM (trusted platform module).
17 * Note, the TPM chip is not interrupt driven (only polling)
30 #include "tpm.h"
33 * Bug workaround - some TPM's don't flush the most
44 * @chip: TPM chip to use.
45 * @ordinal: TPM command ordinal.
188 * tpm_transmit - Internal kernel interface to transmit TPM commands.
189 * @chip: a TPM chip to use
190 * @buf: a TPM command buffer
191 * @bufsiz: length of the TPM command buffer
194 * the TPM and retransmits the command after a delay up to a maximum wait of
197 * Note that TPM 1.x never returns TPM2_RC_RETRY so the retry logic is TPM 2.0
253 * tpm_transmit_cmd - send a tpm command to the device
254 * @chip: a TPM chip to use
255 * @buf: a TPM command buffer
262 * * TPM_RC - A TPM error
278 dev_err(&chip->dev, "A TPM error (%d) occurred %s\n", err, in tpm_transmit_cmd()
413 * We are about to suspend. Save the TPM state
459 * the TPM state.
481 * tpm_get_random() - get random bytes from the TPM's RNG
515 pr_err("couldn't create tpm class\n"); in tpm_init()
525 rc = alloc_chrdev_region(&tpm_devt, 0, 2*TPM_NUM_DEVICES, "tpm"); in tpm_init()
527 pr_err("tpm: failed to allocate char dev region\n"); in tpm_init()
533 pr_err("tpm: failed to allocate char dev region\n"); in tpm_init()
562 MODULE_DESCRIPTION("TPM Driver");