Lines Matching refs:tpm_chip
52 unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal)
61 static ssize_t tpm_try_transmit(struct tpm_chip *chip, void *buf, size_t bufsiz)
153 ssize_t tpm_transmit(struct tpm_chip *chip, u8 *buf, size_t bufsiz)
213 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf,
240 int tpm_get_timeouts(struct tpm_chip *chip)
254 * @chip: a &struct tpm_chip instance, %NULL for the default chip
261 int tpm_is_tpm2(struct tpm_chip *chip)
279 * @chip: a &struct tpm_chip instance, %NULL for the default chip
285 int tpm_pcr_read(struct tpm_chip *chip, u32 pcr_idx,
306 * @chip: a &struct tpm_chip instance, %NULL for the default chip
315 int tpm_pcr_extend(struct tpm_chip *chip, u32 pcr_idx,
346 int tpm_auto_startup(struct tpm_chip *chip)
367 struct tpm_chip *chip = dev_get_drvdata(dev);
405 struct tpm_chip *chip = dev_get_drvdata(dev);
424 * @chip: a &struct tpm_chip instance, %NULL for the default chip
430 int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max)