Lines Matching full:tpm
15 * TPM chip management routines.
26 #include "tpm.h"
93 * tpm_chip_start() - power on the TPM
94 * @chip: a TPM chip to use
126 * tpm_chip_stop() - power off the TPM
127 * @chip: a TPM chip to use
194 * tpm_default_chip() - find a TPM chip and get a reference to it
221 * tpm_find_get_ops() - find and reserve a TPM chip
224 * Finds a TPM chip and reserves its class device and operations. The chip must
226 * This function is for internal use only. It supports existing TPM callers
258 * @dev: the character device for the TPM chip
286 * tpm_class_shutdown() - prepare the TPM device for loss of power.
290 * TPM 2.0 spec. Then, calls bus- and device- specific shutdown code.
340 dev_err(pdev, "No available tpm device numbers\n"); in tpm_chip_alloc()
374 rc = dev_set_name(&chip->dev, "tpm%d", chip->dev_num); in tpm_chip_alloc()
501 * parent dev directory to selected names within the tpm chip directory. Old
517 /* All the names from tpm-sysfs */ in tpm_add_legacy_sysfs()
543 "tpm-rng-%d", chip->dev_num); in tpm_add_hwrng()
564 * tpm_chip_register() - create a character device for the TPM chip
565 * @chip: TPM chip to use.
567 * Creates a character device for the TPM chip and adds sysfs attributes for
568 * the device. As the last step this function adds the chip to the list of TPM
625 * tpm_chip_unregister() - release the TPM driver
626 * @chip: TPM chip to use.
628 * Takes the chip first away from the list of available TPM chips and then