Lines Matching refs:TPMBackend
24 OBJECT_DECLARE_TYPE(TPMBackend, TPMBackendClass,
37 struct TPMBackend { struct
49 QLIST_ENTRY(TPMBackend) list; argument
60 TPMBackend *(*create)(QemuOpts *opts);
63 int (*startup_tpm)(TPMBackend *t, size_t buffersize);
66 void (*reset)(TPMBackend *t);
68 void (*cancel_cmd)(TPMBackend *t);
71 bool (*get_tpm_established_flag)(TPMBackend *t);
74 int (*reset_tpm_established_flag)(TPMBackend *t, uint8_t locty);
76 TPMVersion (*get_tpm_version)(TPMBackend *t);
78 size_t (*get_buffer_size)(TPMBackend *t);
80 TpmTypeOptions *(*get_tpm_options)(TPMBackend *t);
82 void (*handle_request)(TPMBackend *s, TPMBackendCmd *cmd, Error **errp);
91 enum TpmType tpm_backend_get_type(TPMBackend *s);
104 int tpm_backend_init(TPMBackend *s, TPMIf *tpmif, Error **errp);
114 int tpm_backend_startup_tpm(TPMBackend *s, size_t buffersize);
124 bool tpm_backend_had_startup_error(TPMBackend *s);
134 void tpm_backend_deliver_request(TPMBackend *s, TPMBackendCmd *cmd);
143 void tpm_backend_reset(TPMBackend *s);
152 void tpm_backend_cancel_cmd(TPMBackend *s);
162 bool tpm_backend_get_tpm_established_flag(TPMBackend *s);
171 int tpm_backend_reset_tpm_established_flag(TPMBackend *s, uint8_t locty);
181 TPMVersion tpm_backend_get_tpm_version(TPMBackend *s);
191 size_t tpm_backend_get_buffer_size(TPMBackend *s);
200 void tpm_backend_finish_sync(TPMBackend *s);
210 TPMInfo *tpm_backend_query_tpm(TPMBackend *s);
212 TPMBackend *qemu_find_tpm_be(const char *id);