Lines Matching full:cancel
164 * As of Linux 3.7 the tpm_tis driver does not properly cancel in tpm_passthrough_cancel_cmd()
166 * Only cancel if we're busy so we don't cancel someone else's in tpm_passthrough_cancel_cmd()
178 error_report("Cannot cancel TPM command due to missing " in tpm_passthrough_cancel_cmd()
179 "TPM sysfs cancel entry"); in tpm_passthrough_cancel_cmd()
206 * determine the sysfs cancel file following kernel documentation
208 * From /dev/tpm0 create /sys/class/tpm/tpm0/device/cancel
209 * before 4.0: /sys/class/misc/tpm0/device/cancel
220 error_report("tpm_passthrough: Could not open TPM cancel path: %s", in tpm_passthrough_open_sysfs_cancel()
234 if (snprintf(path, sizeof(path), "/sys/class/tpm/%s/device/cancel", in tpm_passthrough_open_sysfs_cancel()
238 if (snprintf(path, sizeof(path), "/sys/class/misc/%s/device/cancel", in tpm_passthrough_open_sysfs_cancel()
246 error_report("tpm_passthrough: Could not guess TPM cancel path"); in tpm_passthrough_open_sysfs_cancel()
259 value = qemu_opt_get(opts, "cancel-path"); in tpm_passthrough_handle_device_opts()
331 .name = "cancel-path",