Searched refs:TPM_CHIP_FLAG_TPM2 (Results 1 – 18 of 18) sorted by relevance
54 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_calc_ordinal_duration()296 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_get_timeouts()323 rc = (chip->flags & TPM_CHIP_FLAG_TPM2) != 0; in tpm_is_tpm2()351 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_pcr_read()392 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pcr_extend()413 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_auto_startup()447 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pm_suspend()511 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_get_random()
269 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_class_shutdown()401 if (chip->flags & TPM_CHIP_FLAG_TPM2 && !tpm_is_firmware_upgrade(chip)) { in tpm_add_char_device()437 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_del_char_device()452 if (chip->flags & (TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_VIRTUAL) || in tpm_del_legacy_sysfs()471 if (chip->flags & (TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_VIRTUAL) || in tpm_add_legacy_sysfs()530 rc = (chip->flags & TPM_CHIP_FLAG_TPM2) ? in tpm_get_pcr_allocation()656 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()403 if (chip->flags & TPM_CHIP_FLAG_TPM2) in vtpm_proxy_request_locality()569 proxy_dev->chip->flags |= TPM_CHIP_FLAG_TPM2; in vtpm_proxy_create_device()
92 (chip->flags & TPM_CHIP_FLAG_TPM2) ? "2.0" : "1.2"); in tpm_svsm_probe()
68 chip->flags = TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_IRQ; in tpm_loongson_probe()
295 if (chip->flags & TPM_CHIP_FLAG_TPM2) in get_burstcount()899 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_tis_gen_interrupt()1149 !(chip->flags & TPM_CHIP_FLAG_TPM2)) { in tpm_tis_core_init()1242 (chip->flags & TPM_CHIP_FLAG_TPM2) ? "2.0" : "1.2", in tpm_tis_core_init()1357 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) in tpm_tis_resume()
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()
230 pvt_data->chip->flags |= TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_SYNC; in ftpm_tee_probe_generic()
30 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_dev_transmit()
694 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm_ibmvtpm_probe()
551 chip->flags |= TPM_CHIP_FLAG_TPM2; in i2c_nuvoton_probe()
511 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm2_probe()
882 chip->flags = TPM_CHIP_FLAG_TPM2; in crb_acpi_add()
41 return chip->flags & TPM_CHIP_FLAG_TPM2 ? EFI_TCG2_EVENT_LOG_FORMAT_TCG_2 : in tpm_read_log_memory_region()99 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_read_log_of()
92 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_read_log_acpi()162 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()
144 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) { in tpm_bios_log_setup()
347 TPM_CHIP_FLAG_TPM2 = BIT(1), enumerator