Lines Matching full:tpm
15 * TPM chip management routines.
26 #include "tpm.h"
32 .name = "tpm",
98 * tpm_chip_start() - power on the TPM
99 * @chip: a TPM chip to use
131 * tpm_chip_stop() - power off the TPM
132 * @chip: a TPM chip to use
202 * tpm_default_chip() - find a TPM chip and get a reference to it
229 * tpm_find_get_ops() - find and reserve a TPM chip
232 * Finds a TPM chip and reserves its class device and operations. The chip must
234 * This function is for internal use only. It supports existing TPM callers
266 * @dev: the character device for the TPM chip
288 * tpm_class_shutdown() - prepare the TPM device for loss of power.
292 * TPM 2.0 spec. Then, calls bus- and device- specific shutdown code.
342 dev_err(pdev, "No available tpm device numbers\n"); in tpm_chip_alloc()
360 rc = dev_set_name(&chip->dev, "tpm%d", chip->dev_num); in tpm_chip_alloc()
494 * parent dev directory to selected names within the tpm chip directory. Old
511 /* All the names from tpm-sysfs */ in tpm_add_legacy_sysfs()
548 "tpm-rng-%d", chip->dev_num); in tpm_add_hwrng()
572 * tpm_chip_bootstrap() - Boostrap TPM chip after power on
573 * @chip: TPM chip to use.
575 * Initialize TPM chip after power on. This a one-shot function: subsequent
608 * tpm_chip_register() - create a character device for the TPM chip
609 * @chip: TPM chip to use.
611 * Creates a character device for the TPM chip and adds sysfs attributes for
612 * the device. As the last step this function adds the chip to the list of TPM
659 * tpm_chip_unregister() - release the TPM driver
660 * @chip: TPM chip to use.
662 * Takes the chip first away from the list of available TPM chips and then