Home
last modified time | relevance | path

Searched refs:context_tbl (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/char/tpm/
H A Dtpm2-space.c172 for (i = 0; i < ARRAY_SIZE(space->context_tbl); i++) in tpm2_flush_space()
173 if (space->context_tbl[i] && ~space->context_tbl[i]) in tpm2_flush_space()
174 tpm2_flush_context(chip, space->context_tbl[i]); in tpm2_flush_space()
186 for (i = 0, offset = 0; i < ARRAY_SIZE(space->context_tbl); i++) { in tpm2_load_space()
187 if (!space->context_tbl[i]) in tpm2_load_space()
191 if (~space->context_tbl[i]) { in tpm2_load_space()
197 &space->context_tbl[i]); in tpm2_load_space()
234 if (i >= ARRAY_SIZE(space->context_tbl) || !space->context_tbl[i]) in tpm2_map_to_phandle()
237 phandle = space->context_tbl[i]; in tpm2_map_to_phandle()
316 memcpy(&chip->work_space.context_tbl, &space->context_tbl, in tpm2_prepare_space()
[all …]
/openbmc/linux/include/linux/
H A Dtpm.h102 u32 context_tbl[3]; member