Home
last modified time | relevance | path

Searched refs:TPM_CHIP_FLAG_TPM2 (Results 1 – 17 of 17) sorted by relevance

/linux-6.15/drivers/char/tpm/
H A Dtpm-interface.c54 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_calc_ordinal_duration()
269 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_get_timeouts()
293 rc = (chip->flags & TPM_CHIP_FLAG_TPM2) != 0; in tpm_is_tpm2()
318 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_pcr_read()
356 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pcr_extend()
377 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_auto_startup()
411 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pm_suspend()
472 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_get_random()
H A Dtpm-chip.c306 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_class_shutdown()
438 if (chip->flags & TPM_CHIP_FLAG_TPM2 && !tpm_is_firmware_upgrade(chip)) { in tpm_add_char_device()
474 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_del_char_device()
489 if (chip->flags & (TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_VIRTUAL) || in tpm_del_legacy_sysfs()
508 if (chip->flags & (TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_VIRTUAL) || in tpm_add_legacy_sysfs()
567 rc = (chip->flags & TPM_CHIP_FLAG_TPM2) ? in tpm_get_pcr_allocation()
693 if (chip->flags & TPM_CHIP_FLAG_TPM2 && !tpm_is_firmware_upgrade(chip)) in tpm_chip_unregister()
H A Dtpm_vtpm_proxy.c305 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()
H A Dtpm_tis_core.c296 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()
H A Dtpm-sysfs.c307 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()
H A Dtpm-dev-common.c30 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_dev_transmit()
H A Dtpm_ftpm_tee.c254 pvt_data->chip->flags |= TPM_CHIP_FLAG_TPM2; in ftpm_tee_probe()
H A Dtpm_ibmvtpm.c692 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm_ibmvtpm_probe()
H A Dtpm_tis_i2c_cr50.c735 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm_cr50_i2c_probe()
H A Dtpm_i2c_nuvoton.c550 chip->flags |= TPM_CHIP_FLAG_TPM2; in i2c_nuvoton_probe()
H A Dtpm2-cmd.c536 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm2_probe()
H A Dtpm_crb.c869 chip->flags = TPM_CHIP_FLAG_TPM2; in crb_acpi_add()
/linux-6.15/drivers/char/tpm/eventlog/
H A Dof.c47 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()
H A Dacpi.c92 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()
H A Defi.c29 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) in tpm_read_log_efi()
H A Dcommon.c147 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) { in tpm_bios_log_setup()
/linux-6.15/include/linux/
H A Dtpm.h343 TPM_CHIP_FLAG_TPM2 = BIT(1), enumerator