Lines Matching refs:tpm_chip
35 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions()
61 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space) in tpm2_del_space()
70 static int tpm2_load_context(struct tpm_chip *chip, u8 *buf, in tpm2_load_context()
122 static int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf, in tpm2_save_context()
165 static void tpm2_flush_space(struct tpm_chip *chip) in tpm2_flush_space()
178 static int tpm2_load_space(struct tpm_chip *chip) in tpm2_load_space()
241 static int tpm2_map_command(struct tpm_chip *chip, u32 cc, u8 *cmd) in tpm2_map_command()
267 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u32 cc, in tpm2_prepare_space()
297 static bool tpm2_add_session(struct tpm_chip *chip, u32 handle) in tpm2_add_session()
333 static int tpm2_map_response_header(struct tpm_chip *chip, u32 cc, u8 *rsp, in tpm2_map_response_header()
393 static int tpm2_map_response_body(struct tpm_chip *chip, u32 cc, u8 *rsp, in tpm2_map_response_body()
447 static int tpm2_save_space(struct tpm_chip *chip) in tpm2_save_space()
492 int tpm2_commit_space(struct tpm_chip *chip, struct tpm_space *space, in tpm2_commit_space()