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
207 * tpm_default_chip() - find a TPM chip and get a reference to it
234 * tpm_find_get_ops() - find and reserve a TPM chip
237 * Finds a TPM chip and reserves its class device and operations. The chip must
239 * This function is for internal use only. It supports existing TPM callers
271 * @dev: the character device for the TPM chip
293 * tpm_class_shutdown() - prepare the TPM device for loss of power.
297 * TPM 2.0 spec. Then, calls bus- and device- specific shutdown code.
348 dev_err(pdev, "No available tpm device numbers\n"); in tpm_chip_alloc()
366 rc = dev_set_name(&chip->dev, "tpm%d", chip->dev_num); in tpm_chip_alloc()
500 * parent dev directory to selected names within the tpm chip directory. Old
517 /* All the names from tpm-sysfs */ in tpm_add_legacy_sysfs()
554 "tpm-rng-%d", chip->dev_num); in tpm_add_hwrng()
578 * tpm_chip_bootstrap() - Boostrap TPM chip after power on
579 * @chip: TPM chip to use.
581 * Initialize TPM chip after power on. This a one-shot function: subsequent
614 * tpm_chip_register() - create a character device for the TPM chip
615 * @chip: TPM chip to use.
617 * Creates a character device for the TPM chip and adds sysfs attributes for
618 * the device. As the last step this function adds the chip to the list of TPM
665 * tpm_chip_unregister() - release the TPM driver
666 * @chip: TPM chip to use.
668 * Takes the chip first away from the list of available TPM chips and then