Lines Matching refs:tpm_chip
186 int tpm2_pcr_read(struct tpm_chip *chip, int pcr_idx, u8 *res_buf) in tpm2_pcr_read()
236 int tpm2_pcr_extend(struct tpm_chip *chip, int pcr_idx, u32 count, in tpm2_pcr_extend()
300 int tpm2_get_random(struct tpm_chip *chip, u8 *dest, size_t max) in tpm2_get_random()
358 void tpm2_flush_context_cmd(struct tpm_chip *chip, u32 handle, in tpm2_flush_context_cmd()
418 int tpm2_seal_trusted(struct tpm_chip *chip, in tpm2_seal_trusted()
534 static int tpm2_load_cmd(struct tpm_chip *chip, in tpm2_load_cmd()
600 static int tpm2_unseal_cmd(struct tpm_chip *chip, in tpm2_unseal_cmd()
661 int tpm2_unseal_trusted(struct tpm_chip *chip, in tpm2_unseal_trusted()
701 ssize_t tpm2_get_tpm_pt(struct tpm_chip *chip, u32 property_id, u32 *value, in tpm2_get_tpm_pt()
735 void tpm2_shutdown(struct tpm_chip *chip, u16 shutdown_type) in tpm2_shutdown()
757 unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal) in tpm2_calc_ordinal_duration()
788 static int tpm2_do_selftest(struct tpm_chip *chip) in tpm2_do_selftest()
825 int tpm2_probe(struct tpm_chip *chip) in tpm2_probe()
855 static ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip) in tpm2_get_pcr_allocation()
919 static int tpm2_get_cc_attrs_tbl(struct tpm_chip *chip) in tpm2_get_cc_attrs_tbl()
990 int tpm2_auto_startup(struct tpm_chip *chip) in tpm2_auto_startup()
1024 int tpm2_find_cc(struct tpm_chip *chip, u32 cc) in tpm2_find_cc()