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
199 * tpm_default_chip() - find a TPM chip and get a reference to it
226 * tpm_find_get_ops() - find and reserve a TPM chip
229 * Finds a TPM chip and reserves its class device and operations. The chip must
231 * This function is for internal use only. It supports existing TPM callers
263 * @dev: the character device for the TPM chip
282 * tpm_class_shutdown() - prepare the TPM device for loss of power.
286 * TPM 2.0 spec. Then, calls bus- and device- specific shutdown code.
336 dev_err(pdev, "No available tpm device numbers\n"); in tpm_chip_alloc()
354 rc = dev_set_name(&chip->dev, "tpm%d", chip->dev_num); in tpm_chip_alloc()
488 * parent dev directory to selected names within the tpm chip directory. Old
505 /* All the names from tpm-sysfs */ in tpm_add_legacy_sysfs()
522 /* Give back zero bytes, as TPM chip has not yet fully resumed: */ in tpm_hwrng_read()
546 "tpm-rng-%d", chip->dev_num); in tpm_add_hwrng()
570 * tpm_chip_bootstrap() - Boostrap TPM chip after power on
571 * @chip: TPM chip to use.
573 * Initialize TPM chip after power on. This a one-shot function: subsequent
606 * tpm_chip_register() - create a character device for the TPM chip
607 * @chip: TPM chip to use.
609 * Creates a character device for the TPM chip and adds sysfs attributes for
610 * the device. As the last step this function adds the chip to the list of TPM
657 * tpm_chip_unregister() - release the TPM driver
658 * @chip: TPM chip to use.
660 * Takes the chip first away from the list of available TPM chips and then