Lines Matching refs:work_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()
243 struct tpm_space *space = &chip->work_space; in tpm2_map_command()
275 memcpy(&chip->work_space.context_tbl, &space->context_tbl, in tpm2_prepare_space()
277 memcpy(&chip->work_space.session_tbl, &space->session_tbl, in tpm2_prepare_space()
279 memcpy(chip->work_space.context_buf, space->context_buf, PAGE_SIZE); in tpm2_prepare_space()
280 memcpy(chip->work_space.session_buf, space->session_buf, PAGE_SIZE); in tpm2_prepare_space()
299 struct tpm_space *space = &chip->work_space; in tpm2_add_session()
336 struct tpm_space *space = &chip->work_space; in tpm2_map_response_header()
396 struct tpm_space *space = &chip->work_space; in tpm2_map_response_body()
449 struct tpm_space *space = &chip->work_space; in tpm2_save_space()
521 memcpy(&space->context_tbl, &chip->work_space.context_tbl, in tpm2_commit_space()
523 memcpy(&space->session_tbl, &chip->work_space.session_tbl, in tpm2_commit_space()
525 memcpy(space->context_buf, chip->work_space.context_buf, PAGE_SIZE); in tpm2_commit_space()
526 memcpy(space->session_buf, chip->work_space.session_buf, PAGE_SIZE); in tpm2_commit_space()