Searched refs:TPM_CHIP_FLAG_TPM2 (Results 1 – 16 of 16) sorted by relevance
54 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_calc_ordinal_duration()245 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_get_timeouts()269 rc = (chip->flags & TPM_CHIP_FLAG_TPM2) != 0; in tpm_is_tpm2()294 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_pcr_read()332 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pcr_extend()353 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_auto_startup()387 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pm_suspend()454 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_get_random()
301 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_class_shutdown()432 if (chip->flags & TPM_CHIP_FLAG_TPM2 && !tpm_is_firmware_upgrade(chip)) { in tpm_add_char_device()468 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_del_char_device()483 if (chip->flags & (TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_VIRTUAL) || in tpm_del_legacy_sysfs()502 if (chip->flags & (TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_VIRTUAL) || in tpm_add_legacy_sysfs()561 rc = (chip->flags & TPM_CHIP_FLAG_TPM2) ? in tpm_get_pcr_allocation()687 if (chip->flags & TPM_CHIP_FLAG_TPM2 && !tpm_is_firmware_upgrade(chip)) in tpm_chip_unregister()
305 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in vtpm_proxy_is_driver_command()401 if (chip->flags & TPM_CHIP_FLAG_TPM2) in vtpm_proxy_request_locality()567 proxy_dev->chip->flags |= TPM_CHIP_FLAG_TPM2; in vtpm_proxy_create_device()
307 return sprintf(buf, "%s\n", chip->flags & TPM_CHIP_FLAG_TPM2 in tpm_version_major_show()504 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_sysfs_add_device()
30 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_dev_transmit()
274 pvt_data->chip->flags |= TPM_CHIP_FLAG_TPM2; in ftpm_tee_probe()
692 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm_ibmvtpm_probe()
550 chip->flags |= TPM_CHIP_FLAG_TPM2; in i2c_nuvoton_probe()
735 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm_cr50_i2c_probe()
537 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm2_probe()
802 chip->flags = TPM_CHIP_FLAG_TPM2; in crb_acpi_add()
47 return chip->flags & TPM_CHIP_FLAG_TPM2 ? EFI_TCG2_EVENT_LOG_FORMAT_TCG_2 : in tpm_read_log_memory_region()105 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_read_log_of()
87 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_read_log_acpi()157 if (chip->flags & TPM_CHIP_FLAG_TPM2 && in tpm_read_log_acpi()
29 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) in tpm_read_log_efi()
147 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) { in tpm_bios_log_setup()
341 TPM_CHIP_FLAG_TPM2 = BIT(1), enumerator