Home
last modified time | relevance | path

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

/qemu/backends/tpm/
H A Dtpm_passthrough.c86 tpm_pt->tpm_executing = true; in tpm_passthrough_unix_tx_bufs()
169 if (tpm_pt->tpm_executing) { in tpm_passthrough_cancel_cmd()
188 return tpm_pt->tpm_version; in tpm_passthrough_get_tpm_version()
196 ret = tpm_util_get_buffer_size(tpm_pt->tpm_fd, tpm_pt->tpm_version, in tpm_passthrough_get_buffer_size()
270 tpm_pt->tpm_fd = qemu_open_old(tpm_pt->tpm_dev, O_RDWR); in tpm_passthrough_handle_device_opts()
271 if (tpm_pt->tpm_fd < 0) { in tpm_passthrough_handle_device_opts()
277 if (tpm_util_test_tpmdev(tpm_pt->tpm_fd, &tpm_pt->tpm_version)) { in tpm_passthrough_handle_device_opts()
283 tpm_pt->cancel_fd = tpm_passthrough_open_sysfs_cancel(tpm_pt); in tpm_passthrough_handle_device_opts()
348 tpm_pt->tpm_fd = -1; in tpm_passthrough_inst_init()
349 tpm_pt->cancel_fd = -1; in tpm_passthrough_inst_init()
[all …]