Lines Matching refs:tpm_chip

31 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space)  in tpm2_flush_sessions()
59 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space) in tpm2_del_space()
71 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()
164 void tpm2_flush_space(struct tpm_chip *chip) in tpm2_flush_space()
176 static int tpm2_load_space(struct tpm_chip *chip) in tpm2_load_space()
239 static int tpm2_map_command(struct tpm_chip *chip, u32 cc, u8 *cmd) in tpm2_map_command()
265 static int tpm_find_and_validate_cc(struct tpm_chip *chip, in tpm_find_and_validate_cc()
300 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u8 *cmd, in tpm2_prepare_space()
338 static bool tpm2_add_session(struct tpm_chip *chip, u32 handle) in tpm2_add_session()
374 static int tpm2_map_response_header(struct tpm_chip *chip, u32 cc, u8 *rsp, in tpm2_map_response_header()
434 static int tpm2_map_response_body(struct tpm_chip *chip, u32 cc, u8 *rsp, in tpm2_map_response_body()
491 static int tpm2_save_space(struct tpm_chip *chip) in tpm2_save_space()
534 int tpm2_commit_space(struct tpm_chip *chip, struct tpm_space *space, in tpm2_commit_space()
583 struct tpm_chip *chip = container_of(dev, struct tpm_chip, devs); in tpm_devs_release()
593 void tpm_devs_remove(struct tpm_chip *chip) in tpm_devs_remove()
603 int tpm_devs_add(struct tpm_chip *chip) in tpm_devs_add()