Lines Matching refs:TPM_CHIP_FLAG_TPM2
347 if (chip->flags & TPM_CHIP_FLAG_TPM2 && chip->nr_commands) { in tpm_validate_command()
503 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_try_transmit()
699 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_startup()
775 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_get_timeouts()
967 rc = (chip->flags & TPM_CHIP_FLAG_TPM2) != 0; in tpm_is_tpm2()
990 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_pcr_read()
1050 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pcr_extend()
1213 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pm_suspend()
1299 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_get_random()
1358 if (!chip || !(chip->flags & TPM_CHIP_FLAG_TPM2)) in tpm_seal_trusted()
1386 if (!chip || !(chip->flags & TPM_CHIP_FLAG_TPM2)) in tpm_unseal_trusted()