Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/char/tpm/
Dtpm2-space.c173 for (i = 0; i < ARRAY_SIZE(space->context_tbl); i++) in tpm2_flush_space()
174 if (space->context_tbl[i] && ~space->context_tbl[i]) in tpm2_flush_space()
175 tpm2_flush_context_cmd(chip, space->context_tbl[i], in tpm2_flush_space()
188 for (i = 0, offset = 0; i < ARRAY_SIZE(space->context_tbl); i++) { in tpm2_load_space()
189 if (!space->context_tbl[i]) in tpm2_load_space()
193 if (~space->context_tbl[i]) { in tpm2_load_space()
199 &space->context_tbl[i]); in tpm2_load_space()
236 if (i >= ARRAY_SIZE(space->context_tbl) || !space->context_tbl[i]) in tpm2_map_to_phandle()
239 phandle = space->context_tbl[i]; in tpm2_map_to_phandle()
278 memcpy(&chip->work_space.context_tbl, &space->context_tbl, in tpm2_prepare_space()
[all …]
Dtpm.h187 u32 context_tbl[3]; member