Lines Matching refs:tpm_chip
31 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space)
59 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space)
71 int tpm2_load_context(struct tpm_chip *chip, u8 *buf,
125 int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf,
167 void tpm2_flush_space(struct tpm_chip *chip)
179 static int tpm2_load_space(struct tpm_chip *chip)
242 static int tpm2_map_command(struct tpm_chip *chip, u32 cc, u8 *cmd)
268 static int tpm_find_and_validate_cc(struct tpm_chip *chip,
303 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u8 *cmd,
341 static bool tpm2_add_session(struct tpm_chip *chip, u32 handle)
377 static int tpm2_map_response_header(struct tpm_chip *chip, u32 cc, u8 *rsp,
437 static int tpm2_map_response_body(struct tpm_chip *chip, u32 cc, u8 *rsp,
494 static int tpm2_save_space(struct tpm_chip *chip)
537 int tpm2_commit_space(struct tpm_chip *chip, struct tpm_space *space,
586 struct tpm_chip *chip = container_of(dev, struct tpm_chip, devs);
596 void tpm_devs_remove(struct tpm_chip *chip)
606 int tpm_devs_add(struct tpm_chip *chip)