Searched refs:tpm_fd (Results 1 – 1 of 1) sorted by relevance
42 static int tpm_fd = -1; variable86 } else if (tpm_fd < 0) { in TpmExecute()91 int n = write(tpm_fd, in, in_len); in TpmExecute()96 n = read(tpm_fd, response, sizeof(response)); in TpmExecute()145 if (tpm_fd != -1) { in VbExTpmClose()146 close(tpm_fd); in VbExTpmClose()147 tpm_fd = -1; in VbExTpmClose()158 if (tpm_fd >= 0) in VbExTpmOpen()169 tpm_fd = open(device_path, O_RDWR); in VbExTpmOpen()171 if (tpm_fd >= 0) in VbExTpmOpen()