Searched refs:tpm_proxy (Results 1 – 3 of 3) sorted by relevance
30 SpaprTpmProxy *tpm_proxy = SPAPR_TPM_PROXY(opaque); in spapr_tpm_proxy_reset() local32 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()38 static ssize_t tpm_execute(SpaprTpmProxy *tpm_proxy, target_ulong *args) in tpm_execute() argument62 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()66 tpm_proxy->host_path, errno); in tpm_execute()74 ret = write(tpm_proxy->host_fd, buf_in, data_in_size); in tpm_execute()[all …]
4162 if (spapr->tpm_proxy != NULL) { in spapr_tpm_proxy_pre_plug()4173 SpaprTpmProxy *tpm_proxy = SPAPR_TPM_PROXY(dev); in spapr_tpm_proxy_plug() local4176 g_assert(spapr->tpm_proxy == NULL); in spapr_tpm_proxy_plug()4178 spapr->tpm_proxy = tpm_proxy; in spapr_tpm_proxy_plug()4187 spapr->tpm_proxy = NULL; in spapr_tpm_proxy_unplug()
275 SpaprTpmProxy *tpm_proxy; member