Home
last modified time | relevance | path

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

/qemu/hw/ppc/
H A Dspapr_tpm_proxy.c32 if (tpm_proxy->host_fd != -1) { in spapr_tpm_proxy_reset()
33 close(tpm_proxy->host_fd); in spapr_tpm_proxy_reset()
34 tpm_proxy->host_fd = -1; in spapr_tpm_proxy_reset()
62 if (tpm_proxy->host_fd == -1) { in tpm_execute()
63 tpm_proxy->host_fd = open(tpm_proxy->host_path, O_RDWR); in tpm_execute()
64 if (tpm_proxy->host_fd == -1) { in tpm_execute()
108 SpaprTpmProxy *tpm_proxy = spapr->tpm_proxy; in h_tpm_comm() local
110 if (!tpm_proxy) { in h_tpm_comm()
121 spapr_tpm_proxy_reset(tpm_proxy); in h_tpm_comm()
132 if (tpm_proxy->host_path == NULL) { in spapr_tpm_proxy_realize()
[all …]
H A Dspapr.c4265 if (spapr->tpm_proxy != NULL) { in spapr_tpm_proxy_pre_plug()
4276 SpaprTpmProxy *tpm_proxy = SPAPR_TPM_PROXY(dev); in spapr_tpm_proxy_plug() local
4279 g_assert(spapr->tpm_proxy == NULL); in spapr_tpm_proxy_plug()
4281 spapr->tpm_proxy = tpm_proxy; in spapr_tpm_proxy_plug()
4290 spapr->tpm_proxy = NULL; in spapr_tpm_proxy_unplug()
/qemu/include/hw/ppc/
H A Dspapr.h278 SpaprTpmProxy *tpm_proxy; member