Home
last modified time | relevance | path

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

/openbmc/qemu/include/sysemu/
H A Dtpm_backend.h24 OBJECT_DECLARE_TYPE(TPMBackend, TPMBackendClass,
37 struct TPMBackend { struct
49 QLIST_ENTRY(TPMBackend) list; argument
60 TPMBackend *(*create)(QemuOpts *opts);
66 void (*reset)(TPMBackend *t);
68 void (*cancel_cmd)(TPMBackend *t);
78 size_t (*get_buffer_size)(TPMBackend *t);
143 void tpm_backend_reset(TPMBackend *s);
152 void tpm_backend_cancel_cmd(TPMBackend *s);
200 void tpm_backend_finish_sync(TPMBackend *s);
[all …]
/openbmc/qemu/backends/tpm/
H A Dtpm_backend.c27 TPMBackend *s = TPM_BACKEND(opaque); in tpm_backend_request_completed()
39 TPMBackend *s = TPM_BACKEND(data); in tpm_backend_worker_thread()
52 void tpm_backend_finish_sync(TPMBackend *s) in tpm_backend_finish_sync()
59 enum TpmType tpm_backend_get_type(TPMBackend *s) in tpm_backend_get_type()
96 bool tpm_backend_had_startup_error(TPMBackend *s) in tpm_backend_had_startup_error()
114 void tpm_backend_reset(TPMBackend *s) in tpm_backend_reset()
127 void tpm_backend_cancel_cmd(TPMBackend *s) in tpm_backend_cancel_cmd()
157 size_t tpm_backend_get_buffer_size(TPMBackend *s) in tpm_backend_get_buffer_size()
164 TPMInfo *tpm_backend_query_tpm(TPMBackend *s) in tpm_backend_query_tpm()
179 TPMBackend *s = TPM_BACKEND(obj); in tpm_backend_instance_finalize()
[all …]
H A Dtpm_passthrough.c42 TPMBackend parent;
60 static void tpm_passthrough_cancel_cmd(TPMBackend *tb);
139 static void tpm_passthrough_reset(TPMBackend *tb) in tpm_passthrough_reset()
146 static bool tpm_passthrough_get_tpm_established_flag(TPMBackend *tb) in tpm_passthrough_get_tpm_established_flag()
151 static int tpm_passthrough_reset_tpm_established_flag(TPMBackend *tb, in tpm_passthrough_reset_tpm_established_flag()
158 static void tpm_passthrough_cancel_cmd(TPMBackend *tb) in tpm_passthrough_cancel_cmd()
184 static TPMVersion tpm_passthrough_get_tpm_version(TPMBackend *tb) in tpm_passthrough_get_tpm_version()
191 static size_t tpm_passthrough_get_buffer_size(TPMBackend *tb) in tpm_passthrough_get_buffer_size()
291 static TPMBackend *tpm_passthrough_create(QemuOpts *opts) in tpm_passthrough_create()
303 static int tpm_passthrough_startup_tpm(TPMBackend *tb, size_t buffersize) in tpm_passthrough_startup_tpm()
[all …]
H A Dtpm_emulator.c69 TPMBackend parent;
288 static int tpm_emulator_stop_tpm(TPMBackend *tb) in tpm_emulator_stop_tpm()
338 static int tpm_emulator_set_buffer_size(TPMBackend *tb, in tpm_emulator_set_buffer_size()
488 static void tpm_emulator_cancel_cmd(TPMBackend *tb) in tpm_emulator_cancel_cmd()
509 static TPMVersion tpm_emulator_get_tpm_version(TPMBackend *tb) in tpm_emulator_get_tpm_version()
516 static size_t tpm_emulator_get_buffer_size(TPMBackend *tb) in tpm_emulator_get_buffer_size()
648 static TPMBackend *tpm_emulator_create(QemuOpts *opts) in tpm_emulator_create()
852 static int tpm_emulator_set_state_blobs(TPMBackend *tb) in tpm_emulator_set_state_blobs()
883 TPMBackend *tb = opaque; in tpm_emulator_pre_save()
902 TPMBackend *tb = opaque; in tpm_emulator_vm_state_change()
[all …]
H A Dtpm_util.c38 TPMBackend **be = object_field_prop_ptr(obj, opaque); in get_tpm()
50 TPMBackend *s, **be = object_field_prop_ptr(obj, prop); in set_tpm()
70 TPMBackend **be = object_field_prop_ptr(obj, prop); in release_tpm()
/openbmc/qemu/system/
H A Dtpm.c25 static QLIST_HEAD(, TPMBackend) tpm_backends =
72 TPMBackend *qemu_find_tpm_be(const char *id) in qemu_find_tpm_be()
74 TPMBackend *drv; in qemu_find_tpm_be()
98 TPMBackend *drv; in tpm_init_tpmdev()
152 TPMBackend *drv, *next; in tpm_cleanup()
198 TPMBackend *drv; in qmp_query_tpm()
/openbmc/qemu/hw/tpm/
H A Dtpm_prop.h31 DEFINE_PROP(_n, _s, _f, qdev_prop_tpm, TPMBackend *)
H A Dtpm_tis.h73 TPMBackend *be_driver;
H A Dtpm_crb.c38 TPMBackend *tpmbe;
H A Dtpm_spapr.c85 TPMBackend *be_driver;
/openbmc/qemu/hw/arm/
H A Dxen_arm.c162 TPMBackend *be = qemu_find_tpm_be("tpm0"); in xen_enable_tpm()