Home
last modified time | relevance | path

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

/openbmc/qemu/hw/tpm/
H A Dtpm_tis_common.c138 static void tpm_tis_new_active_locality(TPMState *s, uint8_t new_active_locty) in tpm_tis_new_active_locality() argument
140 bool change = (s->active_locty != new_active_locty); in tpm_tis_new_active_locality()
145 is_seize = TPM_TIS_IS_VALID_LOCTY(new_active_locty) && in tpm_tis_new_active_locality()
146 s->loc[new_active_locty].access & TPM_TIS_ACCESS_SEIZE; in tpm_tis_new_active_locality()
162 s->active_locty = new_active_locty; in tpm_tis_new_active_locality()
166 if (TPM_TIS_IS_VALID_LOCTY(new_active_locty)) { in tpm_tis_new_active_locality()
168 s->loc[new_active_locty].access |= TPM_TIS_ACCESS_ACTIVE_LOCALITY; in tpm_tis_new_active_locality()
169 s->loc[new_active_locty].access &= ~(TPM_TIS_ACCESS_REQUEST_USE | in tpm_tis_new_active_locality()