Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/
A Dtpm-interface.c54 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_calc_ordinal_duration()
244 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_get_timeouts()
268 rc = (chip->flags & TPM_CHIP_FLAG_TPM2) != 0; in tpm_is_tpm2()
293 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_pcr_read()
331 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_pcr_extend()
377 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_auto_startup()
405 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_pm_suspend()
452 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_get_random()
A Dtpm-chip.c299 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_class_shutdown()
363 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_chip_alloc()
447 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_add_char_device()
477 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_del_char_device()
491 if (chip->flags & (TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_VIRTUAL)) in tpm_del_legacy_sysfs()
509 if (chip->flags & (TPM_CHIP_FLAG_TPM2 | TPM_CHIP_FLAG_VIRTUAL)) in tpm_add_legacy_sysfs()
553 rc = (chip->flags & TPM_CHIP_FLAG_TPM2) ? in tpm_get_pcr_allocation()
643 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_chip_unregister()
A Dtpm_vtpm_proxy.c306 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in vtpm_proxy_is_driver_command()
402 if (chip->flags & TPM_CHIP_FLAG_TPM2) in vtpm_proxy_request_locality()
568 proxy_dev->chip->flags |= TPM_CHIP_FLAG_TPM2; in vtpm_proxy_create_device()
A Dtpm_tis_core.c240 if (chip->flags & TPM_CHIP_FLAG_TPM2) in get_burstcount()
728 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_tis_gen_interrupt()
960 !(chip->flags & TPM_CHIP_FLAG_TPM2)) { in tpm_tis_core_init()
1012 (chip->flags & TPM_CHIP_FLAG_TPM2) ? "2.0" : "1.2", in tpm_tis_core_init()
1153 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) { in tpm_tis_resume()
A Dtpm-sysfs.c307 return sprintf(buf, "%s\n", chip->flags & TPM_CHIP_FLAG_TPM2 in tpm_version_major_show()
483 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_sysfs_add_device()
A Dtpm_ibmvtpm.c690 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm_ibmvtpm_probe()
696 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_ibmvtpm_probe()
A Dtpm_i2c_nuvoton.c554 chip->flags |= TPM_CHIP_FLAG_TPM2; in i2c_nuvoton_probe()
557 chip->flags |= TPM_CHIP_FLAG_TPM2; in i2c_nuvoton_probe()
A Dtpm_ftpm_tee.c275 pvt_data->chip->flags |= TPM_CHIP_FLAG_TPM2; in ftpm_tee_probe()
A Dtpm_tis_i2c_cr50.c688 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm_cr50_i2c_probe()
A Dtpm2-cmd.c500 chip->flags |= TPM_CHIP_FLAG_TPM2; in tpm2_probe()
A Dtpm_crb.c711 chip->flags = TPM_CHIP_FLAG_TPM2; in crb_acpi_add()
/linux/drivers/char/tpm/eventlog/
A Dacpi.c86 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_read_log_acpi()
146 if (chip->flags & TPM_CHIP_FLAG_TPM2 && in tpm_read_log_acpi()
A Dof.c74 if (chip->flags & TPM_CHIP_FLAG_TPM2) in tpm_read_log_of()
A Defi.c28 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) in tpm_read_log_efi()
A Dcommon.c145 if (!(chip->flags & TPM_CHIP_FLAG_TPM2)) { in tpm_bios_log_setup()
/linux/include/linux/
A Dtpm.h275 TPM_CHIP_FLAG_TPM2 = BIT(1), enumerator

Completed in 22 milliseconds