Home
last modified time | relevance | path

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

/linux-4.19.296/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, unsigned int buf_size) in tpm2_init_space()
64 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space) in tpm2_del_space()
170 struct tpm_space *space = &chip->work_space; in tpm2_flush_space()
183 struct tpm_space *space = &chip->work_space; in tpm2_load_space()
229 static bool tpm2_map_to_phandle(struct tpm_space *space, void *handle) in tpm2_map_to_phandle()
246 struct tpm_space *space = &chip->work_space; in tpm2_map_command()
270 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u32 cc, in tpm2_prepare_space()
304 struct tpm_space *space = &chip->work_space; in tpm2_add_session()
318 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
258 struct tpm_space work_space;
532 ssize_t tpm_transmit(struct tpm_chip *chip, struct tpm_space *space,
534 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_space *space,
602 int tpm2_init_space(struct tpm_space *space, unsigned int buf_size);
603 void tpm2_del_space(struct tpm_chip *chip, struct tpm_space *space);
604 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u32 cc,
606 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()
596 ssize_t tpm_transmit(struct tpm_chip *chip, struct tpm_space *space, in tpm_transmit()
662 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_space *space, in tpm_transmit_cmd()