Home
last modified time | relevance | path

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

/openbmc/qemu/backends/tpm/
H A Dtpm_passthrough.c76 static void tpm_passthrough_unix_tx_bufs(TPMPassthruState *tpm_pt, in tpm_passthrough_unix_tx_bufs() argument
85 tpm_pt->tpm_op_canceled = false; in tpm_passthrough_unix_tx_bufs()
86 tpm_pt->tpm_executing = true; in tpm_passthrough_unix_tx_bufs()
91 ret = qemu_write_full(tpm_pt->tpm_fd, in, in_len); in tpm_passthrough_unix_tx_bufs()
93 if (!tpm_pt->tpm_op_canceled || errno != ECANCELED) { in tpm_passthrough_unix_tx_bufs()
100 tpm_pt->tpm_executing = false; in tpm_passthrough_unix_tx_bufs()
102 ret = tpm_passthrough_unix_read(tpm_pt->tpm_fd, out, out_len); in tpm_passthrough_unix_tx_bufs()
104 if (!tpm_pt->tpm_op_canceled || errno != ECANCELED) { in tpm_passthrough_unix_tx_bufs()
124 tpm_pt->tpm_executing = false; in tpm_passthrough_unix_tx_bufs()
130 TPMPassthruState *tpm_pt = TPM_PASSTHROUGH(tb); in tpm_passthrough_handle_request() local
[all …]