Lines Matching defs:chip
35 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions()
64 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space) in tpm2_del_space()
73 static int tpm2_load_context(struct tpm_chip *chip, u8 *buf, in tpm2_load_context()
125 static int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf, in tpm2_save_context()
168 static void tpm2_flush_space(struct tpm_chip *chip) in tpm2_flush_space()
181 static int tpm2_load_space(struct tpm_chip *chip) in tpm2_load_space()
244 static int tpm2_map_command(struct tpm_chip *chip, u32 cc, u8 *cmd) in tpm2_map_command()
270 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u32 cc, in tpm2_prepare_space()
302 static bool tpm2_add_session(struct tpm_chip *chip, u32 handle) in tpm2_add_session()
338 static int tpm2_map_response_header(struct tpm_chip *chip, u32 cc, u8 *rsp, in tpm2_map_response_header()
398 static int tpm2_map_response_body(struct tpm_chip *chip, u32 cc, u8 *rsp, in tpm2_map_response_body()
455 static int tpm2_save_space(struct tpm_chip *chip) in tpm2_save_space()
499 int tpm2_commit_space(struct tpm_chip *chip, struct tpm_space *space, in tpm2_commit_space()
545 struct tpm_chip *chip = container_of(dev, struct tpm_chip, devs); in tpm_devs_release() local
555 void tpm_devs_remove(struct tpm_chip *chip) in tpm_devs_remove()
565 int tpm_devs_add(struct tpm_chip *chip) in tpm_devs_add()