Home
last modified time | relevance | path

Searched refs:tpm_space (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/char/tpm/
Dtpm2-space.c35 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions()
46 int tpm2_init_space(struct tpm_space *space) in tpm2_init_space()
61 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space) in tpm2_del_space()
167 struct tpm_space *space = &chip->work_space; in tpm2_flush_space()
180 struct tpm_space *space = &chip->work_space; in tpm2_load_space()
226 static bool tpm2_map_to_phandle(struct tpm_space *space, void *handle) in tpm2_map_to_phandle()
243 struct tpm_space *space = &chip->work_space; in tpm2_map_command()
267 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u32 cc, in tpm2_prepare_space()
299 struct tpm_space *space = &chip->work_space; in tpm2_add_session()
313 static u32 tpm2_map_to_vhandle(struct tpm_space *space, u32 phandle, bool alloc) in tpm2_map_to_vhandle()
[all …]
Dtpm.h186 struct tpm_space { struct
257 struct tpm_space work_space;
528 ssize_t tpm_transmit(struct tpm_chip *chip, struct tpm_space *space,
530 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_space *space,
598 int tpm2_init_space(struct tpm_space *space);
599 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space);
600 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u32 cc,
602 int tpm2_commit_space(struct tpm_chip *chip, struct tpm_space *space,
Dtpm-dev.h25 size_t size, loff_t *off, struct tpm_space *space);
Dtpmrm-dev.c11 struct tpm_space space;
Dtpm-dev-common.c82 size_t size, loff_t *off, struct tpm_space *space) in tpm_common_write()
Dtpm-interface.c331 struct tpm_space *space, in tpm_validate_command()
430 struct tpm_space *space, in tpm_try_transmit()
586 ssize_t tpm_transmit(struct tpm_chip *chip, struct tpm_space *space, in tpm_transmit()
652 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_space *space, in tpm_transmit_cmd()